libaom_av1_encoder.h 1.0 KB

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright (c) 2020 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 MODULES_VIDEO_CODING_CODECS_AV1_LIBAOM_AV1_ENCODER_H_
  11. #define MODULES_VIDEO_CODING_CODECS_AV1_LIBAOM_AV1_ENCODER_H_
  12. #include <memory>
  13. #include "absl/base/attributes.h"
  14. #include "api/video_codecs/video_encoder.h"
  15. #include "modules/video_coding/codecs/av1/scalable_video_controller.h"
  16. namespace webrtc {
  17. ABSL_CONST_INIT extern const bool kIsLibaomAv1EncoderSupported;
  18. std::unique_ptr<VideoEncoder> CreateLibaomAv1Encoder();
  19. std::unique_ptr<VideoEncoder> CreateLibaomAv1Encoder(
  20. std::unique_ptr<ScalableVideoController> controller);
  21. } // namespace webrtc
  22. #endif // MODULES_VIDEO_CODING_CODECS_AV1_LIBAOM_AV1_ENCODER_H_