Home
last modified time | relevance | path

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

/system/bt/embdrv/sbc/decoder/srce/
Ddequant.c133 INLINE float dequant_float(uint32_t raw, OI_UINT scale_factor, OI_UINT bits) { in dequant_float() argument
134 float result = (1 << (scale_factor + 1)) * in dequant_float()
151 INLINE int32_t OI_SBC_Dequant(uint32_t raw, OI_UINT scale_factor, in OI_SBC_Dequant() argument
156 OI_ASSERT(scale_factor <= 15); in OI_SBC_Dequant()
172 float_result = dequant_float(raw, scale_factor, bits); in OI_SBC_Dequant()
180 return result >> (15 - scale_factor); in OI_SBC_Dequant()
190 INLINE int32_t OI_SBC_Dequant_Unscaled(uint32_t raw, OI_UINT scale_factor, in OI_SBC_Dequant_Unscaled() argument
195 OI_ASSERT(scale_factor <= 15); in OI_SBC_Dequant_Unscaled()
203 return SCALE(result, 24 - scale_factor); in OI_SBC_Dequant_Unscaled()
210 return SCALE(result, 24 - scale_factor); in OI_SBC_Dequant_Unscaled()
Ddecoder-private.c134 int8_t* scale_factor = common->scale_factor; in OI_SBC_ReadScalefactors() local
146 *scale_factor++ = HIGH(f = *b++); in OI_SBC_ReadScalefactors()
147 *scale_factor++ = LOW(f); in OI_SBC_ReadScalefactors()
161 *scale_factor++ = LOW(f); in OI_SBC_ReadScalefactors()
162 *scale_factor++ = HIGH(f = *b++); in OI_SBC_ReadScalefactors()
164 *scale_factor++ = LOW(f); in OI_SBC_ReadScalefactors()
173 *scale_factor++ = OI_BITSTREAM_ReadUINT4Aligned(bs); in OI_SBC_ReadScalefactors()
193 OI_INT sf = common->scale_factor[n]; in OI_SBC_ReadSamples()
Dbitalloc.c136 int8_t* scale_factor = &common->scale_factor[ch ? nrof_subbands : 0]; in computeBitneed() local
143 OI_INT bits = scale_factor[sb]; in computeBitneed()
161 OI_INT bits = scale_factor[sb]; in computeBitneed()
Dreadsamplesjoint.inc69 int8_t *sf_array = &common->scale_factor[0];
/system/bt/embdrv/sbc/decoder/include/
Doi_codec_sbc.h195 int8_t scale_factor[SBC_MAX_CHANNELS * SBC_MAX_BANDS]; member
Doi_codec_sbc_private.h217 INLINE int32_t OI_SBC_Dequant(uint32_t raw, OI_UINT scale_factor, OI_UINT bits);
/system/chre/platform/slpi/see/
Dsee_helper.cc1058 .scale_factor.funcs.decode = decodeFloatData, in decodeSnsCalEvent()
1059 .scale_factor.arg = &scale, in decodeSnsCalEvent()