Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dtexcompress_bptc_tmp.h64 int n_endpoint_bits; member
832 signed_unquantize(int value, int n_endpoint_bits) in signed_unquantize() argument
836 if (n_endpoint_bits >= 16) in signed_unquantize()
849 if (value >= (1 << (n_endpoint_bits - 1)) - 1) in signed_unquantize()
852 value = ((value << 15) + 0x4000) >> (n_endpoint_bits - 1); in signed_unquantize()
861 unsigned_unquantize(int value, int n_endpoint_bits) in unsigned_unquantize() argument
863 if (n_endpoint_bits >= 15) in unsigned_unquantize()
869 if (value == (1 << n_endpoint_bits) - 1) in unsigned_unquantize()
872 return ((value << 15) + 0x4000) >> (n_endpoint_bits - 1); in unsigned_unquantize()
919 ((1 << mode->n_endpoint_bits) - 1)); in extract_float_endpoints()
[all …]