2020-03-20 10:36:13 +01:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2020 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by a BSD-style license
|
|
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
|
|
|
|
* in the file PATENTS. All contributing project authors may
|
|
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
*/
|
|
|
|
|
#ifndef MODULES_VIDEO_CODING_CODECS_AV1_LIBAOM_AV1_ENCODER_H_
|
|
|
|
|
#define MODULES_VIDEO_CODING_CODECS_AV1_LIBAOM_AV1_ENCODER_H_
|
|
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
|
|
#include "absl/base/attributes.h"
|
|
|
|
|
#include "api/video_codecs/video_encoder.h"
|
2020-05-15 14:21:03 +02:00
|
|
|
#include "modules/video_coding/codecs/av1/scalable_video_controller.h"
|
2020-03-20 10:36:13 +01:00
|
|
|
|
|
|
|
|
namespace webrtc {
|
|
|
|
|
|
|
|
|
|
ABSL_CONST_INIT extern const bool kIsLibaomAv1EncoderSupported;
|
|
|
|
|
|
|
|
|
|
std::unique_ptr<VideoEncoder> CreateLibaomAv1Encoder();
|
2020-05-15 14:21:03 +02:00
|
|
|
std::unique_ptr<VideoEncoder> CreateLibaomAv1Encoder(
|
|
|
|
|
std::unique_ptr<ScalableVideoController> controller);
|
2020-03-20 10:36:13 +01:00
|
|
|
|
|
|
|
|
} // namespace webrtc
|
|
|
|
|
|
|
|
|
|
#endif // MODULES_VIDEO_CODING_CODECS_AV1_LIBAOM_AV1_ENCODER_H_
|