Searched refs:error_weight (Results 1 – 3 of 3) sorted by relevance
120 float error_weight; in compute_ideal_colors_and_weights_1_comp() local127 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; in compute_ideal_colors_and_weights_2_comp() local239 error_weight = hadd_s(blk.channel_weight.swz<0, 1>()) / 2.0f; in compute_ideal_colors_and_weights_2_comp()246 error_weight = hadd_s(blk.channel_weight.swz<0, 2>()) / 2.0f; in compute_ideal_colors_and_weights_2_comp()255 error_weight = hadd_s(blk.channel_weight.swz<1, 2>()) / 2.0f; in compute_ideal_colors_and_weights_2_comp()[all …]
146 vfloat4 error_weight = blk.channel_weight; in realign_weights_undecimated() local152 float error_base = dot_s(color_diff * color_diff, error_weight); in realign_weights_undecimated()153 float error_down = dot_s(color_diff_down * color_diff_down, error_weight); in realign_weights_undecimated()154 float error_up = dot_s(color_diff_up * color_diff_up, error_weight); in realign_weights_undecimated()317 vfloat4 error_weight = blk.channel_weight; in realign_weights_decimated() local318 float error_base = hadd_s(error_basev * error_weight); in realign_weights_decimated()319 float error_down = hadd_s(error_downv * error_weight); in realign_weights_decimated()320 float error_up = hadd_s(error_upv * error_weight); in realign_weights_decimated()
322 vfloat4 error_weight, in compute_color_error_for_every_integer_count_and_quant_level() argument358 float error_weight_rgbsum = hadd_rgb_s(error_weight); in compute_color_error_for_every_integer_count_and_quant_level()378 float rgb_range_error = dot3_s(sum_range_error, error_weight) in compute_color_error_for_every_integer_count_and_quant_level()380 float alpha_range_error = sum_range_error.lane<3>() * error_weight.lane<3>() in compute_color_error_for_every_integer_count_and_quant_level()533 float alpha_quantization_error = error_weight.lane<3>() * base_quant_error * 2.0f; in compute_color_error_for_every_integer_count_and_quant_level()575 float base_quant_error_a = error_weight.lane<3>() * static_cast<float>(partition_size); in compute_color_error_for_every_integer_count_and_quant_level()