Lines Matching refs:bits
133 INLINE float dequant_float(uint32_t raw, OI_UINT scale_factor, OI_UINT bits) { in dequant_float() argument
135 ((raw * 2.0f + 1.0f) / ((1 << bits) - 1.0f) - 1.0f); in dequant_float()
152 OI_UINT bits) { in OI_SBC_Dequant() argument
157 OI_ASSERT(bits <= 16); in OI_SBC_Dequant()
159 if (bits <= 1) { in OI_SBC_Dequant()
164 d *= dequant_long_scaled[bits]; in OI_SBC_Dequant()
172 float_result = dequant_float(raw, scale_factor, bits); in OI_SBC_Dequant()
191 OI_UINT bits) { in OI_SBC_Dequant_Unscaled() argument
196 OI_ASSERT(bits <= 16); in OI_SBC_Dequant_Unscaled()
198 if (bits <= 1) { in OI_SBC_Dequant_Unscaled()
201 if (bits == 16) { in OI_SBC_Dequant_Unscaled()
207 d *= dequant_long_unscaled[bits]; in OI_SBC_Dequant_Unscaled()