Home
last modified time | relevance | path

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

12

/external/aac/libAACenc/src/
Daacenc.cpp122 INT FDKaacEnc_CalcBitsPerFrame(const INT bitRate, const INT frameLength, in FDKaacEnc_CalcBitsPerFrame() argument
130 return (bitRate * (frameLength >> shift)) / (samplingRate >> shift); in FDKaacEnc_CalcBitsPerFrame()
145 INT bitRate, INT framelength, INT ancillaryRate, INT *ancillaryBitsPerFrame,
150 INT nChannelsEff, INT bitRate, INT averageBits, in FDKaacEnc_LimitBitrate() argument
160 prevBitRate = bitRate; in FDKaacEnc_LimitBitrate()
162 FDKaacEnc_CalcBitsPerFrame(bitRate, frameLength, coreSamplingRate) / in FDKaacEnc_LimitBitrate()
176 bitRate = fMax(bitRate, in FDKaacEnc_LimitBitrate()
180 FDK_ASSERT(bitRate >= 0); in FDKaacEnc_LimitBitrate()
182 bitRate = fMin(bitRate, FDKaacEnc_CalcBitrate( in FDKaacEnc_LimitBitrate()
185 FDK_ASSERT(bitRate >= 0); in FDKaacEnc_LimitBitrate()
[all …]
Dpnsparam.cpp437 int FDKaacEnc_lookUpPnsUse(int bitRate, int sampleRate, int numChan, in FDKaacEnc_lookUpPnsUse() argument
451 if (((ULONG)bitRate >= levelTable[i].brFrom) && in FDKaacEnc_lookUpPnsUse()
452 ((ULONG)bitRate <= levelTable[i].brTo)) in FDKaacEnc_lookUpPnsUse()
501 AAC_ENCODER_ERROR FDKaacEnc_GetPnsParam(NOISEPARAMS *np, INT bitRate, in FDKaacEnc_GetPnsParam() argument
516 hUsePns = FDKaacEnc_lookUpPnsUse(bitRate, sampleRate, numChan, isLC); in FDKaacEnc_GetPnsParam()
534 hUsePns = FDKaacEnc_lookUpPnsUse(bitRate, sampleRate, numChan, isLC); in FDKaacEnc_GetPnsParam()
Daacenc_lib.cpp523 cc->bitRate = hAacConfig->bitRate; in H_ALLOC_MEM()
651 config->userBitrate = hAacConfig->bitRate; in aacEncDefaultConfig()
688 SBR_ELEMENT_INFO *sbrElInfo, INT bitRate) { in aacEncDistributeSbrBits() argument
689 INT codebits = bitRate; in aacEncDistributeSbrBits()
697 sbrElInfo[el].bitRate = in aacEncDistributeSbrBits()
698 fMultIfloor(channelMapping->elInfo[el].relativeBits, bitRate); in aacEncDistributeSbrBits()
704 codebits -= sbrElInfo[el].bitRate; in aacEncDistributeSbrBits()
706 sbrElInfo[0].bitRate += codebits; in aacEncDistributeSbrBits()
712 const CHANNEL_MODE channelMode, INT bitRate, in aacEncoder_LimitBitrate() argument
731 bitRate = FDKaacEnc_LimitBitrate(hTpEnc, aot, coreSamplingRate, frameLength, in aacEncoder_LimitBitrate()
[all …]
Daacenc.h218 INT bitRate; /* encoder bit rate in bits/sec */ member
277 INT FDKaacEnc_CalcBitsPerFrame(const INT bitRate, const INT frameLength,
313 INT nChannelsEff, INT bitRate, INT averageBits,
Dpnsparam.h139 int FDKaacEnc_lookUpPnsUse(int bitRate, int sampleRate, int numChan,
144 AAC_ENCODER_ERROR FDKaacEnc_GetPnsParam(NOISEPARAMS *np, INT bitRate,
Daacenc_tns.cpp256 static const TNS_PARAMETER_TABULATED *FDKaacEnc_GetTnsParam(const INT bitRate, in FDKaacEnc_GetTnsParam() argument
263 if ((bitRate >= tnsInfoTab[i].bitRateFrom[sbrLd ? 1 : 0]) && in FDKaacEnc_GetTnsParam()
264 bitRate <= tnsInfoTab[i].bitRateTo[sbrLd ? 1 : 0]) { in FDKaacEnc_GetTnsParam()
378 INT bitRate, INT sampleRate, INT channels, INT blockType, INT granuleLength, in FDKaacEnc_InitTnsConfiguration() argument
392 if (bitRate < 16000) tC->maxOrder -= 2; in FDKaacEnc_InitTnsConfiguration()
474 FDKaacEnc_GetTnsParam(bitRate, channels, ldSbrPresent); in FDKaacEnc_InitTnsConfiguration()
Dpns_func.h111 PNS_CONFIG *pnsConf, INT bitRate, INT sampleRate, INT usePns, INT sfbCnt,
Dqc_main.cpp184 static INT FDKaacEnc_calcFrameLen(INT bitRate, INT sampleRate, in FDKaacEnc_calcFrameLen() argument
189 result = ((granuleLength) >> 3) * (bitRate); in FDKaacEnc_calcFrameLen()
211 static INT FDKaacEnc_framePadding(INT bitRate, INT sampleRate, in FDKaacEnc_framePadding() argument
218 difference = FDKaacEnc_calcFrameLen(bitRate, sampleRate, granuleLength, in FDKaacEnc_framePadding()
481 INT bitRate, /* total bitrate */ in FDKaacEnc_AdjustBitrate() argument
489 paddingOn = FDKaacEnc_framePadding(bitRate, sampleRate, granuleLength, in FDKaacEnc_AdjustBitrate()
493 paddingOn + FDKaacEnc_calcFrameLen(bitRate, sampleRate, granuleLength, in FDKaacEnc_AdjustBitrate()
Dpsy_main.h149 INT sampleRate, INT granuleLength, INT bitRate, INT tnsMask, INT bandwidth,
Dpsy_main.cpp302 INT sampleRate, INT granuleLength, INT bitRate, INT tnsMask, INT bandwidth, in FDKaacEnc_psyMainInit() argument
337 bitRate / channelsEff, sampleRate, bandwidth, LONG_WINDOW, in FDKaacEnc_psyMainInit()
342 (bitRate * tnsChannels) / channelsEff, sampleRate, tnsChannels, in FDKaacEnc_psyMainInit()
351 bitRate / channelsEff, sampleRate, bandwidth, SHORT_WINDOW, in FDKaacEnc_psyMainInit()
357 (bitRate * tnsChannels) / channelsEff, sampleRate, tnsChannels, in FDKaacEnc_psyMainInit()
382 &hPsy->psyConf[0].pnsConf, bitRate / channelsEff, sampleRate, usePns, in FDKaacEnc_psyMainInit()
389 &hPsy->psyConf[1].pnsConf, bitRate / channelsEff, sampleRate, usePns, 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/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/aac/libSBRenc/src/
Dsbr_encoder.cpp440 UINT bitRate, /*! the total bitrate in bits/sec */ in FDKsbrEnc_AdjustSbrSettings() argument
454 config->codecSettings.bitRate = bitRate; in FDKsbrEnc_AdjustSbrSettings()
460 if (bitRate < 28000) { in FDKsbrEnc_AdjustSbrSettings()
463 } else if (bitRate >= 28000 && bitRate <= 48000) { in FDKsbrEnc_AdjustSbrSettings()
472 } else if (bitRate > 48000) { in FDKsbrEnc_AdjustSbrSettings()
477 if (bitRate == 0) { in FDKsbrEnc_AdjustSbrSettings()
480 bitRate = 24000; in FDKsbrEnc_AdjustSbrSettings()
482 bitRate = 28000; in FDKsbrEnc_AdjustSbrSettings()
484 bitRate = 32000; in FDKsbrEnc_AdjustSbrSettings()
486 bitRate = 40000; in FDKsbrEnc_AdjustSbrSettings()
[all …]
/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-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMediaRecorder.java67 protected void setAudioEncodingBitRate(int bitRate) { in setAudioEncodingBitRate() argument
68 audioBitRate = bitRate; in setAudioEncodingBitRate()
132 protected void setVideoEncodingBitRate(int bitRate) { in setVideoEncodingBitRate() argument
133 videoBitRate = bitRate; in setVideoEncodingBitRate()
/external/aac/libSBRenc/include/
Dsbr_encoder.h123 INT bitRate; member
282 INT bitRate; member
317 UINT sbrEncoder_LimitBitRate(UINT bitRate, UINT numChannels,
/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.h114 INT bitRate; member
Dtpenc_adif.cpp119 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/silk/
Dcontrol.h69 opus_int32 bitRate; member

12