Home
last modified time | relevance | path

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

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_pick_best_endpoint_format.cpp226 encoding_choice_errors eci[BLOCK_MAX_PARTITIONS]) in compute_encoding_choice_errors()
293 eci[i].rgb_scale_error = (samechroma_rgb_error - uncorr_rgb_error) * 0.7f; // empirical in compute_encoding_choice_errors()
294 eci[i].rgb_luma_error = (rgb_luma_error - uncorr_rgb_error) * 1.5f; // wild guess in compute_encoding_choice_errors()
295 eci[i].luminance_error = (luminance_rgb_error - uncorr_rgb_error) * 3.0f; // empirical in compute_encoding_choice_errors()
296 eci[i].alpha_drop_error = alpha_drop_error * 3.0f; in compute_encoding_choice_errors()
297 eci[i].can_offset_encode = can_offset_encode; in compute_encoding_choice_errors()
298 eci[i].can_blue_contract = !blk.is_luminance(); in compute_encoding_choice_errors()
320 const encoding_choice_errors& eci, in compute_color_error_for_every_integer_count_and_quant_level() argument
543 …float full_hdr_rgb_error = (rgb_quantization_error * mode11mult) + rgb_range_error + eci.alpha_dro… in compute_color_error_for_every_integer_count_and_quant_level()
548 …ror = (rgb_quantization_error * mode7mult) + rgb_range_error + eci.alpha_drop_error + eci.rgb_luma… in compute_color_error_for_every_integer_count_and_quant_level()
[all …]