1 /* 2 * gstrtponviftimestamp-parse.h 3 * 4 * Copyright (C) 2014 Axis Communications AB 5 * Author: Guillaume Desmottes <guillaume.desmottes@collabora.com> 6 * 7 * This library is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU Lesser General Public 9 * License as published by the Free Software Foundation; either 10 * version 2.1 of the License, or (at your option) any later version. 11 * 12 * This library is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Lesser General Public License for more details. 16 * 17 * You should have received a copy of the GNU Lesser General Public 18 * License along with this library; if not, see <http://www.gnu.org/licenses/>. 19 */ 20 21 #ifndef __GST_RTP_ONVIF_PARSE_H__ 22 #define __GST_RTP_ONVIF_PARSE_H__ 23 24 25 #include <gst/gst.h> 26 27 #ifdef __cplusplus 28 extern "C" { 29 #endif /* __cplusplus */ 30 31 #define GST_TYPE_RTP_ONVIF_PARSE \ 32 (gst_rtp_onvif_parse_get_type()) 33 #define GST_RTP_ONVIF_PARSE(obj) \ 34 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_ONVIF_PARSE,GstRtpOnvifParse)) 35 #define GST_RTP_ONVIF_PARSE_CLASS(klass) \ 36 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RTP_ONVIF_PARSE,GstRtpOnvifParseClass)) 37 #define GST_IS_RTP_ONVIF_PARSE(obj) \ 38 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_RTP_ONVIF_PARSE)) 39 #define GST_IS_RTP_ONVIF_PARSE_CLASS(klass) \ 40 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RTP_ONVIF_PARSE)) 41 42 typedef struct _GstRtpOnvifParse GstRtpOnvifParse; 43 typedef struct _GstRtpOnvifParseClass GstRtpOnvifParseClass; 44 45 struct _GstRtpOnvifParse { 46 GstElement element; 47 48 /* pads */ 49 GstPad *sinkpad,*srcpad; 50 }; 51 52 struct _GstRtpOnvifParseClass { 53 GstElementClass parent_class; 54 }; 55 56 GType gst_rtp_onvif_parse_get_type(void); 57 58 #ifdef __cplusplus 59 } 60 #endif /* __cplusplus */ 61 62 #endif /* __GST_RTP_ONVIF_PARSE_H__ */ 63