Home
last modified time | relevance | path

Searched refs:target_bitrate (Results 1 – 25 of 41) sorted by relevance

12

/external/webrtc/webrtc/modules/video_coding/
Dmedia_optimization_unittest.cc140 uint32_t target_bitrate = media_opt_.SetTargetRates( in TEST_F() local
143 EXPECT_EQ(kCodecBitrateBps, static_cast<int>(target_bitrate)); in TEST_F()
148 target_bitrate = media_opt_.SetTargetRates(kMaxBitrateBps, 128, 100, in TEST_F()
150 EXPECT_EQ(kMaxBitrateBps / 2, static_cast<int>(target_bitrate)); in TEST_F()
Dmedia_optimization.cc143 uint32_t target_bitrate, in SetEncodingData() argument
151 target_bitrate, width, height, num_layers, mtu); in SetEncodingData()
157 uint32_t target_bitrate, in SetEncodingDataInternal() argument
172 video_target_bitrate_ = target_bitrate; in SetEncodingDataInternal()
173 float target_bitrate_kbps = static_cast<float>(target_bitrate) / 1000.0f; in SetEncodingDataInternal()
190 uint32_t target_bitrate, in SetTargetRates() argument
197 float target_bitrate_kbps = static_cast<float>(target_bitrate) / 1000.0f; in SetTargetRates()
272 video_target_bitrate_ = target_bitrate * (1.0 - protection_overhead_rate); in SetTargetRates()
Dgeneric_encoder.cc121 encoder_params_.target_bitrate = settings->startBitrate * 1000; in InitEncode()
179 params.target_bitrate != encoder_params_.target_bitrate || in SetEncoderParameters()
186 uint32_t target_bitrate_kbps = (params.target_bitrate + 500) / 1000; in SetEncoderParameters()
189 rate_observer_->OnSetRates(params.target_bitrate, in SetEncoderParameters()
Dvideo_sender.cc167 *bitrate = _encoder->GetEncoderParameters().target_bitrate; in Bitrate()
184 int32_t VideoSender::SetChannelParameters(uint32_t target_bitrate, in SetChannelParameters() argument
188 _mediaOpt.SetTargetRates(target_bitrate, lossRate, rtt, in SetChannelParameters()
200 if (params.target_bitrate == 0) in SetEncoderParameters()
Dvideo_coding_impl.cc127 int32_t SetChannelParameters(uint32_t target_bitrate, // bits/s. in SetChannelParameters() argument
130 return sender_.SetChannelParameters(target_bitrate, lossRate, rtt); in SetChannelParameters()
Dgeneric_encoder.h31 uint32_t target_bitrate; member
Dmedia_optimization.h59 uint32_t SetTargetRates(uint32_t target_bitrate,
Dqm_select.h206 void UpdateRates(float target_bitrate,
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dvp8_sequence_coder.cc97 int target_bitrate = strtol((parser->GetFlag("b")).c_str(), NULL, 10); in SequenceCoder() local
98 if (target_bitrate <= 0) { in SequenceCoder()
138 inst.startBitrate = target_bitrate; in SequenceCoder()
Dvp8_impl.cc275 unsigned int target_bitrate = stream_bitrates[stream_idx]; in SetRates() local
286 int tl0_bitrate = std::min(codec_.targetBitrate, target_bitrate); in SetRates()
287 max_bitrate = std::min(codec_.maxBitrate, target_bitrate); in SetRates()
288 target_bitrate = tl0_bitrate; in SetRates()
290 configurations_[i].rc_target_bitrate = target_bitrate; in SetRates()
292 target_bitrate, max_bitrate, framerate, &configurations_[i]); in SetRates()
Dsimulcast_unittest.h149 uint32_t target_bitrate) { in RunTest() argument
157 encoder->SetRates(target_bitrate, 30); in RunTest()
288 int target_bitrate, in ConfigureStream() argument
296 stream->targetBitrate = target_bitrate; in ConfigureStream()
/external/libvpx/libvpx/examples/
Dvp8_multi_resolution_encoder.c327 unsigned int target_bitrate[NUM_ENCODERS] = { 1000, 500, 100 }; in main() local
363 if (!target_bitrate[i]) { in main()
374 target_bitrate[i] = (int)strtol(argv[NUM_ENCODERS + 5 + i], NULL, 0); in main()
435 cfg[0].rc_target_bitrate = target_bitrate[0]; /* Set target bitrate */ in main()
443 cfg[i].rc_target_bitrate = target_bitrate[i]; in main()
/external/mesa3d/src/gallium/state_trackers/va/
Dpicture.c135 context->desc.h264enc.rate_ctrl.target_bitrate * in getEncParamPreset()
360 context->desc.h264enc.rate_ctrl.target_bitrate = rc->bits_per_second; in handleVAEncMiscParameterTypeRateControl()
362 …context->desc.h264enc.rate_ctrl.target_bitrate = rc->bits_per_second * (rc->target_percentage / 10… in handleVAEncMiscParameterTypeRateControl()
364 if (context->desc.h264enc.rate_ctrl.target_bitrate < 2000000) in handleVAEncMiscParameterTypeRateControl()
365 …nc.rate_ctrl.vbv_buffer_size = MIN2((context->desc.h264enc.rate_ctrl.target_bitrate * 2.75), 20000… in handleVAEncMiscParameterTypeRateControl()
367 … context->desc.h264enc.rate_ctrl.vbv_buffer_size = context->desc.h264enc.rate_ctrl.target_bitrate; in handleVAEncMiscParameterTypeRateControl()
/external/libvpx/libvpx/test/
Dencode_api_test.cc126 const int target_bitrate = 1000; in TEST() local
161 cfg[0].rc_target_bitrate = target_bitrate; /* Set target bitrate */ in TEST()
/external/mesa3d/src/gallium/state_trackers/omx_bellagio/
Dvid_enc.c1047 rate_ctrl->target_bitrate = OMX_VID_ENC_BITRATE_MIN; in enc_ControlPicture()
1049 rate_ctrl->target_bitrate = priv->bitrate.nTargetBitrate; in enc_ControlPicture()
1051 rate_ctrl->target_bitrate = OMX_VID_ENC_BITRATE_MAX; in enc_ControlPicture()
1052 rate_ctrl->peak_bitrate = rate_ctrl->target_bitrate; in enc_ControlPicture()
1053 if (rate_ctrl->target_bitrate < OMX_VID_ENC_BITRATE_MEDIAN) in enc_ControlPicture()
1054 … rate_ctrl->vbv_buffer_size = MIN2((rate_ctrl->target_bitrate * 2.75), OMX_VID_ENC_BITRATE_MEDIAN); in enc_ControlPicture()
1056 rate_ctrl->vbv_buffer_size = rate_ctrl->target_bitrate; in enc_ControlPicture()
1059 unsigned long long t = rate_ctrl->target_bitrate; in enc_ControlPicture()
1063 rate_ctrl->target_bits_picture = rate_ctrl->target_bitrate; in enc_ControlPicture()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimator_single_stream.cc178 unsigned int target_bitrate = remote_rate_->UpdateBandwidthEstimate(now_ms); in UpdateEstimate() local
183 observer_->OnReceiveBitrateChanged(ssrcs, target_bitrate); in UpdateEstimate()
Dremote_bitrate_estimator_unittest_helper.h192 unsigned int target_bitrate);
Dremote_bitrate_estimator_abs_send_time.cc374 unsigned int target_bitrate = remote_rate_.UpdateBandwidthEstimate(now_ms); in UpdateEstimate() local
377 observer_->OnReceiveBitrateChanged(Keys(ssrcs_), target_bitrate); in UpdateEstimate()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_rtcp_impl.cc160 unsigned int target_bitrate = 0; in Process() local
162 if (remote_bitrate_->LatestEstimate(&ssrcs, &target_bitrate)) { in Process()
164 target_bitrate = target_bitrate / ssrcs.size(); in Process()
166 rtcp_sender_.SetTargetBitrate(target_bitrate); in Process()
Drtp_sender.cc790 uint32_t target_bitrate = GetTargetBitrate(); in OnReceivedNACK() local
795 << target_bitrate; in OnReceivedNACK()
815 if (target_bitrate != 0 && avg_rtt) { in OnReceivedNACK()
818 (static_cast<size_t>(target_bitrate / 1000) * avg_rtt) >> 3; in OnReceivedNACK()
833 uint32_t target_bitrate = GetTargetBitrate(); in ProcessNACKBitRate() local
837 if (target_bitrate == 0) { in ProcessNACKBitRate()
856 return (byte_count * 8) < (target_bitrate / 1000 * time_interval); in ProcessNACKBitRate()
/external/webrtc/webrtc/call/
Dbitrate_allocator.h37 uint32_t OnNetworkChanged(uint32_t target_bitrate,
/external/libvpx/libvpx/vp8/common/
Donyx.h224 unsigned int target_bitrate[VPX_TS_MAX_PERIODICITY]; member
/external/webrtc/webrtc/modules/video_coding/include/
Dvideo_coding.h157 virtual int32_t SetChannelParameters(uint32_t target_bitrate,
/external/webrtc/webrtc/video/
Dvideo_loopback.cc49 DEFINE_int32(target_bitrate, 800, "Stream target bitrate in kbps.");
Dscreenshare_loopback.cc49 DEFINE_int32(target_bitrate, 2000, "Stream target bitrate in kbps.");

12