/external/aac/libAACenc/src/ |
D | aacenc.cpp | 111 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() 185 …bitRate = FDKmax(bitRate, ((((40 * nChannels) + transportBits) * (coreSamplingRate)) / frameLength… in FDKaacEnc_LimitBitrate() 186 FDK_ASSERT(bitRate >= 0); in FDKaacEnc_LimitBitrate() 188 …bitRate = FDKmin(bitRate, ((nChannelsEff * MIN_BUFSIZE_PER_EFF_CHAN)*(coreSamplingRate>>shift)) / … in FDKaacEnc_LimitBitrate() 189 FDK_ASSERT(bitRate >= 0); in FDKaacEnc_LimitBitrate() [all …]
|
D | aacenc_lib.cpp | 463 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 …]
|
D | pnsparam.cpp | 190 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()
|
D | aacenc.h | 189 INT bitRate; /* encoder bit rate in bits/sec */ member 242 const INT bitRate, 282 INT bitRate,
|
D | pnsparam.h | 128 int FDKaacEnc_lookUpPnsUse (int bitRate, int sampleRate, int numChan, const int isLC); 133 INT bitRate,
|
D | pns_func.h | 102 INT bitRate,
|
D | psy_main.h | 153 INT bitRate,
|
D | qc_main.cpp | 176 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/ |
D | AppleLosslessSpecificBox.java | 31 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/ |
D | sbr_encoder.cpp | 395 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/ |
D | frame_dropper.cc | 266 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()
|
D | frame_dropper.h | 63 virtual void SetRates(float bitRate, float incoming_frame_rate);
|
/external/webrtc/webrtc/modules/video_coding/ |
D | media_opt_util.cc | 341 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()
|
D | media_opt_util.h | 51 bitRate(0.0f), in VCMProtectionParameters() 64 float bitRate; member 254 void UpdateBitRate(float bitRate);
|
D | video_receiver.cc | 73 uint32_t bitRate; in Process() local 75 _receiver.ReceiveStatistics(&bitRate, &frameRate); in Process() 76 _receiveStatsCallback->OnReceiveRatesUpdated(bitRate, frameRate); in Process()
|
D | video_sender.cc | 62 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/ |
D | ShadowMediaRecorder.java | 64 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/ |
D | sbr_encoder.h | 114 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/ |
D | video_coding_defines.h | 92 virtual int32_t SendStatistics(const uint32_t bitRate, 103 virtual void OnReceiveRatesUpdated(uint32_t bitRate, uint32_t frameRate) = 0;
|
/external/aac/libMpegTPEnc/src/ |
D | tpenc_adif.h | 102 INT bitRate; member
|
D | tpenc_adif.cpp | 110 INT totalBitRate = adif->bitRate; in adifWrite_EncodeHeader()
|
/external/webrtc/webrtc/modules/video_coding/utility/mock/ |
D | mock_frame_dropper.h | 28 MOCK_METHOD2(SetRates, void(float bitRate, float incoming_frame_rate));
|
/external/libopus/src/ |
D | opus_encoder.c | 202 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/ |
D | enc_API.c | 121 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()
|
D | control.h | 69 opus_int32 bitRate; member
|