create_videocodec_test_fixture.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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. #ifndef API_TEST_CREATE_VIDEOCODEC_TEST_FIXTURE_H_
  11. #define API_TEST_CREATE_VIDEOCODEC_TEST_FIXTURE_H_
  12. #include <memory>
  13. #include "api/test/videocodec_test_fixture.h"
  14. #include "api/video_codecs/video_decoder_factory.h"
  15. #include "api/video_codecs/video_encoder_factory.h"
  16. namespace webrtc {
  17. namespace test {
  18. std::unique_ptr<VideoCodecTestFixture> CreateVideoCodecTestFixture(
  19. const VideoCodecTestFixture::Config& config);
  20. std::unique_ptr<VideoCodecTestFixture> CreateVideoCodecTestFixture(
  21. const VideoCodecTestFixture::Config& config,
  22. std::unique_ptr<VideoDecoderFactory> decoder_factory,
  23. std::unique_ptr<VideoEncoderFactory> encoder_factory);
  24. } // namespace test
  25. } // namespace webrtc
  26. #endif // API_TEST_CREATE_VIDEOCODEC_TEST_FIXTURE_H_