1 /* 2 * Copyright (c) 2012 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 * WEBRTC VP8 wrapper interface 11 */ 12 13 #ifndef MODULES_VIDEO_CODING_CODECS_VP8_INCLUDE_VP8_H_ 14 #define MODULES_VIDEO_CODING_CODECS_VP8_INCLUDE_VP8_H_ 15 16 #include <memory> 17 18 #include "modules/video_coding/include/video_codec_interface.h" 19 20 namespace webrtc { 21 22 class VP8Encoder : public VideoEncoder { 23 public: 24 static std::unique_ptr<VP8Encoder> Create(); 25 ~VP8Encoder()26 virtual ~VP8Encoder() {} 27 }; // end of VP8Encoder class 28 29 class VP8Decoder : public VideoDecoder { 30 public: 31 static std::unique_ptr<VP8Decoder> Create(); 32 ~VP8Decoder()33 virtual ~VP8Decoder() {} 34 }; // end of VP8Decoder class 35 } // namespace webrtc 36 37 #endif // MODULES_VIDEO_CODING_CODECS_VP8_INCLUDE_VP8_H_ 38