3 * uvch264_mjpg_demux: a demuxer for muxed stream in UVC H264 compliant MJPG
5 * Copyright (C) 2012 Cisco Systems, Inc.
6 * Author: Youness Alaoui <youness.alaoui@collabora.co.uk>
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.
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.
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.
24 #ifndef __GST_UVC_H264_MJPG_DEMUX_H__
25 #define __GST_UVC_H264_MJPG_DEMUX_H__
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, \
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))
49 typedef struct _GstUvcH264MjpgDemux GstUvcH264MjpgDemux;
50 typedef struct _GstUvcH264MjpgDemuxPrivate GstUvcH264MjpgDemuxPrivate;
51 typedef struct _GstUvcH264MjpgDemuxClass GstUvcH264MjpgDemuxClass;
53 struct _GstUvcH264MjpgDemux {
55 GstUvcH264MjpgDemuxPrivate *priv;
58 struct _GstUvcH264MjpgDemuxClass {
59 GstElementClass parent_class;
62 GType gst_uvc_h264_mjpg_demux_get_type (void);
66 #endif /* __GST_UVC_H264_MJPG_DEMUX_H__ */