/external/aac/libAACenc/src/ |
D | aacenc.cpp | 110 static AAC_ENCODER_ERROR FDKaacEnc_InitCheckAncillary(INT bitRate, 122 INT bitRate, in FDKaacEnc_LimitBitrate() argument 138 prevBitRate = bitRate; in FDKaacEnc_LimitBitrate() 139 averageBitsPerFrame = (bitRate*(frameLength>>shift)) / (coreSamplingRate>>shift) / nSubFrames; in FDKaacEnc_LimitBitrate() 152 …bitRate = FDKmax(bitRate, ((((40 * nChannels) + transportBits + frameLength) * (coreSamplingRate))… in FDKaacEnc_LimitBitrate() 153 FDK_ASSERT(bitRate >= 0); in FDKaacEnc_LimitBitrate() 155 …bitRate = FDKmin(bitRate, ((nChannelsEff * MIN_BUFSIZE_PER_EFF_CHAN)*(coreSamplingRate>>shift)) / … in FDKaacEnc_LimitBitrate() 156 FDK_ASSERT(bitRate >= 0); in FDKaacEnc_LimitBitrate() 158 } while (prevBitRate != bitRate && iter++ < 3) ; in FDKaacEnc_LimitBitrate() 160 return bitRate; in FDKaacEnc_LimitBitrate() [all …]
|
D | aacenc_lib.cpp | 319 cc->bitRate = hAacConfig->bitRate; in H_ALLOC_MEM() 422 config->userBitrate = hAacConfig->bitRate; in aacEncDefaultConfig() 454 … aacEncDistributeSbrBits(CHANNEL_MAPPING *channelMapping, SBR_ELEMENT_INFO *sbrElInfo, INT bitRate) in aacEncDistributeSbrBits() argument 456 INT codebits = bitRate; in aacEncDistributeSbrBits() 464 …sbrElInfo[el].bitRate = (INT)(fMultNorm(channelMapping->elInfo[el].relativeBits, (FIXP_DBL… in aacEncDistributeSbrBits() 468 codebits -= sbrElInfo[el].bitRate; in aacEncDistributeSbrBits() 470 sbrElInfo[0].bitRate += codebits; in aacEncDistributeSbrBits() 481 INT bitRate, in aacEncoder_LimitBitrate() argument 501 bitRate = FDKmin(360000*nChannels, bitRate); in aacEncoder_LimitBitrate() 502 bitRate = FDKmax(8000*nChannels, bitRate); in aacEncoder_LimitBitrate() [all …]
|
D | pnsparam.cpp | 188 int FDKaacEnc_lookUpPnsUse (int bitRate, int sampleRate, int numChan, const int isLC) { in FDKaacEnc_lookUpPnsUse() argument 203 if(((ULONG)bitRate >= levelTable[i].brFrom) && in FDKaacEnc_lookUpPnsUse() 204 ((ULONG)bitRate <= levelTable[i].brTo) ) in FDKaacEnc_lookUpPnsUse() 241 INT bitRate, in FDKaacEnc_GetPnsParam() argument 267 hUsePns = FDKaacEnc_lookUpPnsUse (bitRate, sampleRate, numChan, isLC); in FDKaacEnc_GetPnsParam()
|
D | pnsparam.h | 128 int FDKaacEnc_lookUpPnsUse (int bitRate, int sampleRate, int numChan, const int isLC); 133 INT bitRate,
|
D | aacenc.h | 185 INT bitRate; /* encoder bit rate in bits/sec */ member 244 INT bitRate,
|
D | pns_func.h | 102 INT bitRate,
|
D | psy_main.h | 153 INT bitRate,
|
D | qc_main.cpp | 179 static INT FDKaacEnc_calcFrameLen(INT bitRate, in FDKaacEnc_calcFrameLen() argument 187 result = ((granuleLength)>>3)*(bitRate); in FDKaacEnc_calcFrameLen() 209 static INT FDKaacEnc_framePadding(INT bitRate, in FDKaacEnc_framePadding() argument 219 difference = FDKaacEnc_calcFrameLen( bitRate, in FDKaacEnc_framePadding() 484 INT bitRate, /* total bitrate */ in FDKaacEnc_AdjustBitrate() argument 492 paddingOn = FDKaacEnc_framePadding(bitRate, in FDKaacEnc_AdjustBitrate() 497 frameLen = paddingOn + FDKaacEnc_calcFrameLen(bitRate, in FDKaacEnc_AdjustBitrate()
|
D | qc_main.h | 164 INT bitRate,
|
D | aacenc_pns.cpp | 133 INT bitRate, in FDKaacEnc_InitPnsConfiguration() argument 145 bitRate, in FDKaacEnc_InitPnsConfiguration()
|
D | aacenc_tns.cpp | 252 const INT bitRate, in FDKaacEnc_GetTnsParam() argument 261 if ((bitRate >= tnsInfoTab[i].bitRateFrom[sbrLd?1:0]) && in FDKaacEnc_GetTnsParam() 262 bitRate <= tnsInfoTab[i].bitRateTo[sbrLd?1:0]) in FDKaacEnc_GetTnsParam() 372 AAC_ENCODER_ERROR FDKaacEnc_InitTnsConfiguration(INT bitRate, in FDKaacEnc_InitTnsConfiguration() argument 392 if (bitRate < 16000) in FDKaacEnc_InitTnsConfiguration() 452 … const TNS_PARAMETER_TABULATED* pCfg = FDKaacEnc_GetTnsParam(bitRate, channels, ldSbrPresent); in FDKaacEnc_InitTnsConfiguration()
|
D | psy_main.cpp | 309 INT bitRate, in FDKaacEnc_psyMainInit() argument 340 …ErrorStatus = FDKaacEnc_InitPsyConfiguration(bitRate/channelsEff, sampleRate, bandwidth, LONG_WIND… in FDKaacEnc_psyMainInit() 345 (bitRate*tnsChannels)/channelsEff, in FDKaacEnc_psyMainInit() 360 …ErrorStatus = FDKaacEnc_InitPsyConfiguration(bitRate/channelsEff, sampleRate, bandwidth, SHORT_WIN… in FDKaacEnc_psyMainInit() 365 (bitRate*tnsChannels)/channelsEff, in FDKaacEnc_psyMainInit() 398 bitRate/channelsEff, in FDKaacEnc_psyMainInit() 409 bitRate/channelsEff, in FDKaacEnc_psyMainInit()
|
/external/aac/libSBRenc/src/ |
D | sbr_encoder.cpp | 357 UINT bitRate, /*! the total bitrate in bits/sec */ in FDKsbrEnc_AdjustSbrSettings() argument 372 config->codecSettings.bitRate = bitRate; in FDKsbrEnc_AdjustSbrSettings() 379 if (bitRate==0) { in FDKsbrEnc_AdjustSbrSettings() 382 bitRate = 24000; in FDKsbrEnc_AdjustSbrSettings() 384 bitRate = 28000; in FDKsbrEnc_AdjustSbrSettings() 386 bitRate = 32000; in FDKsbrEnc_AdjustSbrSettings() 388 bitRate = 40000; in FDKsbrEnc_AdjustSbrSettings() 390 bitRate = 48000; in FDKsbrEnc_AdjustSbrSettings() 391 bitRate *= numChannels; in FDKsbrEnc_AdjustSbrSettings() 395 if (vbrMode<40) bitRate = 32000; in FDKsbrEnc_AdjustSbrSettings() [all …]
|
D | tran_det.cpp | 651 INT codecBitrate = params->codecSettings.bitRate; in FDKsbrEnc_InitSbrTransientDetector()
|
/external/aac/libSBRenc/include/ |
D | sbr_encoder.h | 106 INT bitRate; member 249 INT bitRate; member 285 UINT sbrEncoder_LimitBitRate(UINT bitRate, UINT numChannels, UINT coreSampleRate, AUDIO_OBJECT_TYPE…
|
/external/aac/libMpegTPEnc/src/ |
D | tpenc_adif.h | 102 INT bitRate; member
|
D | tpenc_adif.cpp | 110 INT totalBitRate = adif->bitRate; in adifWrite_EncodeHeader()
|
D | tpenc_lib.cpp | 265 hTpEnc->writer.adif.bitRate = hTpEnc->config.bitRate; in transportEnc_Init()
|
/external/aac/libAACdec/include/ |
D | aacdecoder_lib.h | 503 INT bitRate; /*!< Instantaneous bit rate. */ member
|
/external/aac/libSYS/include/ |
D | FDK_audio.h | 317 INT bitRate; /**< Average bitrate. */ member
|
/external/aac/libAACdec/src/ |
D | aacdecoder.cpp | 669 pStreamInfo->bitRate = 0; in CStreamInfoInit() 884 self->streamInfo.bitRate = 0; in CAacDecoder_Init()
|
D | aacdecoder_lib.cpp | 665 pSi->bitRate = (nBits * pSi->sampleRate)/pSi->frameSize; in aacDecoder_UpdateBitStreamCounters()
|