Home
last modified time | relevance | path

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

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenccli_image.cpp187 vint4 colorf16 = float_to_float16(vfloat4( in astc_img_from_floatx4_array() local
194 data16[(4 * dim_x * y) + (4 * x )] = static_cast<uint16_t>(colorf16.lane<0>()); in astc_img_from_floatx4_array()
195 data16[(4 * dim_x * y) + (4 * x + 1)] = static_cast<uint16_t>(colorf16.lane<1>()); in astc_img_from_floatx4_array()
196 data16[(4 * dim_x * y) + (4 * x + 2)] = static_cast<uint16_t>(colorf16.lane<2>()); in astc_img_from_floatx4_array()
197 data16[(4 * dim_x * y) + (4 * x + 3)] = static_cast<uint16_t>(colorf16.lane<3>()); in astc_img_from_floatx4_array()
Dastcenc_decompress_symbolic.cpp239 vint4 colorf16 = unorm16_to_sf16(colori); in decompress_symbolic_block() local
240 color = float16_to_float(colorf16); in decompress_symbolic_block()