Home
last modified time | relevance | path

Searched refs:int_to_float (Results 1 - 12 of 12) sorted by relevance

/third_party/astc-encoder/Source/
H A Dastcenc_vecmathlib.h331 vfloat4 fpart = x - int_to_float(ipart); in exp2()
362 vfloat4 e = int_to_float(lsr<23>(i & exp) - 127); in log2()
407 a = float_as_int(int_to_float(a)); in clz()
453 a = float_as_int(int_to_float(a));
552 a = a + (int_to_float(exp) * 2048.0f) + 1.0f;
H A Dastcenc_decompress_symbolic.cpp374 vfloat4 color = int_to_float(colori); in compute_symbolic_block_difference_2plane()
471 vfloat4 color = int_to_float(colori); in compute_symbolic_block_difference_1plane()
596 vfloat color_r = int_to_float(colori_r); in compute_symbolic_block_difference_1plane_1partition()
597 vfloat color_g = int_to_float(colori_g); in compute_symbolic_block_difference_1plane_1partition()
598 vfloat color_b = int_to_float(colori_b); in compute_symbolic_block_difference_1plane_1partition()
599 vfloat color_a = int_to_float(colori_a); in compute_symbolic_block_difference_1plane_1partition()
H A Dastcenc_compress_symbolic.cpp124 endpnt0f[pa_idx] = int_to_float(endpnt0[pa_idx]); in realign_weights_undecimated()
125 offset[pa_idx] = int_to_float(epd) * (1.0f / 64.0f); in realign_weights_undecimated()
147 vfloat4 weight_base_vec = int_to_float(uqw_vec); in realign_weights_undecimated()
148 vfloat4 weight_down_vec = int_to_float(uqw_down_vec) - weight_base_vec; in realign_weights_undecimated()
149 vfloat4 weight_up_vec = int_to_float(uqw_up_vec) - weight_base_vec; in realign_weights_undecimated()
331 endpnt0f[pa_idx] = int_to_float(endpnt0[pa_idx]); in realign_weights_undecimated()
332 offset[pa_idx] = int_to_float(epd) * (1.0f / 64.0f); in realign_weights_undecimated()
457 endpnt0f[pa_idx] = int_to_float(endpnt0[pa_idx]); in realign_weights_decimated()
458 offset[pa_idx] = int_to_float(epd) * (1.0f / 64.0f); in realign_weights_decimated()
466 vfloat unquant_valuef = int_to_float(unquant_valu in realign_weights_decimated()
[all...]
H A Dastcenc_ideal_endpoints_and_weights.cpp1097 vmask mask = int_to_float(ixli + ixhi) < (vfloat(128.0f) * ix);
1099 vfloat ixl = int_to_float(weight);
1128 vmask mask = int_to_float(ixli + ixhi) < (vfloat(128.0f) * ix);
1130 vfloat ixl = int_to_float(weight);
1225 vfloat unquant_valuef = int_to_float(unquant_value) * vfloat(1.0f / 64.0f);
1452 vfloat unquant_value1f = int_to_float(unquant_value1) * vfloat(1.0f / 64.0f);
1456 vfloat unquant_value2f = int_to_float(unquant_value2) * vfloat(1.0f / 64.0f);
H A Dastcenc_image.cpp53 return int_to_float(vint4(data8 + base_offset)) / 255.0f; in load_texel_u8()
304 vfloat4 datav = int_to_float(datavi) * (65535.0f / 255.0f); in load_image_block_fast_ldr()
H A Dastcenc_color_quantize.cpp59 vfloat4 error0 = uquant0 - int_to_float(quant0); in get_rgba_encoding_error()
60 vfloat4 error1 = uquant1 - int_to_float(quant1); in get_rgba_encoding_error()
145 vfloat4 residual = valuef - int_to_float(value); in quant_color3()
H A Dastcenc_vecmathlib_avx2_8.h1019 ASTCENC_SIMD_INLINE vfloat8 int_to_float(vint8 a) in int_to_float() function
H A Dastcenc_vecmathlib_neon_4.h894 ASTCENC_SIMD_INLINE vfloat4 int_to_float(vint4 a) in int_to_float() function
H A Dastcenc_vecmathlib_sse_4.h965 ASTCENC_SIMD_INLINE vfloat4 int_to_float(vint4 a) in int_to_float() function
H A Dastcenc_vecmathlib_none_4.h1000 ASTCENC_SIMD_INLINE vfloat4 int_to_float(vint4 a) in int_to_float() function
/third_party/python/Lib/test/
H A Dtest_long.py39 def int_to_float(n): function
55 return -int_to_float(-n)
407 expected = int_to_float(n)
469 # Compare builtin float conversion with pure Python int_to_float
/third_party/astc-encoder/Source/UnitTest/
H A Dtest_simd.cpp1082 TEST(vfloat4, int_to_float) in TEST()
1085 vfloat4 r = int_to_float(a); in TEST()

Completed in 20 milliseconds