Lines Matching defs:texel

240  * partition is represented by a 32-bit value which gives 2 bits per texel
449 int texel)
451 if (texel == 0)
458 return anchor_indices[0][partition_num] == texel;
460 return (anchor_indices[1][partition_num] == texel ||
461 anchor_indices[2][partition_num] == texel);
471 int texel)
475 if (texel == 0)
482 if (texel > anchor_indices[0][partition_num])
486 if (texel > anchor_indices[1][partition_num])
488 if (texel > anchor_indices[2][partition_num])
537 int texel)
599 partition_num, texel);
605 mode->n_secondary_index_bits * texel -
608 /* Calculate the offset to the primary index for this texel */
609 bit_offset += mode->n_index_bits * texel - anchors_before_texel;
611 subset_num = (subsets >> (texel * 2)) & 3;
613 anchor = is_anchor(mode->n_subsets, partition_num, texel);
728 int texel;
729 texel = x + y * 4;
734 texel);
740 mode->n_secondary_index_bits * texel -
743 /* Calculate the offset to the primary index for this texel */
744 bit_offset += mode->n_index_bits * texel - anchors_before_texel;
746 subset_num = (subsets >> (texel * 2)) & 3;
748 anchor = is_anchor(mode->n_subsets, partition_num, texel);
954 int texel,
1003 count_anchors_before_texel(n_subsets, partition_num, texel);
1005 /* Calculate the offset to the primary index for this texel */
1006 bit_offset += mode->n_index_bits * texel - anchors_before_texel;
1008 subset_num = (subsets >> (texel * 2)) & 3;
1011 if (is_anchor(n_subsets, partition_num, texel))
1095 int texel;
1099 texel = x + y * 4;
1102 count_anchors_before_texel(n_subsets, partition_num, texel);
1104 /* Calculate the offset to the primary index for this texel */
1105 bit_offset += mode->n_index_bits * texel - anchors_before_texel;
1107 subset_num = (subsets >> (texel * 2)) & 3;
1110 if (is_anchor(n_subsets, partition_num, texel))