Home
last modified time | relevance | path

Searched refs:tix (Results 1 – 3 of 3) sorted by relevance

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_ideal_endpoints_and_weights.cpp157 unsigned int tix = pi.texels_of_partition[i][j]; in compute_ideal_colors_and_weights_1_comp() local
158 float value = data_vr[tix]; in compute_ideal_colors_and_weights_1_comp()
184 unsigned int tix = pi.texels_of_partition[i][j]; in compute_ideal_colors_and_weights_1_comp() local
185 float value = (data_vr[tix] - lowvalue) * scale; in compute_ideal_colors_and_weights_1_comp()
188 ei.weights[tix] = value; in compute_ideal_colors_and_weights_1_comp()
189 ei.weight_error_scale[tix] = length_squared * error_weight; in compute_ideal_colors_and_weights_1_comp()
190 assert(!astc::isnan(ei.weight_error_scale[tix])); in compute_ideal_colors_and_weights_1_comp()
284 unsigned int tix = pi.texels_of_partition[i][j]; in compute_ideal_colors_and_weights_2_comp() local
285 vfloat4 point = vfloat2(data_vr[tix], data_vg[tix]); in compute_ideal_colors_and_weights_2_comp()
287 ei.weights[tix] = param; in compute_ideal_colors_and_weights_2_comp()
[all …]
Dastcenc_decompress_symbolic.cpp312 int tix = pi.texels_of_partition[i][j]; in decompress_symbolic_block() local
313 vint4 weight = select(vint4(plane1_weights[tix]), vint4(plane2_weights[tix]), plane2_mask); in decompress_symbolic_block()
317 blk.data_r[tix] = colorf.lane<0>(); in decompress_symbolic_block()
318 blk.data_g[tix] = colorf.lane<1>(); in decompress_symbolic_block()
319 blk.data_b[tix] = colorf.lane<2>(); in decompress_symbolic_block()
320 blk.data_a[tix] = colorf.lane<3>(); in decompress_symbolic_block()
469 unsigned int tix = pi.texels_of_partition[i][j]; in compute_symbolic_block_difference_1plane() local
471 vint4(plane1_weights[tix])); in compute_symbolic_block_difference_1plane()
474 vfloat4 oldColor = blk.texel(tix); in compute_symbolic_block_difference_1plane()
Dastcenc_pick_best_endpoint_format.cpp126 vint tix(texel_indexes + i); in compute_error_squared_rgb_single_partition() local
132 vfloat data_a = gatherf(blk.data_a, tix); in compute_error_squared_rgb_single_partition()
138 vfloat data_r = gatherf(blk.data_r, tix); in compute_error_squared_rgb_single_partition()
139 vfloat data_g = gatherf(blk.data_g, tix); in compute_error_squared_rgb_single_partition()
140 vfloat data_b = gatherf(blk.data_b, tix); in compute_error_squared_rgb_single_partition()