Lines Matching refs:bitRate
484 cc->bitRate = hAacConfig->bitRate; in H_ALLOC_MEM()
586 config->userBitrate = hAacConfig->bitRate; in aacEncDefaultConfig()
626 … aacEncDistributeSbrBits(CHANNEL_MAPPING *channelMapping, SBR_ELEMENT_INFO *sbrElInfo, INT bitRate) in aacEncDistributeSbrBits() argument
628 INT codebits = bitRate; in aacEncDistributeSbrBits()
636 …sbrElInfo[el].bitRate = (INT)(fMultNorm(channelMapping->elInfo[el].relativeBits, (FIXP_DBL… in aacEncDistributeSbrBits()
640 codebits -= sbrElInfo[el].bitRate; in aacEncDistributeSbrBits()
642 sbrElInfo[0].bitRate += codebits; in aacEncDistributeSbrBits()
653 INT bitRate, in aacEncoder_LimitBitrate() argument
673 bitRate = FDKmin(360000*nChannels, bitRate); in aacEncoder_LimitBitrate()
674 bitRate = FDKmax(8000*nChannels, bitRate); in aacEncoder_LimitBitrate()
678 bitRate = FDKmin(576000*nChannels, bitRate); in aacEncoder_LimitBitrate()
684 bitRate = FDKaacEnc_LimitBitrate( in aacEncoder_LimitBitrate()
690 bitRate, in aacEncoder_LimitBitrate()
702 initialBitrate = adjustedBitrate = bitRate; in aacEncoder_LimitBitrate()
722 sbrElementBitRateIn = sbrElInfo[e].bitRate; in aacEncoder_LimitBitrate()
751 bitRate = (initialBitrate==adjustedBitrate) ? adjustedBitrate : 0; in aacEncoder_LimitBitrate()
754 FDK_ASSERT(bitRate > 0); in aacEncoder_LimitBitrate()
756 return bitRate; in aacEncoder_LimitBitrate()
784 hAacConfig->bitRate = config->userBitrate; in FDKaacEnc_AdjustEncSettings()
856 hAacConfig->bitRate = config->userBitrate; in FDKaacEnc_AdjustEncSettings()
861 … hAacConfig->bitRate = FDKaacEnc_GetVBRBitrate(hAacConfig->bitrateMode, hAacConfig->channelMode); in FDKaacEnc_AdjustEncSettings()
871 hAacConfig->bitRate = (bitrate>>1); /* 0.5 bit per sample */ in FDKaacEnc_AdjustEncSettings()
876 hAacConfig->bitRate = (bitrate + (bitrate>>2))>>1; /* 0.625 bits per sample */ in FDKaacEnc_AdjustEncSettings()
879 hAacConfig->bitRate = (bitrate + (bitrate>>3)); /* 1.125 bits per sample */ in FDKaacEnc_AdjustEncSettings()
883 hAacConfig->bitRate = bitrate + (bitrate>>1); /* 1.5 bits per sample */ in FDKaacEnc_AdjustEncSettings()
897 hAacConfig->bitRate, in FDKaacEnc_AdjustEncSettings()
940 hAacConfig->bitRate = aacEncoder_LimitBitrate( in FDKaacEnc_AdjustEncSettings()
946 hAacConfig->bitRate, in FDKaacEnc_AdjustEncSettings()
1084 aacEncDistributeSbrBits(&channelMapping, sbrElInfo, hAacConfig->bitRate); in aacEncInit()
2038 …T)((hAacEncoder->aacConfig.bitrateMode==AACENC_BR_MODE_CBR) ? hAacEncoder->aacConfig.bitRate : -1); in aacEncoder_GetParam()