sri_build_encoder_factory.h 984 B

12345678910111213141516171819202122232425262728293031
  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. // #include "jetson_nv_vp8.h"
  18. namespace webrtc {
  19. // Creates a new factory that can create the built-in types of video encoders.
  20. // The factory has simulcast support for VP8.
  21. RTC_EXPORT std::unique_ptr<VideoEncoderFactory> CreateExternalVideoEncoderFactory();
  22. } // namespace webrtc
  23. #endif // SRI_BUILD_ENCODER_FACTORY_H_