webrtc/modules/video_coding/svc
Erik Språng e94dcefbd4 Fix bug in SvcRateAllocator capping to VideoCodec.maxBitrate
When allocating bitrate, some parts of the coded directly uses the bitrate parameter, while others lets it be capped by VideoCodec.maxBitrate. This may result in an inconsistency between expected and actual number of temporal layers, causing a crash.

Even better would be to update VideoCodecInitializer to not create
VideoCodec instances where there's not enough maxBitrate to activate
all spatial layers - but that's a much more complex issue.

Bug: chromium:1423365
Change-Id: Ic74b68261ea6043f1795accdd9864319ab535435
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/298041
Commit-Queue: Erik Språng <sprang@webrtc.org>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39593}
2023-03-17 17:08:53 +00:00
..
BUILD.gn Add support for scalability modes L2T3 and S2T3 2022-07-01 08:17:04 +00:00
create_scalability_structure.cc Add support for more scalability modes (1.5:1 resolution ratio). 2022-08-31 11:01:16 +00:00
create_scalability_structure.h New enum ScalabilityMode. 2022-04-29 12:16:42 +00:00
scalability_mode_util.cc Add support for reducing number of spatial layers via scalability mode. 2022-10-24 09:40:39 +00:00
scalability_mode_util.h Add SVC fallback. 2023-01-11 16:49:49 +00:00
scalability_mode_util_unittest.cc Add support for reducing number of spatial layers via scalability mode. 2022-10-24 09:40:39 +00:00
scalability_structure_full_svc.cc Add support for scalability modes L3T1_KEY, L3T2, L3T2_KEY. 2022-08-29 11:55:52 +00:00
scalability_structure_full_svc.h Add support for scalability modes L3T1_KEY, L3T2, L3T2_KEY. 2022-08-29 11:55:52 +00:00
scalability_structure_full_svc_unittest.cc Allow full SVC to reference T0 frame only after it has been encoded 2021-09-13 15:52:42 +00:00
scalability_structure_key_svc.cc Add support for scalability modes L3T1_KEY, L3T2, L3T2_KEY. 2022-08-29 11:55:52 +00:00
scalability_structure_key_svc.h Add support for scalability modes L3T1_KEY, L3T2, L3T2_KEY. 2022-08-29 11:55:52 +00:00
scalability_structure_key_svc_unittest.cc In ksvc controller reuse unused frame configuration 2021-03-12 13:39:38 +00:00
scalability_structure_l2t2_key_shift.cc Add helper to query scalability structure configuration 2021-09-10 13:47:22 +00:00
scalability_structure_l2t2_key_shift.h Add layer skipping to L2T2_KEY_SHIFT structure 2020-10-26 10:35:46 +00:00
scalability_structure_l2t2_key_shift_unittest.cc Add layer skipping to L2T2_KEY_SHIFT structure 2020-10-26 10:35:46 +00:00
scalability_structure_simulcast.cc Add support for more scalability modes (1.5:1 resolution ratio). 2022-08-31 11:01:16 +00:00
scalability_structure_simulcast.h Add support for more scalability modes (1.5:1 resolution ratio). 2022-08-31 11:01:16 +00:00
scalability_structure_test_helpers.cc Ignore frame type when calculating generic frame dependencies. 2020-11-23 10:52:06 +00:00
scalability_structure_test_helpers.h
scalability_structure_unittest.cc Add support for scalability modes S2T2, S3T1, S3T2. 2022-08-30 09:51:11 +00:00
scalable_video_controller.h Add helper to query scalability structure configuration 2021-09-10 13:47:22 +00:00
scalable_video_controller_no_layering.cc Add helper to query scalability structure configuration 2021-09-10 13:47:22 +00:00
scalable_video_controller_no_layering.h Test and fix unscalable video structure. 2021-02-11 17:23:56 +00:00
svc_rate_allocator.cc Fix bug in SvcRateAllocator capping to VideoCodec.maxBitrate 2023-03-17 17:08:53 +00:00
svc_rate_allocator.h Move SvcRateAllocator out of codecs/vp9 and make it not vp9 specific 2020-11-05 18:35:37 +00:00
svc_rate_allocator_unittest.cc Fix bug in SvcRateAllocator capping to VideoCodec.maxBitrate 2023-03-17 17:08:53 +00:00