Home
last modified time | relevance | path

Searched refs:pstrCodecParams (Results 1 – 2 of 2) sorted by relevance

/system/bt/embdrv/sbc/encoder/srce/
Dsbc_enc_bit_alloc_ste.c41 void sbc_enc_bit_alloc_ste(SBC_ENC_PARAMS* pstrCodecParams) { in sbc_enc_bit_alloc_ste() argument
56 int32_t s32NumOfSubBands = pstrCodecParams->s16NumOfSubBands; in sbc_enc_bit_alloc_ste()
57 int32_t s32BitPool = pstrCodecParams->s16BitPool; in sbc_enc_bit_alloc_ste()
60 if (pstrCodecParams->s16AllocationMethod == SBC_SNR) { in sbc_enc_bit_alloc_ste()
61 ps16BitNeed = pstrCodecParams->as16ScaleFactor; in sbc_enc_bit_alloc_ste()
62 s32MaxBitNeed = pstrCodecParams->s16MaxBitNeed; in sbc_enc_bit_alloc_ste()
64 ps16BitNeed = pstrCodecParams->s16ScartchMemForBitAlloc; in sbc_enc_bit_alloc_ste()
65 pas16ScaleFactor = pstrCodecParams->as16ScaleFactor; in sbc_enc_bit_alloc_ste()
71 (int16_t*)sbc_enc_as16Offset4[pstrCodecParams->s16SamplingFreq]; in sbc_enc_bit_alloc_ste()
74 (int16_t*)sbc_enc_as16Offset8[pstrCodecParams->s16SamplingFreq]; in sbc_enc_bit_alloc_ste()
[all …]
Dsbc_enc_bit_alloc_mono.c45 void sbc_enc_bit_alloc_mono(SBC_ENC_PARAMS* pstrCodecParams) { in sbc_enc_bit_alloc_mono() argument
57 int32_t s32NumOfSubBands = pstrCodecParams->s16NumOfSubBands; in sbc_enc_bit_alloc_mono()
59 ps16BitNeed = pstrCodecParams->s16ScartchMemForBitAlloc; in sbc_enc_bit_alloc_mono()
61 for (s32Ch = 0; s32Ch < pstrCodecParams->s16NumOfChannels; s32Ch++) { in sbc_enc_bit_alloc_mono()
63 ps16GenArrPtr = pstrCodecParams->as16Bits + s32Ch * SBC_MAX_NUM_OF_SUBBANDS; in sbc_enc_bit_alloc_mono()
66 if (pstrCodecParams->s16AllocationMethod == SBC_SNR) { in sbc_enc_bit_alloc_mono()
67 ps16BitNeed = pstrCodecParams->as16ScaleFactor; in sbc_enc_bit_alloc_mono()
73 (int16_t*)sbc_enc_as16Offset4[pstrCodecParams->s16SamplingFreq]; in sbc_enc_bit_alloc_mono()
76 (int16_t*)sbc_enc_as16Offset8[pstrCodecParams->s16SamplingFreq]; in sbc_enc_bit_alloc_mono()
79 if (pstrCodecParams in sbc_enc_bit_alloc_mono()
[all …]