Searched refs:scale_factor (Results 1 - 7 of 7) sorted by relevance
/system/bt/embdrv/sbc/decoder/srce/ |
H A D | dequant.c | 44 dequant = 2^(scale_factor+1) * ((raw * 2.0 + 1.0) / ((2^bits) - 1) - 1) 97 turn 2^31 into 2^(scale_factor+1). Since we're aiming for Q16.15 format, 98 this is achieved by shifting right by (15-scale_factor): 100 (2^31 * x) >> (15-scale_factor) =~ 2^(31-15+scale_factor) * x = 2^15 * 101 2^(1+scale_factor) * x 133 INLINE float dequant_float(uint32_t raw, OI_UINT scale_factor, OI_UINT bits) { argument 134 float result = (1 << (scale_factor + 1)) * 151 INLINE int32_t OI_SBC_Dequant(uint32_t raw, OI_UINT scale_factor, argument 156 OI_ASSERT(scale_factor < 190 OI_SBC_Dequant_Unscaled(uint32_t raw, OI_UINT scale_factor, OI_UINT bits) argument [all...] |
H A D | decoder-private.c | 134 int8_t* scale_factor = common->scale_factor; local 146 *scale_factor++ = HIGH(f = *b++); 147 *scale_factor++ = LOW(f); 161 *scale_factor++ = LOW(f); 162 *scale_factor++ = HIGH(f = *b++); 164 *scale_factor++ = LOW(f); 173 *scale_factor++ = OI_BITSTREAM_ReadUINT4Aligned(bs); 192 uint32_t sf_by4 = ((uint32_t*)common->scale_factor)[i];
|
H A D | bitalloc.c | 136 int8_t* scale_factor = &common->scale_factor[ch ? nrof_subbands : 0]; local 143 OI_INT bits = scale_factor[sb]; 161 OI_INT bits = scale_factor[sb];
|
H A D | readsamplesjoint.inc | 69 int8_t *sf_array = &common->scale_factor[0];
|
/system/bt/embdrv/sbc/decoder/include/ |
H A D | oi_codec_sbc.h | 195 int8_t scale_factor[SBC_MAX_CHANNELS * SBC_MAX_BANDS]; member in struct:__anon631
|
H A 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/ |
H A D | see_helper.cc | 951 .scale_factor.funcs.decode = decodeFloatData, 952 .scale_factor.arg = &scale,
|
Completed in 93 milliseconds