Home
last modified time | relevance | path

Searched refs:bitRate (Results 1 – 22 of 22) sorted by relevance

/external/aac/libAACenc/src/
Daacenc.cpp110 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()
152bitRate = FDKmax(bitRate, ((((40 * nChannels) + transportBits + frameLength) * (coreSamplingRate))… in FDKaacEnc_LimitBitrate()
153 FDK_ASSERT(bitRate >= 0); in FDKaacEnc_LimitBitrate()
155bitRate = 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 …]
Daacenc_lib.cpp319 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 …]
Dpnsparam.cpp188 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()
Dpnsparam.h128 int FDKaacEnc_lookUpPnsUse (int bitRate, int sampleRate, int numChan, const int isLC);
133 INT bitRate,
Daacenc.h185 INT bitRate; /* encoder bit rate in bits/sec */ member
244 INT bitRate,
Dpns_func.h102 INT bitRate,
Dpsy_main.h153 INT bitRate,
Dqc_main.cpp179 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()
Dqc_main.h164 INT bitRate,
Daacenc_pns.cpp133 INT bitRate, in FDKaacEnc_InitPnsConfiguration() argument
145 bitRate, in FDKaacEnc_InitPnsConfiguration()
Daacenc_tns.cpp252 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()
Dpsy_main.cpp309 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/
Dsbr_encoder.cpp357 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 …]
Dtran_det.cpp651 INT codecBitrate = params->codecSettings.bitRate; in FDKsbrEnc_InitSbrTransientDetector()
/external/aac/libSBRenc/include/
Dsbr_encoder.h106 INT bitRate; member
249 INT bitRate; member
285 UINT sbrEncoder_LimitBitRate(UINT bitRate, UINT numChannels, UINT coreSampleRate, AUDIO_OBJECT_TYPE…
/external/aac/libMpegTPEnc/src/
Dtpenc_adif.h102 INT bitRate; member
Dtpenc_adif.cpp110 INT totalBitRate = adif->bitRate; in adifWrite_EncodeHeader()
Dtpenc_lib.cpp265 hTpEnc->writer.adif.bitRate = hTpEnc->config.bitRate; in transportEnc_Init()
/external/aac/libAACdec/include/
Daacdecoder_lib.h503 INT bitRate; /*!< Instantaneous bit rate. */ member
/external/aac/libSYS/include/
DFDK_audio.h317 INT bitRate; /**< Average bitrate. */ member
/external/aac/libAACdec/src/
Daacdecoder.cpp669 pStreamInfo->bitRate = 0; in CStreamInfoInit()
884 self->streamInfo.bitRate = 0; in CAacDecoder_Init()
Daacdecoder_lib.cpp665 pSi->bitRate = (nBits * pSi->sampleRate)/pSi->frameSize; in aacDecoder_UpdateBitStreamCounters()