Searched refs:scale_factor (Results 1 – 7 of 7) sorted by relevance
/system/bt/embdrv/sbc/decoder/srce/ |
D | dequant.c | 133 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()
|
D | decoder-private.c | 134 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() 192 uint32_t sf_by4 = ((uint32_t*)common->scale_factor)[i]; in OI_SBC_ReadSamples()
|
D | bitalloc.c | 136 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()
|
D | readsamplesjoint.inc | 69 int8_t *sf_array = &common->scale_factor[0];
|
/system/bt/embdrv/sbc/decoder/include/ |
D | oi_codec_sbc.h | 195 int8_t scale_factor[SBC_MAX_CHANNELS * SBC_MAX_BANDS]; member
|
D | oi_codec_sbc_private.h | 217 INLINE int32_t OI_SBC_Dequant(uint32_t raw, OI_UINT scale_factor, OI_UINT bits);
|
/system/chre/platform/slpi/see/ |
D | see_helper.cc | 1036 .scale_factor.funcs.decode = decodeFloatData, in decodeSnsCalEvent() 1037 .scale_factor.arg = &scale, in decodeSnsCalEvent()
|