tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

create_simulcast_test_fixture.cc (1203B)


      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 #include "api/test/create_simulcast_test_fixture.h"
     12 
     13 #include <memory>
     14 #include <utility>
     15 
     16 #include "api/test/simulcast_test_fixture.h"
     17 #include "api/video_codecs/sdp_video_format.h"
     18 #include "api/video_codecs/video_decoder_factory.h"
     19 #include "api/video_codecs/video_encoder_factory.h"
     20 #include "modules/video_coding/utility/simulcast_test_fixture_impl.h"
     21 
     22 namespace webrtc {
     23 namespace test {
     24 
     25 std::unique_ptr<SimulcastTestFixture> CreateSimulcastTestFixture(
     26    std::unique_ptr<VideoEncoderFactory> encoder_factory,
     27    std::unique_ptr<VideoDecoderFactory> decoder_factory,
     28    SdpVideoFormat video_format) {
     29  return std::make_unique<SimulcastTestFixtureImpl>(
     30      std::move(encoder_factory), std::move(decoder_factory), video_format);
     31 }
     32 
     33 }  // namespace test
     34 }  // namespace webrtc