sri_build_encoder_factory.h 954 B

123456789101112131415161718192021222324252627282930
  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 SRI_BUILD_ENCODER_FACTORY_H_
  11. #define SRI_BUILD_ENCODER_FACTORY_H_
  12. #include <memory>
  13. #include "api/video_codecs/video_encoder_factory.h"
  14. #include "rtc_base/system/rtc_export.h"
  15. #include "openh264_imp.h"
  16. #include "jetson_nv_encoder.h"
  17. namespace webrtc {
  18. // Creates a new factory that can create the built-in types of video encoders.
  19. // The factory has simulcast support for VP8.
  20. RTC_EXPORT std::unique_ptr<VideoEncoderFactory> CreateExternalVideoEncoderFactory();
  21. } // namespace webrtc
  22. #endif // SRI_BUILD_ENCODER_FACTORY_H_