webrtc/modules/video_coding/codecs/vp8
Elad Alon cde8ab265e Use single FrameBufferController in VP8, created by a factory.
This CL paves the way to making FrameBufferController injectable.

LibvpxVp8Encoder can manage multiple streams. Prior to this CL,
each stream had its own frame buffer controller, all of them held
in a vector by LibvpxVp8Encoder. This complicated the code and
produced some code duplication (cf. SetupTemporalLayers).

This CL:
1. Replaces CreateVp8TemporalLayers() by a factory. (Later CLs
   will make this factory injectable.)
2. Makes LibvpxVp8Encoder use a single controller. This single
   controller will, in the case of multiple streams, delegate
   its work to multiple controllers, but that fact is not visible
   to LibvpxVp8Encoder.

This CL also squashes CL #126046 (Send notifications of RTT and
PLR changes to Vp8FrameBufferController) into it.

Bug: webrtc:10382
Change-Id: Id9b55734bebb457acc276f34a7a9e52cc19c8eb9
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/126483
Commit-Queue: Elad Alon <eladalon@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27206}
2019-03-20 11:54:02 +00:00
..
include Break FrameConfig out of Vp8TemporalLayers 2019-01-29 14:13:55 +00:00
test Revert "Delete CodecSpecificInfo argument from VideoDecoder::Decode" 2019-03-07 19:40:17 +00:00
default_temporal_layers.cc Use single FrameBufferController in VP8, created by a factory. 2019-03-20 11:54:02 +00:00
default_temporal_layers.h Use single FrameBufferController in VP8, created by a factory. 2019-03-20 11:54:02 +00:00
default_temporal_layers_unittest.cc Use single FrameBufferController in VP8, created by a factory. 2019-03-20 11:54:02 +00:00
libvpx_interface.cc webrtc: Remove semicolons. 2019-02-20 16:02:59 +00:00
libvpx_interface.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
libvpx_vp8_decoder.cc Revert "Delete CodecSpecificInfo argument from VideoDecoder::Decode" 2019-03-07 19:40:17 +00:00
libvpx_vp8_decoder.h Revert "Delete CodecSpecificInfo argument from VideoDecoder::Decode" 2019-03-07 19:40:17 +00:00
libvpx_vp8_encoder.cc Use single FrameBufferController in VP8, created by a factory. 2019-03-20 11:54:02 +00:00
libvpx_vp8_encoder.h Use single FrameBufferController in VP8, created by a factory. 2019-03-20 11:54:02 +00:00
libvpx_vp8_simulcast_test.cc Use function_video_(en|de)coder_factory from api 2018-10-26 14:54:19 +00:00
screenshare_layers.cc Use single FrameBufferController in VP8, created by a factory. 2019-03-20 11:54:02 +00:00
screenshare_layers.h Use single FrameBufferController in VP8, created by a factory. 2019-03-20 11:54:02 +00:00
screenshare_layers_unittest.cc Use single FrameBufferController in VP8, created by a factory. 2019-03-20 11:54:02 +00:00
temporal_layers.h Move TemporalLayers to api/video_codecs. 2018-10-12 09:15:21 +00:00
temporal_layers_checker.cc Break FrameConfig out of Vp8TemporalLayers 2019-01-29 14:13:55 +00:00