Searched refs:pstrCodecParams (Results 1 – 2 of 2) sorted by relevance
41 void sbc_enc_bit_alloc_ste(SBC_ENC_PARAMS *pstrCodecParams) in sbc_enc_bit_alloc_ste() argument56 SINT32 s32NumOfSubBands = pstrCodecParams->s16NumOfSubBands; in sbc_enc_bit_alloc_ste()57 SINT32 s32BitPool = pstrCodecParams->s16BitPool; in sbc_enc_bit_alloc_ste()60 if (pstrCodecParams->s16AllocationMethod == SBC_SNR) in sbc_enc_bit_alloc_ste()62 ps16BitNeed = pstrCodecParams->as16ScaleFactor; in sbc_enc_bit_alloc_ste()63 s32MaxBitNeed = pstrCodecParams->s16MaxBitNeed; in sbc_enc_bit_alloc_ste()67 ps16BitNeed = pstrCodecParams->s16ScartchMemForBitAlloc; in sbc_enc_bit_alloc_ste()68 pas16ScaleFactor=pstrCodecParams->as16ScaleFactor; in sbc_enc_bit_alloc_ste()75 ps16GenTabPtr = (SINT16 *)sbc_enc_as16Offset4[pstrCodecParams->s16SamplingFreq]; in sbc_enc_bit_alloc_ste()79 ps16GenTabPtr = (SINT16 *)sbc_enc_as16Offset8[pstrCodecParams->s16SamplingFreq]; in sbc_enc_bit_alloc_ste()[all …]
45 void sbc_enc_bit_alloc_mono(SBC_ENC_PARAMS *pstrCodecParams) in sbc_enc_bit_alloc_mono() argument58 SINT32 s32NumOfSubBands = pstrCodecParams->s16NumOfSubBands; in sbc_enc_bit_alloc_mono()60 ps16BitNeed = pstrCodecParams->s16ScartchMemForBitAlloc; in sbc_enc_bit_alloc_mono()62 for (s32Ch = 0; s32Ch < pstrCodecParams->s16NumOfChannels; s32Ch++) in sbc_enc_bit_alloc_mono()65 ps16GenArrPtr = pstrCodecParams->as16Bits+s32Ch*SBC_MAX_NUM_OF_SUBBANDS; in sbc_enc_bit_alloc_mono()68 if (pstrCodecParams->s16AllocationMethod == SBC_SNR) in sbc_enc_bit_alloc_mono()70 ps16BitNeed = pstrCodecParams->as16ScaleFactor; in sbc_enc_bit_alloc_mono()79 sbc_enc_as16Offset4[pstrCodecParams->s16SamplingFreq]; in sbc_enc_bit_alloc_mono()84 sbc_enc_as16Offset8[pstrCodecParams->s16SamplingFreq]; in sbc_enc_bit_alloc_mono()88 if(pstrCodecParams->as16ScaleFactor[s32Ch*s32NumOfSubBands+s32Sb] == 0) in sbc_enc_bit_alloc_mono()[all …]