Home
last modified time | relevance | path

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

12

/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) * (coreSamplingRate)) / frameLength… 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.cpp484 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()
[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.h184 INT bitRate; /* encoder bit rate in bits/sec */ member
245 INT bitRate,
Dpns_func.h102 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()
490 INT bitRate, /* total bitrate */ in FDKaacEnc_AdjustBitrate() argument
498 paddingOn = FDKaacEnc_framePadding(bitRate, in FDKaacEnc_AdjustBitrate()
503 frameLen = paddingOn + FDKaacEnc_calcFrameLen(bitRate, in FDKaacEnc_AdjustBitrate()
Dpsy_main.h153 INT bitRate,
Dqc_main.h164 INT bitRate,
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()
371 AAC_ENCODER_ERROR FDKaacEnc_InitTnsConfiguration(INT bitRate, in FDKaacEnc_InitTnsConfiguration() argument
391 if (bitRate < 16000) in FDKaacEnc_InitTnsConfiguration()
450 … const TNS_PARAMETER_TABULATED* pCfg = FDKaacEnc_GetTnsParam(bitRate, channels, ldSbrPresent); in FDKaacEnc_InitTnsConfiguration()
Daacenc_pns.cpp133 INT bitRate, in FDKaacEnc_InitPnsConfiguration() argument
145 bitRate, in FDKaacEnc_InitPnsConfiguration()
Dpsy_main.cpp304 INT bitRate, in FDKaacEnc_psyMainInit() argument
335 …ErrorStatus = FDKaacEnc_InitPsyConfiguration(bitRate/channelsEff, sampleRate, bandwidth, LONG_WIND… in FDKaacEnc_psyMainInit()
340 (bitRate*tnsChannels)/channelsEff, in FDKaacEnc_psyMainInit()
355 …ErrorStatus = FDKaacEnc_InitPsyConfiguration(bitRate/channelsEff, sampleRate, bandwidth, SHORT_WIN… in FDKaacEnc_psyMainInit()
360 (bitRate*tnsChannels)/channelsEff, in FDKaacEnc_psyMainInit()
393 bitRate/channelsEff, in FDKaacEnc_psyMainInit()
404 bitRate/channelsEff, in FDKaacEnc_psyMainInit()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/
DAppleLosslessSpecificBox.java31 private long bitRate; // 32bit field in AppleLosslessSpecificBox
107 return bitRate; in getBitRate()
110 public void setBitRate(int bitRate) { in setBitRate() argument
111 this.bitRate = bitRate; in setBitRate()
135 bitRate = IsoTypeReader.readUInt32(content); in _parseDetails()
151 IsoTypeWriter.writeUInt32(byteBuffer, bitRate); in getContent()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMediaRecorder.java64 public void setAudioEncodingBitRate(int bitRate) { in setAudioEncodingBitRate() argument
65 audioBitRate = bitRate; in setAudioEncodingBitRate()
129 public void setVideoEncodingBitRate(int bitRate) { in setVideoEncodingBitRate() argument
130 videoBitRate = bitRate; in setVideoEncodingBitRate()
/external/aac/libSBRenc/src/
Dsbr_encoder.cpp396 UINT bitRate, /*! the total bitrate in bits/sec */ in FDKsbrEnc_AdjustSbrSettings() argument
410 config->codecSettings.bitRate = bitRate; in FDKsbrEnc_AdjustSbrSettings()
416 if (bitRate==0) { in FDKsbrEnc_AdjustSbrSettings()
419 bitRate = 24000; in FDKsbrEnc_AdjustSbrSettings()
421 bitRate = 28000; in FDKsbrEnc_AdjustSbrSettings()
423 bitRate = 32000; in FDKsbrEnc_AdjustSbrSettings()
425 bitRate = 40000; in FDKsbrEnc_AdjustSbrSettings()
427 bitRate = 48000; in FDKsbrEnc_AdjustSbrSettings()
428 bitRate *= numChannels; in FDKsbrEnc_AdjustSbrSettings()
432 if (vbrMode<40) bitRate = 32000; in FDKsbrEnc_AdjustSbrSettings()
[all …]
/external/aac/libSBRenc/include/
Dsbr_encoder.h114 INT bitRate; member
256 INT bitRate; member
293 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.cpp271 hTpEnc->writer.adif.bitRate = hTpEnc->config.bitRate; in transportEnc_Init()
/external/libopus/src/
Dopus_encoder.c202 st->silk_mode.bitRate = 25000; in opus_encoder_init()
1467 … st->silk_mode.bitRate = st->stream_channels * ( 5000 + 1000 * ( st->Fs == 100 * frame_size ) ); in opus_encode_native()
1470 st->silk_mode.bitRate += ( total_bitRate - st->silk_mode.bitRate ) * 2 / 3; in opus_encode_native()
1473 st->silk_mode.bitRate += ( total_bitRate - st->silk_mode.bitRate ) * 3 / 5; in opus_encode_native()
1476 if( st->silk_mode.bitRate > total_bitRate * 4/5 ) { in opus_encode_native()
1477 st->silk_mode.bitRate = total_bitRate * 4/5; in opus_encode_native()
1482 celt_rate = total_bitRate - st->silk_mode.bitRate; in opus_encode_native()
1489 st->silk_mode.bitRate = total_bitRate; in opus_encode_native()
1526 rate_offset = MAX32(rate_offset, -2*st->silk_mode.bitRate/3); in opus_encode_native()
1529 st->silk_mode.bitRate += 3*rate_offset/5; in opus_encode_native()
[all …]
/external/libopus/silk/
Dcontrol.h69 opus_int32 bitRate; member
Denc_API.c121 encStatus->bitRate = state_Fxx[ 0 ].sCmn.TargetRate_bps; in silk_QueryEncoder()
236 TargetRate_bps = silk_RSHIFT32( encControl->bitRate, encControl->nChannelsInternal - 1 ); in silk_Encode()
384 … nBits = silk_DIV32_16( silk_MUL( encControl->bitRate, encControl->payloadSize_ms ), 1000 ); in silk_Encode()
400 TargetRate_bps = silk_LIMIT( TargetRate_bps, encControl->bitRate, 5000 ); in silk_Encode()
514 …psEnc->nBitsExceeded -= silk_DIV32_16( silk_MUL( encControl->bitRate, encControl->payloadSize_ms )… in silk_Encode()
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dbandwidth_estimator.c746 WebRtc_Word32* bitRate) in WebRtcIsac_GetUplinkBandwidth() argument
751 *bitRate = MIN_ISAC_BW; in WebRtcIsac_GetUplinkBandwidth()
755 *bitRate = MAX_ISAC_BW; in WebRtcIsac_GetUplinkBandwidth()
759 *bitRate = (WebRtc_Word32)(bwest_str->send_bw_avg); in WebRtcIsac_GetUplinkBandwidth()
Dbandwidth_estimator.h124 WebRtc_Word32* bitRate);
/external/aac/libAACdec/include/
Daacdecoder_lib.h549 INT bitRate; /*!< Instantaneous bit rate. */ member

12