]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-video-0.10: Update bindings
authorSebastian Pölsterl <sebp@k-d-w.org>
Tue, 7 Apr 2009 16:50:25 +0000 (18:50 +0200)
committerJürg Billeter <j@bitron.ch>
Sun, 12 Apr 2009 16:01:36 +0000 (18:01 +0200)
vapi/gstreamer-video-0.10.vapi
vapi/packages/gstreamer-video-0.10/gstreamer-video-0.10.gi
vapi/packages/gstreamer-video-0.10/gstreamer-video-0.10.metadata

index 0fa809c731608af2a074ea377123e1bb7f3eb4f7..22c162ee276a3e9e41d6822c84cfefbe674f5ea4 100644 (file)
@@ -1,4 +1,4 @@
-/* gstreamer-video-0.10.vapi generated by lt-vapigen, do not modify. */
+/* gstreamer-video-0.10.vapi generated by vapigen, do not modify. */
 
 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
 namespace Gst {
@@ -124,7 +124,7 @@ namespace Gst {
                public int width;
                public static void center_rect (Gst.VideoRectangle src, Gst.VideoRectangle dst, Gst.VideoRectangle _result, bool scaling);
        }
-       [CCode (cprefix = "GST_VIDEO_FORMAT_", has_type_id = "0", cheader_filename = "gst/video/video.h")]
+       [CCode (cprefix = "GST_VIDEO_FORMAT_", cheader_filename = "gst/video/video.h")]
        public enum VideoFormat {
                UNKNOWN,
                I420,
@@ -170,10 +170,14 @@ namespace Gst {
        [CCode (cheader_filename = "gst/video/video.h")]
        public static bool video_format_is_yuv (Gst.VideoFormat format);
        [CCode (cheader_filename = "gst/video/video.h")]
-       public static unowned Gst.Caps video_format_new_caps (Gst.VideoFormat format, int width, int height, int framerate_n, int framerate_d, int par_n, int par_d);
+       public static Gst.Caps video_format_new_caps (Gst.VideoFormat format, int width, int height, int framerate_n, int framerate_d, int par_n, int par_d);
+       [CCode (cheader_filename = "gst/video/video.h")]
+       public static Gst.Caps video_format_new_caps_interlaced (Gst.VideoFormat format, int width, int height, int framerate_n, int framerate_d, int par_n, int par_d, bool interlaced);
        [CCode (cheader_filename = "gst/video/video.h")]
        public static bool video_format_parse_caps (Gst.Caps caps, ref Gst.VideoFormat format, ref int width, ref int height);
        [CCode (cheader_filename = "gst/video/video.h")]
+       public static bool video_format_parse_caps_interlaced (Gst.Caps caps, bool interlaced);
+       [CCode (cheader_filename = "gst/video/video.h")]
        public static uint32 video_format_to_fourcc (Gst.VideoFormat format);
        [CCode (cheader_filename = "gst/video/video.h")]
        public static Gst.Value video_frame_rate (Gst.Pad pad);
index 05b7bbc8be6ef2d6c4220f01ea7fedfb48dd10b5..606a20cdc0c6d71213d6d6c59879fd2c5fb9ae78 100644 (file)
                                <parameter name="par_d" type="int"/>
                        </parameters>
                </function>
+               <function name="video_format_new_caps_interlaced" symbol="gst_video_format_new_caps_interlaced">
+                       <return-type type="GstCaps*"/>
+                       <parameters>
+                               <parameter name="format" type="GstVideoFormat"/>
+                               <parameter name="width" type="int"/>
+                               <parameter name="height" type="int"/>
+                               <parameter name="framerate_n" type="int"/>
+                               <parameter name="framerate_d" type="int"/>
+                               <parameter name="par_n" type="int"/>
+                               <parameter name="par_d" type="int"/>
+                               <parameter name="interlaced" type="gboolean"/>
+                       </parameters>
+               </function>
                <function name="video_format_parse_caps" symbol="gst_video_format_parse_caps">
                        <return-type type="gboolean"/>
                        <parameters>
                                <parameter name="height" type="int*"/>
                        </parameters>
                </function>
+               <function name="video_format_parse_caps_interlaced" symbol="gst_video_format_parse_caps_interlaced">
+                       <return-type type="gboolean"/>
+                       <parameters>
+                               <parameter name="caps" type="GstCaps*"/>
+                               <parameter name="interlaced" type="gboolean*"/>
+                       </parameters>
+               </function>
                <function name="video_format_to_fourcc" symbol="gst_video_format_to_fourcc">
                        <return-type type="guint32"/>
                        <parameters>
                        <field name="w" type="gint"/>
                        <field name="h" type="gint"/>
                </struct>
-               <enum name="GstVideoFormat">
+               <enum name="GstVideoFormat" type-name="GstVideoFormat" get-type="gst_video_format_get_type">
                        <member name="GST_VIDEO_FORMAT_UNKNOWN" value="0"/>
                        <member name="GST_VIDEO_FORMAT_I420" value="1"/>
                        <member name="GST_VIDEO_FORMAT_YV12" value="2"/>
index 0b01a08423f824706e1017671ac5fa4345b6e4e8..65308be2a07d9391de632e6321f8642bcfe233fb 100644 (file)
@@ -8,6 +8,8 @@ gst_video_format_convert.dest_value is_ref="1"
 gst_video_format_get_*.component is_ref="1"
 gst_video_format_get_*.width is_ref="1"
 gst_video_format_get_*.height is_ref="1"
+gst_video_format_new_caps_interlaced transfer_ownership="1"
+gst_video_format_new_caps transfer_ownership="1"
 gst_video_format_parse_caps.format is_ref="1"
 gst_video_format_parse_caps.width is_ref="1"
 gst_video_format_parse_caps.height is_ref="1"