Searched refs:float_to_int_rtn (Results 1 – 8 of 8) sorted by relevance
391 vint data_ri = float_to_int_rtn(min(data_r, 1.0f) * 255.0f); in store_image_block()392 vint data_gi = float_to_int_rtn(min(data_g, 1.0f) * 255.0f); in store_image_block()393 vint data_bi = float_to_int_rtn(min(data_b, 1.0f) * 255.0f); in store_image_block()394 vint data_ai = float_to_int_rtn(min(data_a, 1.0f) * 255.0f); in store_image_block()414 swizzle_table[ASTCENC_SWZ_Z] = float_to_int_rtn(min(data_z, 1.0f) * 255.0f); in store_image_block()
349 colori = float_to_int_rtn(color); in unorm8x4_array_from_astc_img()
1243 vint4 color_u16 = float_to_int_rtn(color_f32); in compress_block()1453 vint4 color_u16 = float_to_int_rtn(color_f32); in compress_block()
851 ASTCENC_SIMD_INLINE vint4 float_to_int_rtn(vfloat4 a) in float_to_int_rtn() function
1001 ASTCENC_SIMD_INLINE vint8 float_to_int_rtn(vfloat8 a) in float_to_int_rtn() function
935 ASTCENC_SIMD_INLINE vint4 float_to_int_rtn(vfloat4 a) in float_to_int_rtn() function
964 ASTCENC_SIMD_INLINE vint4 float_to_int_rtn(vfloat4 a) in float_to_int_rtn() function
1071 TEST(vfloat4, float_to_int_rtn) in TEST() argument1074 vint4 r = float_to_int_rtn(a); in TEST()