Lines Matching defs:sample
72 // Pick a random sample as first cluster center; 145897 from random.org
73 unsigned int sample = 145897 % texel_count;
74 vfloat4 center_color = blk.texel(sample);
104 for (sample = 0; sample < texel_count; sample++)
106 summa += distances[sample];
114 sample = astc::min(sample, texel_count - 1);
116 center_color = blk.texel(sample);