2 * gstrtpvp8depay.h - Header for GstRtpVP8Depay
3 * Copyright (C) 2011 Sjoerd Simons <sjoerd@luon.net>
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 #ifndef __GST_RTP_VP8_DEPAY_H__
21 #define __GST_RTP_VP8_DEPAY_H__
23 #include <gst/base/gstadapter.h>
24 #include <gst/rtp/gstrtpbasedepayload.h>
28 #define GST_TYPE_RTP_VP8_DEPAY \
29 (gst_rtp_vp8_depay_get_type())
30 #define GST_RTP_VP8_DEPAY(obj) \
31 (G_TYPE_CHECK_INSTANCE_CAST((obj), GST_TYPE_RTP_VP8_DEPAY, GstRtpVP8Depay))
32 #define GST_RTP_VP8_DEPAY_CLASS(klass) \
33 (G_TYPE_CHECK_CLASS_CAST((klass), GST_TYPE_RTP_VP8_DEPAY, \
35 #define GST_IS_RTP_VP8_DEPAY(obj) \
36 (G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_TYPE_RTP_VP8_DEPAY))
37 #define GST_IS_RTP_VP8_DEPAY_CLASS(klass) \
38 (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_RTP_VP8_DEPAY))
39 #define GST_RTP_VP8_DEPAY_GET_CLASS(obj) \
40 (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_RTP_VP8_DEPAY, \
43 typedef struct _GstRtpVP8Depay GstRtpVP8Depay;
44 typedef struct _GstRtpVP8DepayClass GstRtpVP8DepayClass;
46 struct _GstRtpVP8DepayClass
48 GstRTPBaseDepayloadClass parent_class;
51 struct _GstRtpVP8Depay
53 GstRTPBaseDepayload parent;
63 GType gst_rtp_vp8_depay_get_type (void);
65 gboolean gst_rtp_vp8_depay_plugin_init (GstPlugin * plugin);
69 #endif /* #ifndef __GST_RTP_VP8_DEPAY_H__ */