Home
last modified time | relevance | path

Searched refs:error_weight (Results 1 - 3 of 3) sorted by relevance

/third_party/astc-encoder/Source/
H A Dastcenc_compress_symbolic.cpp176 vfloat4 error_weight = blk.channel_weight; in realign_weights_undecimated() local
193 float error_base0 = dot_s(color_diff0 * color_diff0, error_weight); in realign_weights_undecimated()
194 float error_base1 = dot_s(color_diff1 * color_diff1, error_weight); in realign_weights_undecimated()
195 float error_base2 = dot_s(color_diff2 * color_diff2, error_weight); in realign_weights_undecimated()
196 float error_base3 = dot_s(color_diff3 * color_diff3, error_weight); in realign_weights_undecimated()
198 float error_down0 = dot_s(color_diff_down0 * color_diff_down0, error_weight); in realign_weights_undecimated()
199 float error_down1 = dot_s(color_diff_down1 * color_diff_down1, error_weight); in realign_weights_undecimated()
200 float error_down2 = dot_s(color_diff_down2 * color_diff_down2, error_weight); in realign_weights_undecimated()
201 float error_down3 = dot_s(color_diff_down3 * color_diff_down3, error_weight); in realign_weights_undecimated()
203 float error_up0 = dot_s(color_diff_up0 * color_diff_up0, error_weight); in realign_weights_undecimated()
250 vfloat4 error_weight = blk.channel_weight; realign_weights_undecimated() local
356 vfloat4 error_weight = blk.channel_weight; realign_weights_undecimated() local
524 vfloat4 error_weight = blk.channel_weight; realign_weights_decimated() local
[all...]
H A Dastcenc_ideal_endpoints_and_weights.cpp120 float error_weight; in compute_ideal_colors_and_weights_1_comp() local
127 error_weight = blk.channel_weight.lane<0>(); in compute_ideal_colors_and_weights_1_comp()
131 error_weight = blk.channel_weight.lane<1>(); in compute_ideal_colors_and_weights_1_comp()
135 error_weight = blk.channel_weight.lane<2>(); in compute_ideal_colors_and_weights_1_comp()
140 error_weight = blk.channel_weight.lane<3>(); 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()
233 float error_weight;
239 error_weight = hadd_s(blk.channel_weight.swz<0, 1>()) / 2.0f;
246 error_weight = hadd_s(blk.channel_weight.swz<0, 2>()) / 2.0f;
255 error_weight
[all...]
H A Dastcenc_pick_best_endpoint_format.cpp401 * @param error_weight The resulting encoding choice error metrics.
412 vfloat4 error_weight,
444 float error_weight_rgbsum = hadd_rgb_s(error_weight);
464 float rgb_range_error = dot3_s(sum_range_error, error_weight)
466 float alpha_range_error = sum_range_error.lane<3>() * error_weight.lane<3>()
619 float alpha_quantization_error = error_weight.lane<3>() * base_quant_error * 2.0f;
661 float base_quant_error_a = error_weight.lane<3>() * static_cast<float>(partition_size);

Completed in 5 milliseconds