Searched refs:flt2int_rtn (Results 1 – 4 of 4) sorted by relevance
/hardware/google/gfxstream/third-party/astc-encoder/Source/ |
D | astcenc_color_quantize.cpp | 178 output[6] = quant_color(quant_level, astc::flt2int_rtn(a0)); in quantize_rgba() 179 output[7] = quant_color(quant_level, astc::flt2int_rtn(a1)); in quantize_rgba() 225 int ri0 = quant_color(quant_level, astc::flt2int_rtn(r0)); in try_quantize_rgb_blue_contract() 226 int gi0 = quant_color(quant_level, astc::flt2int_rtn(g0)); in try_quantize_rgb_blue_contract() 227 int bi0 = quant_color(quant_level, astc::flt2int_rtn(b0)); in try_quantize_rgb_blue_contract() 229 int ri1 = quant_color(quant_level, astc::flt2int_rtn(r1)); in try_quantize_rgb_blue_contract() 230 int gi1 = quant_color(quant_level, astc::flt2int_rtn(g1)); in try_quantize_rgb_blue_contract() 231 int bi1 = quant_color(quant_level, astc::flt2int_rtn(b1)); in try_quantize_rgb_blue_contract() 282 output[6] = quant_color(quant_level, astc::flt2int_rtn(a1)); in try_quantize_rgba_blue_contract() 283 output[7] = quant_color(quant_level, astc::flt2int_rtn(a0)); in try_quantize_rgba_blue_contract() [all …]
|
D | astcenccli_image.cpp | 366 …dst[4 * x ] = static_cast<uint8_t>(astc::flt2int_rtn(astc::clamp1f(data32[(4 * dim_x * ymod) + … in unorm8x4_array_from_astc_img() 367 …dst[4 * x + 1] = static_cast<uint8_t>(astc::flt2int_rtn(astc::clamp1f(data32[(4 * dim_x * ymod) + … in unorm8x4_array_from_astc_img() 368 …dst[4 * x + 2] = static_cast<uint8_t>(astc::flt2int_rtn(astc::clamp1f(data32[(4 * dim_x * ymod) + … in unorm8x4_array_from_astc_img() 369 …dst[4 * x + 3] = static_cast<uint8_t>(astc::flt2int_rtn(astc::clamp1f(data32[(4 * dim_x * ymod) + … in unorm8x4_array_from_astc_img()
|
D | astcenc_mathlib.h | 308 static inline int flt2int_rtn(float v) in flt2int_rtn() function
|
D | astcenc_entry.cpp | 592 #define LERPI(param) astc::flt2int_rtn(\ in astcenc_config_init()
|