Home
last modified time | relevance | path

Searched refs:new_bitrate_kbit (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dsimulcast_encoder_adapter.cc325 int SimulcastEncoderAdapter::SetRates(uint32_t new_bitrate_kbit, in SetRates() argument
333 if (codec_.maxBitrate > 0 && new_bitrate_kbit > codec_.maxBitrate) { in SetRates()
334 new_bitrate_kbit = codec_.maxBitrate; in SetRates()
336 if (new_bitrate_kbit < codec_.minBitrate) { in SetRates()
337 new_bitrate_kbit = codec_.minBitrate; in SetRates()
340 new_bitrate_kbit < codec_.simulcastStream[0].minBitrate) { in SetRates()
341 new_bitrate_kbit = codec_.simulcastStream[0].minBitrate; in SetRates()
349 new_bitrate_kbit, &send_stream); in SetRates()
393 uint32_t new_bitrate_kbit, in GetStreamBitrate() argument
397 return new_bitrate_kbit; in GetStreamBitrate()
[all …]
Dsimulcast_encoder_adapter.h48 int SetRates(uint32_t new_bitrate_kbit, uint32_t new_framerate) override;
99 uint32_t new_bitrate_kbit,
Dvp8_impl.cc210 int VP8EncoderImpl::SetRates(uint32_t new_bitrate_kbit, in SetRates() argument
221 if (codec_.maxBitrate > 0 && new_bitrate_kbit > codec_.maxBitrate) { in SetRates()
222 new_bitrate_kbit = codec_.maxBitrate; in SetRates()
224 if (new_bitrate_kbit < codec_.minBitrate) { in SetRates()
225 new_bitrate_kbit = codec_.minBitrate; in SetRates()
228 new_bitrate_kbit < codec_.simulcastStream[0].minBitrate) { in SetRates()
229 new_bitrate_kbit = codec_.simulcastStream[0].minBitrate; in SetRates()
242 if (k_pixels_per_frame > new_bitrate_kbit) { in SetRates()
244 down_scale_bitrate_ = new_bitrate_kbit; in SetRates()
248 if (new_bitrate_kbit > (2 * down_scale_bitrate_) || in SetRates()
[all …]
Dvp8_impl.h57 virtual int SetRates(uint32_t new_bitrate_kbit, uint32_t frame_rate);
/external/webrtc/webrtc/modules/video_coding/codecs/h264/
Dh264_video_toolbox_encoder.h47 int SetRates(uint32_t new_bitrate_kbit, uint32_t frame_rate) override;
Dh264_video_toolbox_encoder.cc316 int H264VideoToolboxEncoder::SetRates(uint32_t new_bitrate_kbit, in SetRates() argument
318 bitrate_ = new_bitrate_kbit * 1000; in SetRates()
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc192 int VP9EncoderImpl::SetRates(uint32_t new_bitrate_kbit, in SetRates() argument
204 if (codec_.maxBitrate > 0 && new_bitrate_kbit > codec_.maxBitrate) { in SetRates()
205 new_bitrate_kbit = codec_.maxBitrate; in SetRates()
207 config_->rc_target_bitrate = new_bitrate_kbit; in SetRates()
209 spatial_layer_->ConfigureBitrate(new_bitrate_kbit, 0); in SetRates()
Dvp9_impl.h48 int SetRates(uint32_t new_bitrate_kbit, uint32_t frame_rate) override;