1 /* VP9 2 * Copyright (C) 2006 David Schleef <ds@schleef.org> 3 * Copyright (C) 2008,2009,2010 Entropy Wave Inc 4 * Copyright (C) 2010-2013 Sebastian Dröge <slomo@circular-chaos.org> 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Library General Public 8 * License as published by the Free Software Foundation; either 9 * version 2 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Library General Public License for more details. 15 * 16 * You should have received a copy of the GNU Library General Public 17 * License along with this library; if not, write to the 18 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 19 * Boston, MA 02110-1301, USA. 20 * 21 */ 22 23 #ifndef __GST_VP9_DEC_H__ 24 #define __GST_VP9_DEC_H__ 25 26 #ifdef HAVE_CONFIG_H 27 #include "config.h" 28 #endif 29 30 #ifdef HAVE_VP9_DECODER 31 32 #include <gst/gst.h> 33 #include <gst/video/gstvideodecoder.h> 34 #include <gstvpxdec.h> 35 36 /* FIXME: Undef HAVE_CONFIG_H because vpx_codec.h uses it, 37 * which causes compilation failures */ 38 #ifdef HAVE_CONFIG_H 39 #undef HAVE_CONFIG_H 40 #endif 41 42 #include <vpx/vpx_decoder.h> 43 #include <vpx/vp8dx.h> 44 45 G_BEGIN_DECLS 46 47 #define GST_TYPE_VP9_DEC (gst_vp9_dec_get_type()) 48 G_DECLARE_FINAL_TYPE (GstVP9Dec, gst_vp9_dec, GST, VP9_DEC, GstVPXDec) 49 50 struct _GstVP9Dec 51 { 52 GstVPXDec base_vpx_decoder; 53 }; 54 55 G_END_DECLS 56 57 #endif 58 59 #endif /* __GST_VP9_DEC_H__ */ 60