webrtc/modules/video_coding/utility
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
..
bandwidth_quality_scaler.cc In video replace non-owning pointer to rtc::TaskQueue with non-owning pointer to TaskQueueBase 2022-07-18 13:59:32 +00:00
bandwidth_quality_scaler.h In video replace non-owning pointer to rtc::TaskQueue with non-owning pointer to TaskQueueBase 2022-07-18 13:59:32 +00:00
bandwidth_quality_scaler_unittest.cc Update rtc::Event::Wait call sites to use TimeDelta. 2022-08-19 10:07:28 +00:00
decoded_frames_history.cc Add const to methods in DecodedFramesHistory 2021-11-10 12:30:18 +00:00
decoded_frames_history.h Add const to methods in DecodedFramesHistory 2021-11-10 12:30:18 +00:00
decoded_frames_history_unittest.cc Prepare to replace VideoLayerFrameId with int64_t. 2021-02-15 14:42:02 +00:00
frame_dropper.cc Use backticks not vertical bars to denote variables in comments for /modules/video_coding 2021-08-09 15:26:22 +00:00
frame_dropper.h Use backticks not vertical bars to denote variables in comments for /modules/video_coding 2021-08-09 15:26:22 +00:00
frame_dropper_unittest.cc Use backticks not vertical bars to denote variables in comments for /modules/video_coding 2021-08-09 15:26:22 +00:00
framerate_controller_deprecated.cc Move frame drop functionality in VideoAdapter into a separate class. 2021-08-19 11:50:41 +00:00
framerate_controller_deprecated.h Move frame drop functionality in VideoAdapter into a separate class. 2021-08-19 11:50:41 +00:00
framerate_controller_deprecated_unittest.cc Move frame drop functionality in VideoAdapter into a separate class. 2021-08-19 11:50:41 +00:00
ivf_defines.h Disambiguate kIvfHeaderSize for Mozilla unified build 2021-12-15 08:52:00 +00:00
ivf_file_reader.cc Disambiguate kIvfHeaderSize for Mozilla unified build 2021-12-15 08:52:00 +00:00
ivf_file_reader.h Remove RTC_DISALLOW_COPY_AND_ASSIGN from modules/ 2022-01-24 11:50:20 +00:00
ivf_file_reader_unittest.cc IvfFileReader: Fix SpatialIndex values 2021-01-25 13:11:45 +00:00
ivf_file_writer.cc Video: Avoid crashing when dump stream with IvfFileWriter. 2021-12-23 13:37:22 +00:00
ivf_file_writer.h Remove RTC_DISALLOW_COPY_AND_ASSIGN from modules/ 2022-01-24 11:50:20 +00:00
ivf_file_writer_unittest.cc Video: Avoid crashing when dump stream with IvfFileWriter. 2021-12-23 13:37:22 +00:00
qp_parser.cc Reland "Parse encoded frame QP if not provided by encoder" 2021-03-15 10:11:22 +00:00
qp_parser.h Reland "Parse encoded frame QP if not provided by encoder" 2021-03-15 10:11:22 +00:00
qp_parser_unittest.cc Reland "Parse encoded frame QP if not provided by encoder" 2021-03-15 10:11:22 +00:00
quality_scaler.cc In video replace non-owning pointer to rtc::TaskQueue with non-owning pointer to TaskQueueBase 2022-07-18 13:59:32 +00:00
quality_scaler.h In video replace non-owning pointer to rtc::TaskQueue with non-owning pointer to TaskQueueBase 2022-07-18 13:59:32 +00:00
quality_scaler_unittest.cc Update rtc::Event::Wait call sites to use TimeDelta. 2022-08-19 10:07:28 +00:00
simulcast_rate_allocator.cc Define SimulcastStream as an alias for SpatialLayer 2022-05-20 13:12:21 +00:00
simulcast_rate_allocator.h Remove RTC_DISALLOW_COPY_AND_ASSIGN from modules/ 2022-01-24 11:50:20 +00:00
simulcast_rate_allocator_unittest.cc Changes default pacing factor to 1.1x 2020-10-23 13:43:32 +00:00
simulcast_test_fixture_impl.cc Define SimulcastStream as an alias for SpatialLayer 2022-05-20 13:12:21 +00:00
simulcast_test_fixture_impl.h Remove top-level const from parameters in function declarations. 2022-01-26 11:05:25 +00:00
simulcast_utility.cc Reland "Only enable conference mode simulcast allocations with flag enabled" 2020-08-04 10:30:08 +00:00
simulcast_utility.h Fix vp8 simulcast screenshare and perf tests for it 2019-02-27 09:59:12 +00:00
vp8_constants.h VideoStreamEncoder: set at target quality based on codec. 2022-09-15 12:15:17 +00:00
vp8_header_parser.cc Clean VP8 header parser 2020-03-02 15:05:48 +00:00
vp8_header_parser.h Clean VP8 header parser 2020-03-02 15:05:48 +00:00
vp9_constants.h Reland "Rename vp9::FrameInfo to vp9::UncompressedHeader and add more fields." 2021-08-17 19:42:00 +00:00
vp9_uncompressed_header_parser.cc LSC: Apply clang-tidy's modernize-use-bool-literals 2022-01-24 20:42:01 +00:00
vp9_uncompressed_header_parser.h Change ParseUncompressedVp9Header implementation to use BitstreamReader 2021-09-01 22:52:15 +00:00
vp9_uncompressed_header_parser_unittest.cc in Vp9UncompressedHeaderParser fix reading delta quantization parameter 2021-09-02 13:24:31 +00:00