Home
last modified time | relevance | path

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

123

/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.cpp479 cc->bitRate = hAacConfig->bitRate; in H_ALLOC_MEM()
581 config->userBitrate = hAacConfig->bitRate; in aacEncDefaultConfig()
621 … aacEncDistributeSbrBits(CHANNEL_MAPPING *channelMapping, SBR_ELEMENT_INFO *sbrElInfo, INT bitRate) in aacEncDistributeSbrBits() argument
623 INT codebits = bitRate; in aacEncDistributeSbrBits()
631 …sbrElInfo[el].bitRate = (INT)(fMultNorm(channelMapping->elInfo[el].relativeBits, (FIXP_DBL… in aacEncDistributeSbrBits()
635 codebits -= sbrElInfo[el].bitRate; in aacEncDistributeSbrBits()
637 sbrElInfo[0].bitRate += codebits; in aacEncDistributeSbrBits()
648 INT bitRate, in aacEncoder_LimitBitrate() argument
668 bitRate = FDKmin(360000*nChannels, bitRate); in aacEncoder_LimitBitrate()
669 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,
/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/chromium_org/third_party/webrtc/modules/video_coding/main/source/
Dmedia_opt_util.cc194 _efficiency = parameters->bitRate * fecRate * _corrFecCost; in UpdateParameters()
200 _efficiency += parameters->bitRate * _residualPacketLossFec / in UpdateParameters()
241 _efficiency = parameters->bitRate * parameters->lossPr / in UpdateParameters()
303 (parameters->bitRate / (parameters->frameRate)); in AvgRecoveryFEC()
470 parameters->bitRate, in ProtectionFactor()
553 parameters->bitRate, in ProtectionFactor()
558 parameters->bitRate, in ProtectionFactor()
572 float bitRate = parameters->bitRate * bitRateRatio; in BitsPerFrame() local
579 return static_cast<int>(adjustmentFactor * bitRate / frameRate); in BitsPerFrame()
625 _efficiency = parameters->bitRate * fecRate * _corrFecCost; in UpdateParameters()
[all …]
Dmedia_opt_util.h51 VCMProtectionParameters() : rtt(0), lossPr(0.0f), bitRate(0.0f), in VCMProtectionParameters()
60 float bitRate; member
290 void UpdateBitRate(float bitRate);
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test_framework/
Dtest.cc39 uint32_t bitRate) in CodecTest() argument
41 _bitRate(bitRate), in CodecTest()
93 uint32_t bitRate /*=0*/) in CodecSettings() argument
95 if (bitRate > 0) in CodecSettings()
97 _bitRate = bitRate; in CodecSettings()
Dnormal_async_test.cc45 NormalAsyncTest::NormalAsyncTest(uint32_t bitRate) in NormalAsyncTest() argument
48 bitRate, in NormalAsyncTest()
86 uint32_t bitRate, unsigned int testNo) in NormalAsyncTest() argument
88 NormalTest(name, description, bitRate, testNo), in NormalAsyncTest()
106 uint32_t bitRate, unsigned int testNo, in NormalAsyncTest() argument
109 NormalTest(name, description, bitRate, testNo), in NormalAsyncTest()
Dtest.h27 uint32_t bitRate);
40 uint32_t bitRate=0);
Dnormal_async_test.h72 NormalAsyncTest(uint32_t bitRate);
76 uint32_t bitRate, unsigned int testNo);
78 uint32_t bitRate, unsigned int testNo,
Dbenchmark.cc72 const int bitRate[] = {50, 100, 200, 300, 400, 500, 600, 1000}; in Perform() local
79 const int nBitrates = sizeof(bitRate)/sizeof(*bitRate); in Perform()
133 _bitRate = (bitRate[k]); in Perform()
Dunit_test.cc179 UnitTest::CodecSpecific_SetBitrate(uint32_t bitRate, in CodecSpecific_SetBitrate() argument
182 return _encoder->SetRates(bitRate, _inst.maxFramerate); in CodecSpecific_SetBitrate()
750 const int bitRate[] = {100, 500}; in RateControlTests() local
751 const int nBitrates = sizeof(bitRate)/sizeof(*bitRate); in RateControlTests()
756 _bitRate = bitRate[i]; in RateControlTests()
Dnormal_test.cc42 uint32_t bitRate, unsigned int testNo) in NormalTest() argument
44 CodecTest(name, description, bitRate), in NormalTest()
/external/chromium_org/third_party/webrtc/modules/video_coding/utility/
Dframe_dropper.cc336 FrameDropper::SetRates(float bitRate, float incoming_frame_rate) in SetRates() argument
339 _accumulatorMax = bitRate * _windowSize; // bitRate * windowSize (in seconds) in SetRates()
340 if (_targetBitRate > 0.0f && bitRate < _targetBitRate && _accumulator > _accumulatorMax) in SetRates()
343 _accumulator = bitRate / _targetBitRate * _accumulator; in SetRates()
345 _targetBitRate = bitRate; in SetRates()
/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/chromium_org/third_party/webrtc/modules/video_coding/main/test/
Dtest_callbacks.cc421 SendStatsTest::SendStatistics(const uint32_t bitRate, in SendStatistics() argument
425 TEST(bitRate > _bitrate / 2 && bitRate < 3 * _bitrate / 2); in SendStatistics()
426 printf("VCM 1 sec: Bit rate: %u\tFrame rate: %u\n", bitRate, frameRate); in SendStatistics()
Dmt_rx_tx_test.cc115 float bitRate = args.bitRate; in MTRxTxTest() local
223 sendCodec.startBitrate = (int) bitRate; in MTRxTxTest()
262 vcm->SetChannelParameters(static_cast<uint32_t>(1000 * bitRate), in MTRxTxTest()
Dtester_main.cc57 args.bitRate = FLAGS_bitrate; in ParseArguments()
59 if (args.width < 1 || args.height < 1 || args.bitRate < 1 || in ParseArguments()
/external/chromium_org/third_party/webrtc/modules/video_coding/main/interface/
Dvideo_coding_defines.h103 virtual int32_t SendStatistics(const uint32_t bitRate,
114 virtual int32_t OnReceiveStatisticsUpdate(const uint32_t bitRate,
/external/aac/libMpegTPEnc/src/
Dtpenc_adif.h102 INT bitRate; member
/external/chromium_org/third_party/webrtc/modules/video_coding/utility/include/mock/
Dmock_frame_dropper.h34 void(float bitRate, float incoming_frame_rate));

123