Searched refs:s32NumOfSubBands (Results 1 – 4 of 4) sorted by relevance
57 int32_t s32NumOfSubBands = pstrCodecParams->s16NumOfSubBands; in sbc_enc_bit_alloc_mono() local62 ps16GenBufPtr = ps16BitNeed + s32Ch * s32NumOfSubBands; in sbc_enc_bit_alloc_mono()68 ps16GenBufPtr = ps16BitNeed + s32Ch * s32NumOfSubBands; in sbc_enc_bit_alloc_mono()70 ps16GenBufPtr = ps16BitNeed + s32Ch * s32NumOfSubBands; in sbc_enc_bit_alloc_mono()71 if (s32NumOfSubBands == 4) { in sbc_enc_bit_alloc_mono()78 for (s32Sb = 0; s32Sb < s32NumOfSubBands; s32Sb++) { in sbc_enc_bit_alloc_mono()80 ->as16ScaleFactor[s32Ch * s32NumOfSubBands + s32Sb] == 0) in sbc_enc_bit_alloc_mono()85 ->as16ScaleFactor[s32Ch * s32NumOfSubBands + s32Sb] - in sbc_enc_bit_alloc_mono()99 ps16GenBufPtr = ps16BitNeed + s32Ch * s32NumOfSubBands; in sbc_enc_bit_alloc_mono()100 for (s32Sb = 0; s32Sb < s32NumOfSubBands; s32Sb++) { in sbc_enc_bit_alloc_mono()[all …]
56 int32_t s32NumOfSubBands = pstrCodecParams->s16NumOfSubBands; in sbc_enc_bit_alloc_ste() local69 if (s32NumOfSubBands == 4) { in sbc_enc_bit_alloc_ste()77 for (s32Sb = 0; s32Sb < s32NumOfSubBands; s32Sb++) { in sbc_enc_bit_alloc_ste()107 for (s32Sb = 0; s32Sb < 2 * s32NumOfSubBands; s32Sb++) { in sbc_enc_bit_alloc_ste()128 for (s32Sb = 0; s32Sb < s32NumOfSubBands; s32Sb++) { in sbc_enc_bit_alloc_ste()144 ps16GenArrPtr -= 2 * s32NumOfSubBands; in sbc_enc_bit_alloc_ste()146 while ((s32BitCount > 0) && (s32Sb < s32NumOfSubBands)) { in sbc_enc_bit_alloc_ste()162 ps16GenBufPtr = ps16BitNeed + s32NumOfSubBands + s32Sb; in sbc_enc_bit_alloc_ste()163 ps16GenArrPtr = pstrCodecParams->as16Bits + s32NumOfSubBands + s32Sb; in sbc_enc_bit_alloc_ste()171 while ((s32BitCount > 0) && (s32Sb < s32NumOfSubBands)) { in sbc_enc_bit_alloc_ste()[all …]
53 register int32_t s32NumOfSubBands = pstrEncParams->s16NumOfSubBands; in SBC_Encode() local56 if (s32NumOfSubBands == 4) in SBC_Encode()63 s32Ch = pstrEncParams->s16NumOfChannels * s32NumOfSubBands; in SBC_Encode()88 for (s32Sb = 0; s32Sb < s32NumOfSubBands - 1; s32Sb++) { in SBC_Encode()95 *pSum = (*SbBuffer + *(SbBuffer + s32NumOfSubBands)) >> 1; in SBC_Encode()98 *pDiff = (*SbBuffer - *(SbBuffer + s32NumOfSubBands)) >> 1; in SBC_Encode()113 if ((*ps16ScfL + *(ps16ScfL + s32NumOfSubBands)) > in SBC_Encode()120 *(ps16ScfL + s32NumOfSubBands) = (int16_t)u32CountDiff; in SBC_Encode()128 *(SbBuffer + s32NumOfSubBands) = *pDiff; in SBC_Encode()130 SbBuffer += s32NumOfSubBands << 1; in SBC_Encode()
71 int32_t s32NumOfSubBands = pstrEncParams->s16NumOfSubBands; in EncPacking() local96 for (s32Sb = 0; s32Sb < s32NumOfSubBands; s32Sb++) { in EncPacking()102 if (s32NumOfSubBands == SUB_BANDS_4) { in EncPacking()113 s32Sb = s32NumOfChannels * s32NumOfSubBands; in EncPacking()236 for (s32LoopCountJ = 7; s32LoopCountJ >= (8 - s32NumOfSubBands); in EncPacking()