-/* 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 {
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,
[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);
<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"/>