Searched refs:n_endpoint_bits (Results 1 – 1 of 1) sorted by relevance
65 int n_endpoint_bits; member821 signed_unquantize(int value, int n_endpoint_bits) in signed_unquantize() argument825 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() argument852 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 …]