summaryrefslogtreecommitdiff
path: root/omx/gstomxtheoradec.h
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-03-19 09:36:18 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-03-19 12:25:27 +0100
commit8460cabd135e4e953badb377b6db526c2e913a49 (patch)
tree96505e4cb58d895076e9b07335eb54cac354aade /omx/gstomxtheoradec.h
parent29a348efac72c02efdddfc4fc566b67de47f5616 (diff)
downloadgst-omx-8460cabd135e4e953badb377b6db526c2e913a49.tar.gz
omx: Add Theora decoder
Diffstat (limited to 'omx/gstomxtheoradec.h')
-rw-r--r--omx/gstomxtheoradec.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/omx/gstomxtheoradec.h b/omx/gstomxtheoradec.h
new file mode 100644
index 0000000..2c52432
--- /dev/null
+++ b/omx/gstomxtheoradec.h
@@ -0,0 +1,61 @@
+/*
+ * Copyright (C) 2013, Collabota Ltd.
+ * Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation
+ * version 2.1 of the License.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+#ifndef __GST_OMX_THEORA_DEC_H__
+#define __GST_OMX_THEORA_DEC_H__
+
+#include <gst/gst.h>
+#include "gstomxvideodec.h"
+
+G_BEGIN_DECLS
+
+#define GST_TYPE_OMX_THEORA_DEC \
+ (gst_omx_theora_dec_get_type())
+#define GST_OMX_THEORA_DEC(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_OMX_THEORA_DEC,GstOMXTheoraDec))
+#define GST_OMX_THEORA_DEC_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_OMX_THEORA_DEC,GstOMXTheoraDecClass))
+#define GST_OMX_THEORA_DEC_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS((obj),GST_TYPE_OMX_THEORA_DEC,GstOMXTheoraDecClass))
+#define GST_IS_OMX_THEORA_DEC(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_OMX_THEORA_DEC))
+#define GST_IS_OMX_THEORA_DEC_CLASS(obj) \
+ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_OMX_THEORA_DEC))
+
+typedef struct _GstOMXTheoraDec GstOMXTheoraDec;
+typedef struct _GstOMXTheoraDecClass GstOMXTheoraDecClass;
+
+struct _GstOMXTheoraDec
+{
+ GstOMXVideoDec parent;
+ GstBuffer *header;
+};
+
+struct _GstOMXTheoraDecClass
+{
+ GstOMXVideoDecClass parent_class;
+};
+
+GType gst_omx_theora_dec_get_type (void);
+
+G_END_DECLS
+
+#endif /* __GST_OMX_THEORA_DEC_H__ */
+