Home
last modified time | relevance | path

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

123

/external/aac/libAACenc/src/
Daacenc.cpp111 const INT bitRate, in FDKaacEnc_CalcBitsPerFrame() argument
123 return (bitRate*(frameLength>>shift)) / (samplingRate>>shift); in FDKaacEnc_CalcBitsPerFrame()
143 static AAC_ENCODER_ERROR FDKaacEnc_InitCheckAncillary(INT bitRate,
155 INT bitRate, in FDKaacEnc_LimitBitrate() argument
171 prevBitRate = bitRate; in FDKaacEnc_LimitBitrate()
172 averageBitsPerFrame = (bitRate*(frameLength>>shift)) / (coreSamplingRate>>shift) / nSubFrames; in FDKaacEnc_LimitBitrate()
185bitRate = FDKmax(bitRate, ((((40 * nChannels) + transportBits) * (coreSamplingRate)) / frameLength… in FDKaacEnc_LimitBitrate()
186 FDK_ASSERT(bitRate >= 0); in FDKaacEnc_LimitBitrate()
188bitRate = FDKmin(bitRate, ((nChannelsEff * MIN_BUFSIZE_PER_EFF_CHAN)*(coreSamplingRate>>shift)) / … in FDKaacEnc_LimitBitrate()
189 FDK_ASSERT(bitRate >= 0); in FDKaacEnc_LimitBitrate()
[all …]
Daacenc_lib.cpp463 cc->bitRate = hAacConfig->bitRate; in H_ALLOC_MEM()
556 config->userBitrate = hAacConfig->bitRate; in aacEncDefaultConfig()
597 … aacEncDistributeSbrBits(CHANNEL_MAPPING *channelMapping, SBR_ELEMENT_INFO *sbrElInfo, INT bitRate) in aacEncDistributeSbrBits() argument
599 INT codebits = bitRate; in aacEncDistributeSbrBits()
607 …sbrElInfo[el].bitRate = (INT)(fMultNorm(channelMapping->elInfo[el].relativeBits, (FIXP_DBL… in aacEncDistributeSbrBits()
611 codebits -= sbrElInfo[el].bitRate; in aacEncDistributeSbrBits()
613 sbrElInfo[0].bitRate += codebits; in aacEncDistributeSbrBits()
624 INT bitRate, in aacEncoder_LimitBitrate() argument
644 bitRate = FDKmin(360000*nChannels, bitRate); in aacEncoder_LimitBitrate()
645 bitRate = FDKmax(8000*nChannels, bitRate); in aacEncoder_LimitBitrate()
[all …]
Dpnsparam.cpp190 int FDKaacEnc_lookUpPnsUse (int bitRate, int sampleRate, int numChan, const int isLC) { in FDKaacEnc_lookUpPnsUse() argument
205 if(((ULONG)bitRate >= levelTable[i].brFrom) && in FDKaacEnc_lookUpPnsUse()
206 ((ULONG)bitRate <= levelTable[i].brTo) ) in FDKaacEnc_lookUpPnsUse()
244 INT bitRate, in FDKaacEnc_GetPnsParam() argument
270 hUsePns = FDKaacEnc_lookUpPnsUse (bitRate, sampleRate, numChan, isLC); in FDKaacEnc_GetPnsParam()
Daacenc.h189 INT bitRate; /* encoder bit rate in bits/sec */ member
242 const INT bitRate,
282 INT bitRate,
Dpnsparam.h128 int FDKaacEnc_lookUpPnsUse (int bitRate, int sampleRate, int numChan, const int isLC);
133 INT bitRate,
Dpns_func.h102 INT bitRate,
Dpsy_main.h153 INT bitRate,
Dqc_main.cpp176 static INT FDKaacEnc_calcFrameLen(INT bitRate, in FDKaacEnc_calcFrameLen() argument
184 result = ((granuleLength)>>3)*(bitRate); in FDKaacEnc_calcFrameLen()
206 static INT FDKaacEnc_framePadding(INT bitRate, in FDKaacEnc_framePadding() argument
216 difference = FDKaacEnc_calcFrameLen( bitRate, in FDKaacEnc_framePadding()
486 INT bitRate, /* total bitrate */ in FDKaacEnc_AdjustBitrate() argument
494 paddingOn = FDKaacEnc_framePadding(bitRate, in FDKaacEnc_AdjustBitrate()
499 frameLen = paddingOn + FDKaacEnc_calcFrameLen(bitRate, in FDKaacEnc_AdjustBitrate()
/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/aac/libSBRenc/src/
Dsbr_encoder.cpp395 UINT bitRate, /*! the total bitrate in bits/sec */ in FDKsbrEnc_AdjustSbrSettings() argument
409 config->codecSettings.bitRate = bitRate; in FDKsbrEnc_AdjustSbrSettings()
415 if (bitRate < 28000) { in FDKsbrEnc_AdjustSbrSettings()
419 else if (bitRate >= 28000 && bitRate <= 48000) { in FDKsbrEnc_AdjustSbrSettings()
427 else if (bitRate > 48000) { in FDKsbrEnc_AdjustSbrSettings()
432 if (bitRate==0) { in FDKsbrEnc_AdjustSbrSettings()
435 bitRate = 24000; in FDKsbrEnc_AdjustSbrSettings()
437 bitRate = 28000; in FDKsbrEnc_AdjustSbrSettings()
439 bitRate = 32000; in FDKsbrEnc_AdjustSbrSettings()
441 bitRate = 40000; in FDKsbrEnc_AdjustSbrSettings()
[all …]
/external/webrtc/webrtc/modules/video_coding/utility/
Dframe_dropper.cc266 void FrameDropper::SetRates(float bitRate, float incoming_frame_rate) { in SetRates() argument
268 _accumulatorMax = bitRate * _windowSize; // bitRate * windowSize (in seconds) in SetRates()
269 if (_targetBitRate > 0.0f && bitRate < _targetBitRate && in SetRates()
272 _accumulator = bitRate / _targetBitRate * _accumulator; in SetRates()
274 _targetBitRate = bitRate; in SetRates()
Dframe_dropper.h63 virtual void SetRates(float bitRate, float incoming_frame_rate);
/external/webrtc/webrtc/modules/video_coding/
Dmedia_opt_util.cc341 codeRateDelta, parameters->bitRate, parameters->frameRate, in ProtectionFactor()
416 codeRateKey, parameters->bitRate, packetLoss, 0); in ProtectionFactor()
419 codeRateDelta, parameters->bitRate, packetLoss, 1); in ProtectionFactor()
431 float bitRate = parameters->bitRate * bitRateRatio; in BitsPerFrame() local
438 return static_cast<int>(adjustmentFactor * bitRate / frameRate); in BitsPerFrame()
605 void VCMLossProtectionLogic::UpdateBitRate(float bitRate) { in UpdateBitRate() argument
606 _bitRate = bitRate; in UpdateBitRate()
641 _currentParameters.bitRate = _bitRate; in UpdateMethod()
Dmedia_opt_util.h51 bitRate(0.0f), in VCMProtectionParameters()
64 float bitRate; member
254 void UpdateBitRate(float bitRate);
Dvideo_receiver.cc73 uint32_t bitRate; in Process() local
75 _receiver.ReceiveStatistics(&bitRate, &frameRate); in Process()
76 _receiveStatsCallback->OnReceiveRatesUpdated(bitRate, frameRate); in Process()
Dvideo_sender.cc62 uint32_t bitRate = _mediaOpt.SentBitRate(); in Process() local
64 _sendStatsCallback->SendStatistics(bitRate, frameRate); in Process()
/external/robolectric/v1/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/include/
Dsbr_encoder.h114 INT bitRate; member
267 INT bitRate; member
304 UINT sbrEncoder_LimitBitRate(UINT bitRate, UINT numChannels, UINT coreSampleRate, AUDIO_OBJECT_TYPE…
/external/webrtc/webrtc/modules/video_coding/include/
Dvideo_coding_defines.h92 virtual int32_t SendStatistics(const uint32_t bitRate,
103 virtual void OnReceiveRatesUpdated(uint32_t bitRate, uint32_t frameRate) = 0;
/external/aac/libMpegTPEnc/src/
Dtpenc_adif.h102 INT bitRate; member
Dtpenc_adif.cpp110 INT totalBitRate = adif->bitRate; in adifWrite_EncodeHeader()
/external/webrtc/webrtc/modules/video_coding/utility/mock/
Dmock_frame_dropper.h28 MOCK_METHOD2(SetRates, void(float bitRate, float incoming_frame_rate));
/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/
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()
Dcontrol.h69 opus_int32 bitRate; member

123