Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/format/
Dtexcompress_bptc_tmp.h65 int n_endpoint_bits; member
821 signed_unquantize(int value, int n_endpoint_bits) in signed_unquantize() argument
825 if (n_endpoint_bits >= 16) in signed_unquantize()
838 if (value >= (1 << (n_endpoint_bits - 1)) - 1) in signed_unquantize()
841 value = ((value << 15) + 0x4000) >> (n_endpoint_bits - 1); in signed_unquantize()
850 unsigned_unquantize(int value, int n_endpoint_bits) in unsigned_unquantize() argument
852 if (n_endpoint_bits >= 15) in unsigned_unquantize()
858 if (value == (1 << n_endpoint_bits) - 1) in unsigned_unquantize()
861 return ((value << 15) + 0x4000) >> (n_endpoint_bits - 1); in unsigned_unquantize()
908 ((1 << mode->n_endpoint_bits) - 1)); in extract_float_endpoints()
[all …]