Bug 1833854 - Part 6: Round requested nursery before checking range when changing...
[gecko.git] / third_party / libwebrtc / api / test / create_videocodec_test_fixture.cc
blob1f618e5db8fa2a3511634268082653392a40c0a5
1 /*
2 * Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
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 */
11 #include "api/test/create_videocodec_test_fixture.h"
13 #include <memory>
14 #include <utility>
16 #include "api/test/videocodec_test_fixture.h"
17 #include "modules/video_coding/codecs/test/videocodec_test_fixture_impl.h"
19 namespace webrtc {
20 namespace test {
22 using Config = VideoCodecTestFixture::Config;
24 std::unique_ptr<VideoCodecTestFixture> CreateVideoCodecTestFixture(
25 const Config& config) {
26 return std::make_unique<VideoCodecTestFixtureImpl>(config);
29 std::unique_ptr<VideoCodecTestFixture> CreateVideoCodecTestFixture(
30 const Config& config,
31 std::unique_ptr<VideoDecoderFactory> decoder_factory,
32 std::unique_ptr<VideoEncoderFactory> encoder_factory) {
33 return std::make_unique<VideoCodecTestFixtureImpl>(
34 config, std::move(decoder_factory), std::move(encoder_factory));
37 } // namespace test
38 } // namespace webrtc