mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-20 00:57:49 +01:00
![]() * Pass codec factories to the video codec tester instead of creating and wrapping codecs into a tester-specific wrappers in video_codec_test.cc. The motivation for this change is to simplify the tests by moving complexity to the tester. * Merge codec stats and analysis into the tester and move the tester. The merge fixes circular deps issues. Modularization is not strictly needed for testing framework like the video codec tester. It is still possible to unit test underlaying modules with rather small overhead. * Move the video codec tester from api/ to test/. test/ is accessible from outside of WebRTC which enables reusing the tester in downstream projects. Test output ~matches before and after this refactoring. There is a small difference that is caused by changes in qpMax: 63 -> 56 (kDefaultVideoMaxQpVpx). 56 is what WebRTC uses by default for VPx/AV1 encoders. Bug: webrtc:14852 Change-Id: I762707b7144fcff870119ad741ebe7091ea109ba Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/327260 Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Commit-Queue: Sergey Silkin <ssilkin@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{#41144} |
||
---|---|---|
.. | ||
batch | ||
android_codec_factory_helper.cc | ||
android_codec_factory_helper.h | ||
encoded_video_frame_producer.cc | ||
encoded_video_frame_producer.h | ||
objc_codec_factory_helper.h | ||
objc_codec_factory_helper.mm | ||
plot_webrtc_test_logs.py | ||
video_codec_test.cc | ||
video_codec_unittest.cc | ||
video_codec_unittest.h | ||
video_encoder_decoder_instantiation_tests.cc | ||
videocodec_test_av1.cc | ||
videocodec_test_fixture_config_unittest.cc | ||
videocodec_test_fixture_impl.cc | ||
videocodec_test_fixture_impl.h | ||
videocodec_test_libvpx.cc | ||
videocodec_test_mediacodec.cc | ||
videocodec_test_openh264.cc | ||
videocodec_test_stats_impl.cc | ||
videocodec_test_stats_impl.h | ||
videocodec_test_stats_impl_unittest.cc | ||
videocodec_test_videotoolbox.cc | ||
videoprocessor.cc | ||
videoprocessor.h | ||
videoprocessor_unittest.cc |