Lines Matching defs:texel_count
56 * @param texel_count The number of texels in the block.
62 unsigned int texel_count,
66 promise(texel_count > 0);
73 unsigned int sample = 145897 % texel_count;
80 for (unsigned int i = 0; i < texel_count; i++)
104 for (sample = 0; sample < texel_count; sample++)
114 sample = astc::min(sample, texel_count - 1);
125 for (unsigned int i = 0; i < texel_count; i++)
141 * @param texel_count The number of texels in the block.
148 unsigned int texel_count,
153 promise(texel_count > 0);
159 for (unsigned int i = 0; i < texel_count; i++)
205 * @param texel_count The number of texels in the block.
212 unsigned int texel_count,
217 promise(texel_count > 0);
230 for (unsigned int i = 0; i < texel_count; i++)
394 assert(mismatch_counts[i] < bsd.texel_count);
403 assert(mismatch_counts[i] < bsd.texel_count);
412 assert(mismatch_counts[i] < bsd.texel_count);
427 unsigned int texel_count,
444 for (unsigned int i = 0; i < texel_count; i++)
486 kmeans_init(blk, bsd.texel_count, partition_count, cluster_centers);
490 kmeans_update(blk, bsd.texel_count, partition_count, cluster_centers, texel_partitions);
493 kmeans_assign(blk, bsd.texel_count, partition_count, cluster_centers, texel_partitions);
498 unsigned int texels_to_process = astc::min(bsd.texel_count, BLOCK_MAX_KMEANS_TEXELS);
575 unsigned int texels_per_block = bsd.texel_count;