Lines Matching refs:maxChannelBits
349 INT maxChannelBits) in FDKaacEnc_InitElementBits() argument
357 hQC->elementBits[0]->maxBitsEl = maxChannelBits; in FDKaacEnc_InitElementBits()
365 hQC->elementBits[0]->maxBitsEl = 2*maxChannelBits; in FDKaacEnc_InitElementBits()
378 hQC->elementBits[0]->maxBitsEl = maxChannelBits; in FDKaacEnc_InitElementBits()
379 hQC->elementBits[1]->maxBitsEl = 2*maxChannelBits; in FDKaacEnc_InitElementBits()
395 hQC->elementBits[0]->maxBitsEl = maxChannelBits; in FDKaacEnc_InitElementBits()
396 hQC->elementBits[1]->maxBitsEl = 2*maxChannelBits; in FDKaacEnc_InitElementBits()
397 hQC->elementBits[2]->maxBitsEl = maxChannelBits; in FDKaacEnc_InitElementBits()
413 hQC->elementBits[0]->maxBitsEl = maxChannelBits; in FDKaacEnc_InitElementBits()
414 hQC->elementBits[1]->maxBitsEl = 2*maxChannelBits; in FDKaacEnc_InitElementBits()
415 hQC->elementBits[2]->maxBitsEl = 2*maxChannelBits; in FDKaacEnc_InitElementBits()
430 int maxBitsTot = maxChannelBits * 5; /* LFE does not add to bit reservoir */ in FDKaacEnc_InitElementBits()
431 int sc = CountLeadingBits(fixMax(maxChannelBits,averageBitsTot)); in FDKaacEnc_InitElementBits()
432 int maxLfeBits = (int) FDKmax ( (INT)((fMult(lfeRate,(FIXP_DBL)(maxChannelBits<<sc))>>sc)<<1), in FDKaacEnc_InitElementBits()
435 maxChannelBits = (maxBitsTot - maxLfeBits); in FDKaacEnc_InitElementBits()
436 sc = CountLeadingBits(maxChannelBits); in FDKaacEnc_InitElementBits()
438 maxChannelBits = fMult((FIXP_DBL)maxChannelBits<<sc,GetInvInt(5))>>sc; in FDKaacEnc_InitElementBits()
445 hQC->elementBits[0]->maxBitsEl = maxChannelBits; in FDKaacEnc_InitElementBits()
446 hQC->elementBits[1]->maxBitsEl = 2*maxChannelBits; in FDKaacEnc_InitElementBits()
447 hQC->elementBits[2]->maxBitsEl = 2*maxChannelBits; in FDKaacEnc_InitElementBits()
465 int maxBitsTot = maxChannelBits * 7; /* LFE does not add to bit reservoir */ in FDKaacEnc_InitElementBits()
466 int sc = CountLeadingBits(fixMax(maxChannelBits,averageBitsTot)); in FDKaacEnc_InitElementBits()
467 int maxLfeBits = (int) FDKmax ( (INT)((fMult(lfeRate,(FIXP_DBL)(maxChannelBits<<sc))>>sc)<<1), in FDKaacEnc_InitElementBits()
470 maxChannelBits = (maxBitsTot - maxLfeBits) / 7; in FDKaacEnc_InitElementBits()
478 hQC->elementBits[0]->maxBitsEl = maxChannelBits; in FDKaacEnc_InitElementBits()
479 hQC->elementBits[1]->maxBitsEl = 2*maxChannelBits; in FDKaacEnc_InitElementBits()
480 hQC->elementBits[2]->maxBitsEl = 2*maxChannelBits; in FDKaacEnc_InitElementBits()
481 hQC->elementBits[cpe3Idx]->maxBitsEl = 2*maxChannelBits; in FDKaacEnc_InitElementBits()