Home
last modified time | relevance | path

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

/external/swiftshader/third_party/astc-encoder/Source/
Dastc_image_load_store.cpp149 fptr[0] = sf16_to_float(lns_to_sf16((uint16_t)pb->data_r[i])); in imageblock_initialize_orig_from_work()
150 fptr[1] = sf16_to_float(lns_to_sf16((uint16_t)pb->data_g[i])); in imageblock_initialize_orig_from_work()
151 fptr[2] = sf16_to_float(lns_to_sf16((uint16_t)pb->data_b[i])); in imageblock_initialize_orig_from_work()
155 fptr[0] = sf16_to_float(unorm16_to_sf16((uint16_t)pb->data_r[i])); in imageblock_initialize_orig_from_work()
156 fptr[1] = sf16_to_float(unorm16_to_sf16((uint16_t)pb->data_g[i])); in imageblock_initialize_orig_from_work()
157 fptr[2] = sf16_to_float(unorm16_to_sf16((uint16_t)pb->data_b[i])); in imageblock_initialize_orig_from_work()
162 fptr[3] = sf16_to_float(lns_to_sf16((uint16_t)pb->data_a[i])); in imageblock_initialize_orig_from_work()
166 fptr[3] = sf16_to_float(unorm16_to_sf16((uint16_t)pb->data_a[i])); in imageblock_initialize_orig_from_work()
Dastc_decompress_symbolic.cpp146 red = sf16_to_float(unorm16_to_sf16(scb->constant_color[0] & mask)); in decompress_symbolic_block()
147 green = sf16_to_float(unorm16_to_sf16(scb->constant_color[1] & mask)); in decompress_symbolic_block()
148 blue = sf16_to_float(unorm16_to_sf16(scb->constant_color[2] & mask)); in decompress_symbolic_block()
149 alpha = sf16_to_float(unorm16_to_sf16(scb->constant_color[3] & mask)); in decompress_symbolic_block()
175 red = sf16_to_float(scb->constant_color[0]); in decompress_symbolic_block()
176 green = sf16_to_float(scb->constant_color[1]); in decompress_symbolic_block()
177 blue = sf16_to_float(scb->constant_color[2]); in decompress_symbolic_block()
178 alpha = sf16_to_float(scb->constant_color[3]); in decompress_symbolic_block()
Dastc_mathlib_softfloat.cpp142 float sf16_to_float(sf16 p) in sf16_to_float() function
Dastc_mathlib.h167 float sf16_to_float(sf16);