Roll src/third_party/WebKit f36d5e0:68b67cd (svn 193299:193303)
[chromium-blink-merge.git] / remoting / codec / scoped_vpx_codec.h
blobbf03c64909b9b48340ebc6bac920d429a34708ae
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef REMOTING_CODEC_SCOPED_VPX_CODEC_H_
6 #define REMOTING_CODEC_SCOPED_VPX_CODEC_H_
8 #include "base/memory/scoped_ptr.h"
10 extern "C" {
11 typedef struct vpx_codec_ctx vpx_codec_ctx_t;
14 namespace remoting {
16 struct VpxCodecDeleter {
17 void operator()(vpx_codec_ctx_t* codec);
20 typedef scoped_ptr<vpx_codec_ctx_t, VpxCodecDeleter> ScopedVpxCodec;
22 } // namespace remoting
24 #endif // REMOTING_CODEC_SCOPED_VPX_CODEC_H_