Lines Matching defs:texel

131 		unsigned int texel = 0;
132 for (; texel + ASTCENC_SIMD_WIDTH <= bsd.texel_count; texel += ASTCENC_SIMD_WIDTH)
134 int uqw0 = dec_weights_uquant[texel];
135 int uqw1 = dec_weights_uquant[texel + 1];
136 int uqw2 = dec_weights_uquant[texel + 2];
137 int uqw3 = dec_weights_uquant[texel + 3];
151 unsigned int partition0 = pi.partition_of_texel[texel];
152 unsigned int partition1 = pi.partition_of_texel[texel + 1];
153 unsigned int partition2 = pi.partition_of_texel[texel + 2];
154 unsigned int partition3 = pi.partition_of_texel[texel + 3];
171 vfloat4 orig_color0 = blk.texel(texel);
172 vfloat4 orig_color1 = blk.texel(texel + 1);
173 vfloat4 orig_color2 = blk.texel(texel + 2);
174 vfloat4 orig_color3 = blk.texel(texel + 3);
223 dec_weights_uquant[texel] = uqw_vec.lane<0>();
224 dec_weights_uquant[texel + 1] = uqw_vec.lane<1>();
225 dec_weights_uquant[texel + 2] = uqw_vec.lane<2>(); // channel 2
226 dec_weights_uquant[texel + 3] = uqw_vec.lane<3>(); // channel 3
231 for (; texel < bsd.texel_count; texel++)
233 int uqw = dec_weights_uquant[texel];
244 unsigned int partition = pi.partition_of_texel[texel];
249 vfloat4 orig_color = blk.texel(texel);
263 dec_weights_uquant[texel] = static_cast<uint8_t>(uqw_up);
268 dec_weights_uquant[texel] = static_cast<uint8_t>(uqw_down);
337 for (unsigned int texel = 0; texel < bsd.texel_count; texel++)
339 int uqw = dec_weights_uquant[texel];
350 unsigned int partition = pi.partition_of_texel[texel];
355 vfloat4 orig_color = blk.texel(texel);
369 dec_weights_uquant[texel] = static_cast<uint8_t>(uqw_up);
374 dec_weights_uquant[texel] = static_cast<uint8_t>(uqw_down);
492 unsigned int texel = di.weight_texels_tr[te_idx][we_idx];
496 float weight_base = (uq_weightsf[di.texel_weights_tr[0][texel]] * di.texel_weight_contribs_float_tr[0][texel]
497 + uq_weightsf[di.texel_weights_tr[1][texel]] * di.texel_weight_contribs_float_tr[1][texel])
498 + (uq_weightsf[di.texel_weights_tr[2][texel]] * di.texel_weight_contribs_float_tr[2][texel]
499 + uq_weightsf[di.texel_weights_tr[3][texel]] * di.texel_weight_contribs_float_tr[3][texel]);
508 unsigned int partition = pi.partition_of_texel[texel];
513 vfloat4 orig_color = blk.texel(texel);
1757 vint4 colorRef = float_to_int_rtn(blk.texel(ii) * 255.0f / 65535.0f);
1758 vint4 colorTest = float_to_int_rtn(min(decBlk.texel(ii), 1.0f) * 255.0f);