2014-11-01 06:10:48 +00:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2014 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.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
2017-09-15 06:47:31 +02:00
|
|
|
#ifndef MODULES_VIDEO_CODING_CODECS_VP9_INCLUDE_VP9_H_
|
|
|
|
|
#define MODULES_VIDEO_CODING_CODECS_VP9_INCLUDE_VP9_H_
|
2014-11-01 06:10:48 +00:00
|
|
|
|
2017-11-13 14:10:02 +01:00
|
|
|
#include <memory>
|
|
|
|
|
|
2017-09-15 06:47:31 +02:00
|
|
|
#include "modules/video_coding/include/video_codec_interface.h"
|
2014-11-01 06:10:48 +00:00
|
|
|
|
|
|
|
|
namespace webrtc {
|
|
|
|
|
|
|
|
|
|
class VP9Encoder : public VideoEncoder {
|
|
|
|
|
public:
|
2016-05-14 02:03:18 +02:00
|
|
|
static bool IsSupported();
|
2017-11-13 14:10:02 +01:00
|
|
|
static std::unique_ptr<VP9Encoder> Create();
|
2014-11-01 06:10:48 +00:00
|
|
|
|
2018-04-05 11:42:24 +02:00
|
|
|
~VP9Encoder() override {}
|
2014-11-01 06:10:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class VP9Decoder : public VideoDecoder {
|
|
|
|
|
public:
|
2016-05-14 02:03:18 +02:00
|
|
|
static bool IsSupported();
|
2017-11-13 14:10:02 +01:00
|
|
|
static std::unique_ptr<VP9Decoder> Create();
|
2014-11-01 06:10:48 +00:00
|
|
|
|
2018-04-05 11:42:24 +02:00
|
|
|
~VP9Decoder() override {}
|
2014-11-01 06:10:48 +00:00
|
|
|
};
|
|
|
|
|
} // namespace webrtc
|
|
|
|
|
|
2017-09-15 06:47:31 +02:00
|
|
|
#endif // MODULES_VIDEO_CODING_CODECS_VP9_INCLUDE_VP9_H_
|