Home
last modified time | relevance | path

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

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_ideal_endpoints_and_weights.cpp170 float length_squared = length * length; in compute_ideal_colors_and_weights_1_comp() local
175 partition0_len_sq = length_squared; in compute_ideal_colors_and_weights_1_comp()
179 is_constant_wes = is_constant_wes && length_squared == partition0_len_sq; 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()
302 float length_squared = length * length; in compute_ideal_colors_and_weights_2_comp() local
307 partition0_len_sq = length_squared; in compute_ideal_colors_and_weights_2_comp()
311 is_constant_wes = is_constant_wes && length_squared == partition0_len_sq; in compute_ideal_colors_and_weights_2_comp()
321 ei.weight_error_scale[tix] = length_squared * error_weight; in compute_ideal_colors_and_weights_2_comp()
451 float length_squared = length * length; in compute_ideal_colors_and_weights_3_comp() local
456 partition0_len_sq = length_squared; in compute_ideal_colors_and_weights_3_comp()
[all …]