Lines Matching refs:averageBitsPerFrame
162 INT transportBits, prevBitRate, averageBitsPerFrame, shift = 0, iter=0; in FDKaacEnc_LimitBitrate() local
172 averageBitsPerFrame = (bitRate*(frameLength>>shift)) / (coreSamplingRate>>shift) / nSubFrames; in FDKaacEnc_LimitBitrate()
175 *pAverageBitsPerFrame = averageBitsPerFrame; in FDKaacEnc_LimitBitrate()
179 transportBits = transportEnc_GetStaticBits(hTpEnc, averageBitsPerFrame); in FDKaacEnc_LimitBitrate()
424 INT averageBitsPerFrame = 0; in FDKaacEnc_Initialize() local
471 &averageBitsPerFrame, in FDKaacEnc_Initialize()
600 qcInit.averageBits = (averageBitsPerFrame+7)&~7; in FDKaacEnc_Initialize()
604 qcInit.maxBits = fixMax(qcInit.maxBits, (averageBitsPerFrame+7)&~7); in FDKaacEnc_Initialize()
606 qcInit.minBits = fixMin(qcInit.minBits, averageBitsPerFrame&~7); in FDKaacEnc_Initialize()
611 qcInit.averageBits = (averageBitsPerFrame+7)&~7; in FDKaacEnc_Initialize()
615 …Bits = fixMin(MIN_BUFSIZE_PER_EFF_CHAN*cm->nChannelsEff, ((averageBitsPerFrame+7)&~7)+qcIn… in FDKaacEnc_Initialize()
617 …n(MIN_BUFSIZE_PER_EFF_CHAN*cm->nChannelsEff, fixMax(qcInit.maxBits, (averageBitsPerFrame+7+8)&~7)); in FDKaacEnc_Initialize()
619 …nBits = fixMax(0, ((averageBitsPerFrame-1)&~7)-qcInit.bitRes-transportEnc_GetStaticBits(hT… in FDKaacEnc_Initialize()
621 …qcInit.minBits = fixMin(qcInit.minBits, (averageBitsPerFrame - transportEnc_GetStaticBits(… in FDKaacEnc_Initialize()