mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-17 07:37:51 +01:00
![]() This CL wires up the new SetRates() method of the video encoders, and refactors a few things in the process: Most notably, the VideoStreamEncoderInterface is update so that the |target_headroom| parameter is replaced with |link_allocation|, meaning that instead of indicating bitrate capacity in excess of the target bitrate, it indicates to total network capacity allocated for the stream including the target bitrate. This matches the VideoEncoder API. The VideoEncoder::RateControlParameters struct gets a few new helper methods. In VideoStreamEncoder, instead of adding more fields to the |last_observed_bitrate*| family, uses an optional struct that inherits from VideoEncoder::RateControlParameters. Bug: webrtc:10481 Change-Id: Iee3965531142ae9b964ed86c0d51db59b1cdd61c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/131123 Commit-Queue: Erik Språng <sprang@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Reviewed-by: Åsa Persson <asapersson@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27487} |
||
---|---|---|
.. | ||
test | ||
bitstream_parser.h | ||
BUILD.gn | ||
builtin_video_decoder_factory.cc | ||
builtin_video_decoder_factory.h | ||
builtin_video_encoder_factory.cc | ||
builtin_video_encoder_factory.h | ||
OWNERS | ||
sdp_video_format.cc | ||
sdp_video_format.h | ||
video_codec.cc | ||
video_codec.h | ||
video_decoder.cc | ||
video_decoder.h | ||
video_decoder_factory.cc | ||
video_decoder_factory.h | ||
video_decoder_software_fallback_wrapper.cc | ||
video_decoder_software_fallback_wrapper.h | ||
video_encoder.cc | ||
video_encoder.h | ||
video_encoder_config.cc | ||
video_encoder_config.h | ||
video_encoder_factory.h | ||
video_encoder_software_fallback_wrapper.cc | ||
video_encoder_software_fallback_wrapper.h | ||
vp8_frame_buffer_controller.h | ||
vp8_frame_config.cc | ||
vp8_frame_config.h | ||
vp8_temporal_layers.cc | ||
vp8_temporal_layers.h | ||
vp8_temporal_layers_factory.cc | ||
vp8_temporal_layers_factory.h |