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

/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dtexcompress_bptc_tmp.h64 int n_endpoint_bits; member in struct:bptc_float_mode
837 signed_unquantize(int value, int n_endpoint_bits) argument
841 if (n_endpoint_bits >= 16)
854 if (value >= (1 << (n_endpoint_bits - 1)) - 1)
857 value = ((value << 15) + 0x4000) >> (n_endpoint_bits - 1);
866 unsigned_unquantize(int value, int n_endpoint_bits) argument
868 if (n_endpoint_bits >= 15)
874 if (value == (1 << n_endpoint_bits) - 1)
877 return ((value << 15) + 0x4000) >> (n_endpoint_bits - 1);
924 ((1 << mode->n_endpoint_bits)
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dtexcompress_bptc_tmp.h64 int n_endpoint_bits; member in struct:bptc_float_mode
832 signed_unquantize(int value, int n_endpoint_bits) argument
836 if (n_endpoint_bits >= 16)
849 if (value >= (1 << (n_endpoint_bits - 1)) - 1)
852 value = ((value << 15) + 0x4000) >> (n_endpoint_bits - 1);
861 unsigned_unquantize(int value, int n_endpoint_bits) argument
863 if (n_endpoint_bits >= 15)
869 if (value == (1 << n_endpoint_bits) - 1)
872 return ((value << 15) + 0x4000) >> (n_endpoint_bits - 1);
919 ((1 << mode->n_endpoint_bits)
[all...]

Completed in 18 milliseconds