blob: 1120fe07e49c1e25be28b479221fd4666b30998e [file] [log] [blame]
pbos@webrtc.org9115cde2014-12-09 10:36:40 +00001/*
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
magjed6cc25612017-07-10 03:26:36 -070011#include "webrtc/modules/video_coding/codecs/vp8/simulcast_test_utility.h"
pbos@webrtc.org9115cde2014-12-09 10:36:40 +000012
13namespace webrtc {
14namespace testing {
15
philipelcce46fc2015-12-21 03:04:49 -080016class TestVp8Impl : public TestVp8Simulcast {
pbos@webrtc.org9115cde2014-12-09 10:36:40 +000017 protected:
magjed6cc25612017-07-10 03:26:36 -070018 VP8Encoder* CreateEncoder() override { return VP8Encoder::Create(); }
19 VP8Decoder* CreateDecoder() override { return VP8Decoder::Create(); }
pbos@webrtc.org9115cde2014-12-09 10:36:40 +000020};
21
22TEST_F(TestVp8Impl, TestKeyFrameRequestsOnAllStreams) {
23 TestVp8Simulcast::TestKeyFrameRequestsOnAllStreams();
24}
25
26TEST_F(TestVp8Impl, TestPaddingAllStreams) {
27 TestVp8Simulcast::TestPaddingAllStreams();
28}
29
30TEST_F(TestVp8Impl, TestPaddingTwoStreams) {
31 TestVp8Simulcast::TestPaddingTwoStreams();
32}
33
34TEST_F(TestVp8Impl, TestPaddingTwoStreamsOneMaxedOut) {
35 TestVp8Simulcast::TestPaddingTwoStreamsOneMaxedOut();
36}
37
38TEST_F(TestVp8Impl, TestPaddingOneStream) {
39 TestVp8Simulcast::TestPaddingOneStream();
40}
41
42TEST_F(TestVp8Impl, TestPaddingOneStreamTwoMaxedOut) {
43 TestVp8Simulcast::TestPaddingOneStreamTwoMaxedOut();
44}
45
46TEST_F(TestVp8Impl, TestSendAllStreams) {
47 TestVp8Simulcast::TestSendAllStreams();
48}
49
50TEST_F(TestVp8Impl, TestDisablingStreams) {
51 TestVp8Simulcast::TestDisablingStreams();
52}
53
54TEST_F(TestVp8Impl, TestSwitchingToOneStream) {
55 TestVp8Simulcast::TestSwitchingToOneStream();
56}
57
58TEST_F(TestVp8Impl, TestSwitchingToOneOddStream) {
59 TestVp8Simulcast::TestSwitchingToOneOddStream();
60}
61
asaperssonffa3fdc2016-01-26 01:56:32 -080062TEST_F(TestVp8Impl, TestSwitchingToOneSmallStream) {
63 TestVp8Simulcast::TestSwitchingToOneSmallStream();
64}
65
pbos@webrtc.org9115cde2014-12-09 10:36:40 +000066TEST_F(TestVp8Impl, TestSaptioTemporalLayers333PatternEncoder) {
67 TestVp8Simulcast::TestSaptioTemporalLayers333PatternEncoder();
68}
69
70TEST_F(TestVp8Impl, TestSpatioTemporalLayers321PatternEncoder) {
71 TestVp8Simulcast::TestSpatioTemporalLayers321PatternEncoder();
72}
73
74TEST_F(TestVp8Impl, TestStrideEncodeDecode) {
75 TestVp8Simulcast::TestStrideEncodeDecode();
76}
pbos@webrtc.org9115cde2014-12-09 10:36:40 +000077} // namespace testing
78} // namespace webrtc