UVC H264 plugin
[platform/upstream/gstreamer.git] / sys / uvch264 / gstuvch264_mjpgdemux.h
1 /* GStreamer
2  *
3  * uvch264_mjpg_demux: a demuxer for muxed stream in UVC H264 compliant MJPG
4  *
5  * Copyright (C) 2012 Cisco Systems, Inc.
6  *   Author: Youness Alaoui <youness.alaoui@collabora.co.uk>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2.1 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the
20  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  * Boston, MA 02111-1307, USA.
22  */
23
24 #ifndef __GST_UVC_H264_MJPG_DEMUX_H__
25 #define __GST_UVC_H264_MJPG_DEMUX_H__
26
27 #include <gst/gst.h>
28
29
30 G_BEGIN_DECLS
31
32 #define GST_TYPE_UVC_H264_MJPG_DEMUX             \
33   (gst_uvc_h264_mjpg_demux_get_type())
34 #define GST_UVC_H264_MJPG_DEMUX(obj)             \
35   (G_TYPE_CHECK_INSTANCE_CAST((obj),            \
36       GST_TYPE_UVC_H264_MJPG_DEMUX,              \
37       GstUvcH264MjpgDemux))
38 #define GST_UVC_H264_MJPG_DEMUX_CLASS(klass)     \
39   (G_TYPE_CHECK_CLASS_CAST((klass),             \
40       GST_TYPE_UVC_H264_MJPG_DEMUX,              \
41       GstUvcH264MjpgDemuxClass))
42 #define GST_IS_UVC_H264_MJPG_DEMUX(obj)          \
43   (G_TYPE_CHECK_INSTANCE_TYPE((obj),            \
44       GST_TYPE_UVC_H264_MJPG_DEMUX))
45 #define GST_IS_UVC_H264_MJPG_DEMUX_CLASS(klass)  \
46   (G_TYPE_CHECK_CLASS_TYPE((klass),             \
47       GST_TYPE_UVC_H264_MJPG_DEMUX))
48
49 typedef struct _GstUvcH264MjpgDemux           GstUvcH264MjpgDemux;
50 typedef struct _GstUvcH264MjpgDemuxPrivate    GstUvcH264MjpgDemuxPrivate;
51 typedef struct _GstUvcH264MjpgDemuxClass      GstUvcH264MjpgDemuxClass;
52
53 struct _GstUvcH264MjpgDemux {
54   GstElement element;
55   GstUvcH264MjpgDemuxPrivate *priv;
56 };
57
58 struct _GstUvcH264MjpgDemuxClass {
59   GstElementClass  parent_class;
60 };
61
62 GType gst_uvc_h264_mjpg_demux_get_type (void);
63
64 G_END_DECLS
65
66 #endif /* __GST_UVC_H264_MJPG_DEMUX_H__ */