Lines Matching defs:blk
55 * @param blk The image block color data to compress.
61 const image_block& blk,
74 vfloat4 center_color = blk.texel(sample);
82 vfloat4 color = blk.texel(i);
84 float distance = dot_s(diff * diff, blk.channel_weight);
116 center_color = blk.texel(sample);
127 vfloat4 color = blk.texel(i);
129 float distance = dot_s(diff * diff, blk.channel_weight);
140 * @param blk The image block color data to compress.
147 const image_block& blk,
164 vfloat4 color = blk.texel(i);
168 float distance = dot_s(diff * diff, blk.channel_weight);
204 * @param blk The image block color data to compress.
211 const image_block& blk,
233 color_sum[partition] += blk.texel(i);
466 * @param blk The image block color data to compress.
474 const image_block& blk,
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);
567 const image_block& blk,
596 unsigned int sequence_len = compute_kmeans_partition_ordering(bsd, blk, partition_count, partition_sequence);
600 bool uses_alpha = !blk.is_constant_channel(3);
626 compute_avgs_and_dirs_4_comp(pi, blk, pms);
657 blk,
699 compute_avgs_and_dirs_3_comp_rgb(pi, blk, pms);
725 blk,