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.c67 int n_endpoint_bits; member
713 signed_unquantize(int value, int n_endpoint_bits) in signed_unquantize() argument
717 if (n_endpoint_bits >= 16) in signed_unquantize()
730 if (value >= (1 << (n_endpoint_bits - 1)) - 1) in signed_unquantize()
733 value = ((value << 15) + 0x4000) >> (n_endpoint_bits - 1); in signed_unquantize()
742 unsigned_unquantize(int value, int n_endpoint_bits) in unsigned_unquantize() argument
744 if (n_endpoint_bits >= 15) in unsigned_unquantize()
750 if (value == (1 << n_endpoint_bits) - 1) in unsigned_unquantize()
753 return ((value << 15) + 0x4000) >> (n_endpoint_bits - 1); in unsigned_unquantize()
800 ((1 << mode->n_endpoint_bits) - 1)); in extract_float_endpoints()
[all …]