webrtc/modules/video_coding/codecs/vp8
Markus Handell e1a198b41d VideoStreamEncoder: set at target quality based on codec.
The Chromium RTCVideoEncoder unfortunately doesn't set if the
result is at target quality, and the definition of the threshold
is buried in libvpx_vp8_encoder.h.

This change
* Updates VideoStreamEncoder to postprocess an incoming EncodedImage
by interpreting the incoming QP information instead.
* Updates the related VideoStreamEncoder test to simulate an encoder
producing images around the QP threshold.
* Updates the steady state VP8 screencast QP threshold to a central
include file.
* Moves this and previously existing EncodedImage post-processing to a
new method AugmentEncodedImage.

Bug: b/245029833
Change-Id: I69ae29ffe501e84f28908f7d9a8cfd066ba82b43
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/275380
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Markus Handell <handellm@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38091}
2022-09-15 12:15:17 +00:00
..
include Delete deprecated VP8Encoder::Create function 2022-05-17 13:23:24 +00:00
test Use designated initializers for webrtc::SimulcastStream 2022-07-05 12:23:44 +00:00
default_temporal_layers.cc Prepare to rename RTC_NOTREACHED to RTC_DCHECK_NOTREACHED 2021-11-15 21:44:59 +00:00
default_temporal_layers.h Optimize VP8 DefaultTemporalLayers by reducing set/map usage 2021-04-07 13:02:25 +00:00
default_temporal_layers_unittest.cc Delete tests with 4 temporal layers 2022-07-20 14:05:13 +00:00
libvpx_vp8_decoder.cc Remove WebRTC-NV12Decode field trial 2022-08-19 08:57:34 +00:00
libvpx_vp8_decoder.h Remove WebRTC-NV12Decode field trial 2022-08-19 08:57:34 +00:00
libvpx_vp8_encoder.cc VideoStreamEncoder: set at target quality based on codec. 2022-09-15 12:15:17 +00:00
libvpx_vp8_encoder.h VideoStreamEncoder: set at target quality based on codec. 2022-09-15 12:15:17 +00:00
libvpx_vp8_simulcast_test.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
screenshare_layers.cc Prepare to rename RTC_NOTREACHED to RTC_DCHECK_NOTREACHED 2021-11-15 21:44:59 +00:00
screenshare_layers.h Embed FrameDependencyTemplate builder helpers directly into the struct 2020-06-11 13:43:51 +00:00
screenshare_layers_unittest.cc Prepare to rename RTC_NOTREACHED to RTC_DCHECK_NOTREACHED 2021-11-15 21:44:59 +00:00
temporal_layers.h Move TemporalLayers to api/video_codecs. 2018-10-12 09:15:21 +00:00
temporal_layers_checker.cc Introduce RTC_CHECK_NOTREACHED(), an always-checking RTC_NOTREACHED() 2020-11-09 10:47:55 +00:00
vp8_scalability.cc Let PCF.GetRtpSenderCapabilities return codecs' scalabilityModes. 2022-07-05 13:28:33 +00:00
vp8_scalability.h Let PCF.GetRtpSenderCapabilities return codecs' scalabilityModes. 2022-07-05 13:28:33 +00:00