Kári Tristan Helgason | 9d96e92 | 2018-05-04 11:56:55 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2018 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 | #ifndef API_TEST_CREATE_VIDEOCODEC_TEST_FIXTURE_H_ |
| 12 | #define API_TEST_CREATE_VIDEOCODEC_TEST_FIXTURE_H_ |
| 13 | |
| 14 | #include <memory> |
| 15 | |
| 16 | #include "api/test/videocodec_test_fixture.h" |
| 17 | #include "api/video_codecs/video_decoder_factory.h" |
| 18 | #include "api/video_codecs/video_encoder_factory.h" |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 11:56:55 +0200 | [diff] [blame] | 19 | |
| 20 | namespace webrtc { |
| 21 | namespace test { |
| 22 | |
Kári Tristan Helgason | 169005d | 2018-05-22 13:34:14 +0200 | [diff] [blame] | 23 | std::unique_ptr<VideoCodecTestFixture> CreateVideoCodecTestFixture( |
| 24 | const VideoCodecTestFixture::Config& config); |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 11:56:55 +0200 | [diff] [blame] | 25 | |
Kári Tristan Helgason | 169005d | 2018-05-22 13:34:14 +0200 | [diff] [blame] | 26 | std::unique_ptr<VideoCodecTestFixture> CreateVideoCodecTestFixture( |
| 27 | const VideoCodecTestFixture::Config& config, |
Kári Tristan Helgason | 9d96e92 | 2018-05-04 11:56:55 +0200 | [diff] [blame] | 28 | std::unique_ptr<VideoDecoderFactory> decoder_factory, |
| 29 | std::unique_ptr<VideoEncoderFactory> encoder_factory); |
| 30 | |
| 31 | } // namespace test |
| 32 | } // namespace webrtc |
| 33 | |
| 34 | #endif // API_TEST_CREATE_VIDEOCODEC_TEST_FIXTURE_H_ |