mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-14 14:20:45 +01:00
![]() As part of go/unblocking-vp9-simulcast (Step 1), EncodedImage is being upgraded to be able to differentiate between what is a simulcast index and what is a spatial index. In order not to break existing code assuming that "if codec != VP9, SpatialIndex() is the simulcast index", SimulcastIndex() has fallback logic to return the value of spatial_index_ in the event that SetSimulcastIndex() has not been called. This allows migrating external code from (Set)SpatialIndex() to (Set)SimulcastIndex(). During this intermediate time, codec gates are still necessary in some places of the code, see TODOs added. In a follow-up CL, after having fixed dependencies, we'll be able to remove the fallback logic and rely on SimulcastIndex() and SpatialIndex() actually being the advertised index and "if codec..." hacks will be a thing of the past! Bug: webrtc:14884 Change-Id: I70095c091d0ce2336640451150888a3c3841df80 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/293343 Commit-Queue: Henrik Boström <hbos@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Reviewed-by: Evan Shrubsole <eshr@webrtc.org> Reviewed-by: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39318} |
||
---|---|---|
.. | ||
bandwidth_quality_scaler.cc | ||
bandwidth_quality_scaler.h | ||
bandwidth_quality_scaler_unittest.cc | ||
decoded_frames_history.cc | ||
decoded_frames_history.h | ||
decoded_frames_history_unittest.cc | ||
frame_dropper.cc | ||
frame_dropper.h | ||
frame_dropper_unittest.cc | ||
framerate_controller_deprecated.cc | ||
framerate_controller_deprecated.h | ||
framerate_controller_deprecated_unittest.cc | ||
ivf_defines.h | ||
ivf_file_reader.cc | ||
ivf_file_reader.h | ||
ivf_file_reader_unittest.cc | ||
ivf_file_writer.cc | ||
ivf_file_writer.h | ||
ivf_file_writer_unittest.cc | ||
qp_parser.cc | ||
qp_parser.h | ||
qp_parser_unittest.cc | ||
quality_scaler.cc | ||
quality_scaler.h | ||
quality_scaler_unittest.cc | ||
simulcast_rate_allocator.cc | ||
simulcast_rate_allocator.h | ||
simulcast_rate_allocator_unittest.cc | ||
simulcast_test_fixture_impl.cc | ||
simulcast_test_fixture_impl.h | ||
simulcast_utility.cc | ||
simulcast_utility.h | ||
vp8_constants.h | ||
vp8_header_parser.cc | ||
vp8_header_parser.h | ||
vp9_constants.h | ||
vp9_uncompressed_header_parser.cc | ||
vp9_uncompressed_header_parser.h | ||
vp9_uncompressed_header_parser_unittest.cc |