Home | History | Annotate | Download | only in vp8
      1 /*
      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 
     11 #include "webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h"
     12 
     13 namespace webrtc {
     14 namespace testing {
     15 
     16 class TestVp8Impl : public TestVp8Simulcast {
     17  public:
     18   TestVp8Impl()
     19       : TestVp8Simulcast(VP8Encoder::Create(), VP8Decoder::Create()) {}
     20 
     21  protected:
     22   virtual void SetUp() { TestVp8Simulcast::SetUp(); }
     23   virtual void TearDown() { TestVp8Simulcast::TearDown(); }
     24 };
     25 
     26 TEST_F(TestVp8Impl, TestKeyFrameRequestsOnAllStreams) {
     27   TestVp8Simulcast::TestKeyFrameRequestsOnAllStreams();
     28 }
     29 
     30 TEST_F(TestVp8Impl, TestPaddingAllStreams) {
     31   TestVp8Simulcast::TestPaddingAllStreams();
     32 }
     33 
     34 TEST_F(TestVp8Impl, TestPaddingTwoStreams) {
     35   TestVp8Simulcast::TestPaddingTwoStreams();
     36 }
     37 
     38 TEST_F(TestVp8Impl, TestPaddingTwoStreamsOneMaxedOut) {
     39   TestVp8Simulcast::TestPaddingTwoStreamsOneMaxedOut();
     40 }
     41 
     42 TEST_F(TestVp8Impl, TestPaddingOneStream) {
     43   TestVp8Simulcast::TestPaddingOneStream();
     44 }
     45 
     46 TEST_F(TestVp8Impl, TestPaddingOneStreamTwoMaxedOut) {
     47   TestVp8Simulcast::TestPaddingOneStreamTwoMaxedOut();
     48 }
     49 
     50 TEST_F(TestVp8Impl, TestSendAllStreams) {
     51   TestVp8Simulcast::TestSendAllStreams();
     52 }
     53 
     54 TEST_F(TestVp8Impl, TestDisablingStreams) {
     55   TestVp8Simulcast::TestDisablingStreams();
     56 }
     57 
     58 TEST_F(TestVp8Impl, TestSwitchingToOneStream) {
     59   TestVp8Simulcast::TestSwitchingToOneStream();
     60 }
     61 
     62 TEST_F(TestVp8Impl, TestSwitchingToOneOddStream) {
     63   TestVp8Simulcast::TestSwitchingToOneOddStream();
     64 }
     65 
     66 TEST_F(TestVp8Impl, TestRPSIEncoder) {
     67   TestVp8Simulcast::TestRPSIEncoder();
     68 }
     69 
     70 TEST_F(TestVp8Impl, TestRPSIEncodeDecode) {
     71   TestVp8Simulcast::TestRPSIEncodeDecode();
     72 }
     73 
     74 TEST_F(TestVp8Impl, TestSaptioTemporalLayers333PatternEncoder) {
     75   TestVp8Simulcast::TestSaptioTemporalLayers333PatternEncoder();
     76 }
     77 
     78 TEST_F(TestVp8Impl, TestSpatioTemporalLayers321PatternEncoder) {
     79   TestVp8Simulcast::TestSpatioTemporalLayers321PatternEncoder();
     80 }
     81 
     82 TEST_F(TestVp8Impl, TestStrideEncodeDecode) {
     83   TestVp8Simulcast::TestStrideEncodeDecode();
     84 }
     85 
     86 TEST_F(TestVp8Impl, TestSkipEncodingUnusedStreams) {
     87   TestVp8Simulcast::TestSkipEncodingUnusedStreams();
     88 }
     89 
     90 }  // namespace testing
     91 }  // namespace webrtc
     92