webrtc/modules/video_coding/codecs/test
Rasmus Brandt 58cd385e58 Fix potential division by zero in VP9 VideoCodecTest.
When GetSvcConfig returned fewer spatial layers than the number
statically configured from the test, we would crash on a SIGFPE.

This is not a problem in the production code, since there we
reset the encoder with the correct number of spatial layers
whenever the resolution changes.

Bug: None
Change-Id: I339e4a3c0fa993c7c649533c0eae71e1314194e7
Reviewed-on: https://webrtc-review.googlesource.com/85374
Reviewed-by: Michael Horowitz <mhoro@webrtc.org>
Reviewed-by: Sergey Silkin <ssilkin@webrtc.org>
Commit-Queue: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23741}
2018-06-26 12:58:25 +00:00
..
batch Codec instantiation tests for testing device capabilities in batch. 2018-03-05 10:01:02 +00:00
android_codec_factory_helper.cc Move all Android specific stuff to android_codec_factory_helper. 2018-02-05 13:08:26 +00:00
android_codec_factory_helper.h Move all Android specific stuff to android_codec_factory_helper. 2018-02-05 13:08:26 +00:00
objc_codec_factory_helper.h Move all Android specific stuff to android_codec_factory_helper. 2018-02-05 13:08:26 +00:00
objc_codec_factory_helper.mm Move all Android specific stuff to android_codec_factory_helper. 2018-02-05 13:08:26 +00:00
plot_webrtc_test_logs.py Rename VideoProcessorIntegrationTest -> VideoCodecTest. 2018-05-15 11:28:21 +00:00
video_codec_unittest.cc Replace rtc::Optional with absl::optional 2018-06-18 10:24:48 +00:00
video_codec_unittest.h Replace rtc::Optional with absl::optional 2018-06-18 10:24:48 +00:00
video_encoder_decoder_instantiation_tests.cc Codec instantiation tests for testing device capabilities in batch. 2018-03-05 10:01:02 +00:00
videocodec_test_fixture_config_unittest.cc Move VideoCodecTest configuration classes to api/test. 2018-05-22 12:14:38 +00:00
videocodec_test_fixture_impl.cc Fix potential division by zero in VP9 VideoCodecTest. 2018-06-26 12:58:25 +00:00
videocodec_test_fixture_impl.h Move VisualizationParams to VideoCodecTestFixture::Config. 2018-05-29 07:18:04 +00:00
videocodec_test_libvpx.cc Revert "Disabling VeryLowBitrateVP9 to unblock roll." 2018-06-08 13:55:25 +00:00
videocodec_test_mediacodec.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
videocodec_test_openh264.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
videocodec_test_parameterized.cc Move VisualizationParams to VideoCodecTestFixture::Config. 2018-05-29 07:18:04 +00:00
videocodec_test_stats_impl.cc Move VideoCodecTest configuration classes to api/test. 2018-05-22 12:14:38 +00:00
videocodec_test_stats_impl.h Move VideoCodecTest configuration classes to api/test. 2018-05-22 12:14:38 +00:00
videocodec_test_stats_impl_unittest.cc Move VideoCodecTest configuration classes to api/test. 2018-05-22 12:14:38 +00:00
videocodec_test_videotoolbox.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
videoprocessor.cc Generalize SimulcastEncoderAdapter, use for H264 & VP8. 2018-06-21 15:57:43 +00:00
videoprocessor.h Replace rtc::Optional with absl::optional 2018-06-18 10:24:48 +00:00
videoprocessor_unittest.cc Move VideoCodecTest configuration classes to api/test. 2018-05-22 12:14:38 +00:00