webrtc/api/video_codecs
Erik Språng 4c6ca30019 Update VideoStreamEncoder to use new VideoEncoder::SetRates() method.
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}
2019-04-08 14:01:28 +00:00
..
test Delete unneeded direct includes of common_types.h 2019-04-01 07:18:13 +00:00
bitstream_parser.h Add interface class for bitstream parser. 2019-03-22 12:14:41 +00:00
BUILD.gn Export symbols needed by the Chromium component build (part 8). 2019-04-02 10:13:36 +00:00
builtin_video_decoder_factory.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
builtin_video_decoder_factory.h Export symbols needed by the Chromium component build (part 6). 2018-10-23 06:48:51 +00:00
builtin_video_encoder_factory.cc Use EncoderSimulcastProxy for all codecs 2019-01-23 15:59:54 +00:00
builtin_video_encoder_factory.h Export symbols needed by the Chromium component build (part 6). 2018-10-23 06:48:51 +00:00
OWNERS Add magjed/nisse/sprang/brandtr as api/video_codecs owners 2018-11-08 15:43:03 +00:00
sdp_video_format.cc Add copy and move operations to SdpVideoFormat. 2018-03-28 09:46:26 +00:00
sdp_video_format.h Export symbols needed by the Chromium component build (part 8). 2019-04-02 10:13:36 +00:00
video_codec.cc Delete unused constant kVideoCodecI420 2019-01-11 09:04:56 +00:00
video_codec.h H.264 temporal layers w/frame marking (PART 2/3) 2019-02-09 16:47:09 +00:00
video_decoder.cc Revert "Delete CodecSpecificInfo argument from VideoDecoder::Decode" 2019-03-07 19:40:17 +00:00
video_decoder.h Revert "Delete CodecSpecificInfo argument from VideoDecoder::Decode" 2019-03-07 19:40:17 +00:00
video_decoder_factory.cc Add receive stream id argument to CreateDecoder() method 2018-09-11 08:47:04 +00:00
video_decoder_factory.h Export symbols needed by the Chromium component build (part 8). 2019-04-02 10:13:36 +00:00
video_decoder_software_fallback_wrapper.cc Revert "Delete CodecSpecificInfo argument from VideoDecoder::Decode" 2019-03-07 19:40:17 +00:00
video_decoder_software_fallback_wrapper.h Export symbols needed by the Chromium component build (part 8). 2019-04-02 10:13:36 +00:00
video_encoder.cc Update VideoStreamEncoder to use new VideoEncoder::SetRates() method. 2019-04-08 14:01:28 +00:00
video_encoder.h Update VideoStreamEncoder to use new VideoEncoder::SetRates() method. 2019-04-08 14:01:28 +00:00
video_encoder_config.cc Implement the encoding RtpParameter scaleResolutionDownBy 2019-01-29 14:32:17 +00:00
video_encoder_config.h Implement the encoding RtpParameter scaleResolutionDownBy 2019-01-29 14:32:17 +00:00
video_encoder_factory.h Revert "Replace VideoEncoderFactory::QueryVideoEncoder with VideoEncoder::GetEncoderInfo" 2018-12-10 10:36:00 +00:00
video_encoder_software_fallback_wrapper.cc Delete unneeded direct includes of common_types.h 2019-04-01 07:18:13 +00:00
video_encoder_software_fallback_wrapper.h Export symbols needed by the Chromium component build (part 8). 2019-04-02 10:13:36 +00:00
vp8_frame_buffer_controller.h Add OnLossNotification() to VideoEncoder and Vp8FrameBufferController 2019-04-04 10:57:02 +00:00
vp8_frame_config.cc Break FrameConfig out of Vp8TemporalLayers 2019-01-29 14:13:55 +00:00
vp8_frame_config.h Break FrameConfig out of Vp8TemporalLayers 2019-01-29 14:13:55 +00:00
vp8_temporal_layers.cc Add OnLossNotification() to VideoEncoder and Vp8FrameBufferController 2019-04-04 10:57:02 +00:00
vp8_temporal_layers.h Add OnLossNotification() to VideoEncoder and Vp8FrameBufferController 2019-04-04 10:57:02 +00:00
vp8_temporal_layers_factory.cc Use single FrameBufferController in VP8, created by a factory. 2019-03-20 11:54:02 +00:00
vp8_temporal_layers_factory.h Use single FrameBufferController in VP8, created by a factory. 2019-03-20 11:54:02 +00:00