Home
last modified time | relevance | path

Searched refs:channel_weight (Results 1 - 8 of 8) sorted by relevance

/third_party/astc-encoder/Source/
H A Dastcenc_ideal_endpoints_and_weights.cpp127 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()
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 = hadd_s(blk.channel_weight.swz<1, 2>()) / 2.0f;
375 error_weight = hadd_s(blk.channel_weight.swz<1, 2, 3>());
382 error_weight = hadd_s(blk.channel_weight.swz<0, 2, 3>());
389 error_weight = hadd_s(blk.channel_weight
[all...]
H A Dastcenc_decompress_symbolic.cpp411 summa += min(dot(error, blk.channel_weight), ERROR_CALC_DEFAULT); in compute_symbolic_block_difference_2plane()
508 summa += min(dot(error, blk.channel_weight), ERROR_CALC_DEFAULT); in compute_symbolic_block_difference_1plane()
617 vfloat metric = color_error_r * blk.channel_weight.lane<0>() in compute_symbolic_block_difference_1plane_1partition()
618 + color_error_g * blk.channel_weight.lane<1>() in compute_symbolic_block_difference_1plane_1partition()
619 + color_error_b * blk.channel_weight.lane<2>() in compute_symbolic_block_difference_1plane_1partition()
620 + color_error_a * blk.channel_weight.lane<3>(); in compute_symbolic_block_difference_1plane_1partition()
H A Dastcenc_averages_and_directions.cpp769 vfloat ew_r(blk.channel_weight.lane<0>()); in compute_error_squared_rgba()
770 vfloat ew_g(blk.channel_weight.lane<1>()); in compute_error_squared_rgba()
771 vfloat ew_b(blk.channel_weight.lane<2>()); in compute_error_squared_rgba()
772 vfloat ew_a(blk.channel_weight.lane<3>()); in compute_error_squared_rgba()
884 vfloat ew_r(blk.channel_weight.lane<0>());
885 vfloat ew_g(blk.channel_weight.lane<1>());
886 vfloat ew_b(blk.channel_weight.lane<2>());
H A Dastcenc_find_best_partitioning.cpp84 float distance = dot_s(diff * diff, blk.channel_weight); in kmeans_init()
129 float distance = dot_s(diff * diff, blk.channel_weight); in kmeans_init()
168 float distance = dot_s(diff * diff, blk.channel_weight); in kmeans_assign()
H A Dastcenc_compress_symbolic.cpp176 vfloat4 error_weight = blk.channel_weight; in realign_weights_undecimated()
250 vfloat4 error_weight = blk.channel_weight; in realign_weights_undecimated()
356 vfloat4 error_weight = blk.channel_weight; in realign_weights_undecimated()
524 vfloat4 error_weight = blk.channel_weight; in realign_weights_decimated()
1298 float weight = hadd_s(blk.channel_weight) / 4.0f; in prepare_block_statistics()
1456 float error_weight_sum = hadd_s(blk.channel_weight) * bsd.texel_count; in compress_block()
1538 float error_weight_sum = hadd_s(blk.channel_weight) * bsd.texel_count; in compress_block()
H A Dastcenc_entry.cpp865 blk.channel_weight = vfloat4(ctx.config.cw_r_weight, in compress_image()
958 blk.channel_weight = vfloat4(ctx.config.cw_r_weight * alpha_scale, in compress_image()
H A Dastcenc_pick_best_endpoint_format.cpp86 vfloat4 ews = blk.channel_weight; in compute_error_squared_rgb_single_partition()
1234 pi, eci[i], ep, blk.channel_weight, best_error[i],
H A Dastcenc_internal.h784 vfloat4 channel_weight; member

Completed in 14 milliseconds