Searched refs:s32NumOfSubBands (Results 1 – 4 of 4) sorted by relevance
58 SINT32 s32NumOfSubBands = pstrCodecParams->s16NumOfSubBands; in sbc_enc_bit_alloc_mono() local64 ps16GenBufPtr = ps16BitNeed + s32Ch*s32NumOfSubBands; in sbc_enc_bit_alloc_mono()71 ps16GenBufPtr = ps16BitNeed + s32Ch * s32NumOfSubBands; in sbc_enc_bit_alloc_mono()75 ps16GenBufPtr = ps16BitNeed + s32Ch*s32NumOfSubBands; in sbc_enc_bit_alloc_mono()76 if(s32NumOfSubBands == 4) in sbc_enc_bit_alloc_mono()86 for(s32Sb=0; s32Sb<s32NumOfSubBands; s32Sb++) in sbc_enc_bit_alloc_mono()88 if(pstrCodecParams->as16ScaleFactor[s32Ch*s32NumOfSubBands+s32Sb] == 0) in sbc_enc_bit_alloc_mono()93 (SINT32)(pstrCodecParams->as16ScaleFactor[s32Ch*s32NumOfSubBands+s32Sb] in sbc_enc_bit_alloc_mono()108 ps16GenBufPtr = ps16BitNeed + s32Ch*s32NumOfSubBands; in sbc_enc_bit_alloc_mono()109 for(s32Sb=0; s32Sb<s32NumOfSubBands; s32Sb++) in sbc_enc_bit_alloc_mono()[all …]
56 SINT32 s32NumOfSubBands = pstrCodecParams->s16NumOfSubBands; in sbc_enc_bit_alloc_ste() local73 if (s32NumOfSubBands == 4) in sbc_enc_bit_alloc_ste()82 for (s32Sb = 0; s32Sb < s32NumOfSubBands; s32Sb++) in sbc_enc_bit_alloc_ste()116 for (s32Sb = 0; s32Sb < 2*s32NumOfSubBands; s32Sb++) in sbc_enc_bit_alloc_ste()140 for (s32Sb = 0; s32Sb < s32NumOfSubBands; s32Sb++) in sbc_enc_bit_alloc_ste()156 ps16GenArrPtr -= 2*s32NumOfSubBands; in sbc_enc_bit_alloc_ste()158 while ( (s32BitCount > 0) && (s32Sb < s32NumOfSubBands) ) in sbc_enc_bit_alloc_ste()181 ps16GenBufPtr = ps16BitNeed+s32NumOfSubBands+s32Sb; in sbc_enc_bit_alloc_ste()182 ps16GenArrPtr = pstrCodecParams->as16Bits+s32NumOfSubBands+s32Sb; in sbc_enc_bit_alloc_ste()190 while ((s32BitCount >0) && (s32Sb < s32NumOfSubBands)) in sbc_enc_bit_alloc_ste()[all …]
136 register SINT32 s32NumOfSubBands = pstrEncParams->s16NumOfSubBands; in SBC_Encoder() local148 if (s32NumOfSubBands == 4) in SBC_Encoder()155 s32Ch=pstrEncParams->s16NumOfChannels*s32NumOfSubBands; in SBC_Encoder()189 for (s32Sb = 0; s32Sb < s32NumOfSubBands-1; s32Sb++) in SBC_Encoder()198 *pSum=(*SbBuffer+*(SbBuffer+s32NumOfSubBands))>>1; in SBC_Encoder()202 *pDiff=(*SbBuffer-*(SbBuffer+s32NumOfSubBands))>>1; in SBC_Encoder()222 … if ( (*ps16ScfL + *(ps16ScfL+s32NumOfSubBands)) > (SINT16)(u32CountSum + u32CountDiff) ) in SBC_Encoder()232 *(ps16ScfL+s32NumOfSubBands) = (SINT16)u32CountDiff; in SBC_Encoder()241 *(SbBuffer+s32NumOfSubBands) = *pDiff; in SBC_Encoder()243 SbBuffer += s32NumOfSubBands<<1; in SBC_Encoder()
72 SINT32 s32NumOfSubBands = pstrEncParams->s16NumOfSubBands; in EncPacking() local98 for (s32Sb = 0; s32Sb < s32NumOfSubBands; s32Sb++) in EncPacking()105 if (s32NumOfSubBands == SUB_BANDS_4) in EncPacking()119 s32Sb=s32NumOfChannels*s32NumOfSubBands; in EncPacking()257 for (s32LoopCountJ = 7; s32LoopCountJ >= (8 - s32NumOfSubBands); s32LoopCountJ--) in EncPacking()