Commit 24549e95 authored by Evan Nemerson's avatar Evan Nemerson

Add gst-plugins-base-1.0 bindings.

parent e643b8fa
......@@ -114,14 +114,32 @@ dist_vapi_DATA = \
gstreamer-video-0.10.deps \
gstreamer-video-0.10.vapi \
gstreamer-1.0.vapi \
gstreamer-app-1.0.vapi \
gstreamer-app-1.0.deps \
gstreamer-audio-1.0.vapi \
gstreamer-audio-1.0.deps \
gstreamer-base-1.0.vapi \
gstreamer-base-1.0.deps \
gstreamer-check-1.0.vapi \
gstreamer-check-1.0.deps \
gstreamer-controller-1.0.vapi \
gstreamer-controller-1.0.deps \
gstreamer-fft-1.0.vapi \
gstreamer-fft-1.0.deps \
gstreamer-net-1.0.vapi \
gstreamer-net-1.0.deps \
gstreamer-pbutils-1.0.vapi \
gstreamer-pbutils-1.0.deps \
gstreamer-rtp-1.0.vapi \
gstreamer-rtp-1.0.deps \
gstreamer-rtsp-1.0.vapi \
gstreamer-rtsp-1.0.deps \
gstreamer-sdp-1.0.vapi \
gstreamer-sdp-1.0.deps \
gstreamer-tag-1.0.vapi \
gstreamer-tag-1.0.deps \
gstreamer-video-1.0.vapi \
gstreamer-video-1.0.deps \
gtk+-2.0.deps \
gtk+-2.0.vapi \
gtk+-3.0.deps \
......@@ -333,6 +351,15 @@ GSTREAMER_1_0_BINDINGS = \
gstreamer-check-1.0 \
gstreamer-controller-1.0 \
gstreamer-net-1.0 \
gstreamer-app-1.0 \
gstreamer-audio-1.0 \
gstreamer-fft-1.0 \
gstreamer-pbutils-1.0 \
gstreamer-rtp-1.0 \
gstreamer-sdp-1.0 \
gstreamer-rtsp-1.0 \
gstreamer-tag-1.0 \
gstreamer-video-1.0 \
$(NULL)
GIR_BINDINGS = \
......@@ -518,18 +545,45 @@ gstreamer-video-0.10:
gstreamer-1.0:
$(GENVAPI) --library $(srcdir)/gstreamer-1.0 --metadatadir $(METADATADIR) $(METADATADIR)/Gst-1.0-custom.vala $(GIRDIR)/Gst-1.0.gir
gstreamer-app-1.0:
$(GENVAPI) --library $(srcdir)/gstreamer-app-1.0 --pkg gstreamer-base-1.0 --metadatadir $(METADATADIR) $(GIRDIR)/GstApp-1.0.gir
gstreamer-audio-1.0:
$(GENVAPI) --library $(srcdir)/gstreamer-audio-1.0 --pkg gstreamer-base-1.0 --metadatadir $(METADATADIR) $(GIRDIR)/GstAudio-1.0.gir
gstreamer-base-1.0:
$(GENVAPI) --library $(srcdir)/gstreamer-base-1.0 --pkg gstreamer-1.0 --metadatadir $(METADATADIR) $(METADATADIR)/GstBase-1.0-custom.vala $(GIRDIR)/GstBase-1.0.gir
gstreamer-check-1.0:
$(GENVAPI) --library $(srcdir)/gstreamer-check-1.0 --pkg gstreamer-1.0 --metadatadir $(METADATADIR) $(METADATADIR)/GstCheck-1.0-custom.vala $(GIRDIR)/GstCheck-1.0.gir
gstreamer-fft-1.0:
$(GENVAPI) --library $(srcdir)/gstreamer-fft-1.0 --pkg gstreamer-1.0 --metadatadir $(METADATADIR) $(METADATADIR)/GstFft-1.0-custom.vala $(GIRDIR)/GstFft-1.0.gir
gstreamer-controller-1.0:
$(GENVAPI) --library $(srcdir)/gstreamer-controller-1.0 --pkg gstreamer-1.0 --metadatadir $(METADATADIR) $(GIRDIR)/GstController-1.0.gir
gstreamer-net-1.0:
$(GENVAPI) --library $(srcdir)/gstreamer-net-1.0 --pkg gstreamer-1.0 --pkg gio-2.0 --metadatadir $(METADATADIR) $(GIRDIR)/GstNet-1.0.gir
gstreamer-pbutils-1.0:
$(GENVAPI) --library $(srcdir)/gstreamer-pbutils-1.0 --pkg gstreamer-1.0 --metadatadir $(METADATADIR) $(GIRDIR)/GstPbutils-1.0.gir
gstreamer-rtp-1.0:
$(GENVAPI) --library $(srcdir)/gstreamer-rtp-1.0 --pkg gstreamer-1.0 --metadatadir $(METADATADIR) $(GIRDIR)/GstRtp-1.0.gir
gstreamer-rtsp-1.0:
$(GENVAPI) --library $(srcdir)/gstreamer-rtsp-1.0 --pkg gstreamer-sdp-1.0 --metadatadir $(METADATADIR) $(GIRDIR)/GstRtsp-1.0.gir
gstreamer-sdp-1.0:
$(GENVAPI) --library $(srcdir)/gstreamer-sdp-1.0 --pkg gstreamer-1.0 --metadatadir $(METADATADIR) $(GIRDIR)/GstSdp-1.0.gir
gstreamer-tag-1.0:
$(GENVAPI) --library $(srcdir)/gstreamer-tag-1.0 --pkg gstreamer-base-1.0 --metadatadir $(METADATADIR) $(GIRDIR)/GstTag-1.0.gir
gstreamer-video-1.0:
$(GENVAPI) --library $(srcdir)/gstreamer-video-1.0 --pkg gstreamer-base-1.0 --metadatadir $(METADATADIR) $(GIRDIR)/GstVideo-1.0.gir
gtk+-2.0:
$(GENVAPI) --library $(srcdir)/gtk+-2.0 $(PACKAGESDIR)/gtk+-2.0/gtk+-2.0-custom.vala $(PACKAGESDIR)/gtk+-2.0/gtk+-2.0.gi
......
/* gstreamer-app-1.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Gst", gir_namespace = "GstApp", gir_version = "1.0", lower_case_cprefix = "gst_")]
namespace Gst {
namespace App {
[CCode (cheader_filename = "gst/app/gstappsink.h,gst/app/gstappsrc.h", type_id = "gst_app_sink_get_type ()")]
[GIR (name = "AppSink")]
public class Sink : Gst.Base.Sink, Gst.URIHandler {
[CCode (has_construct_function = false)]
protected Sink ();
public Gst.Caps get_caps ();
public bool get_drop ();
public bool get_emit_signals ();
public uint get_max_buffers ();
public bool is_eos ();
public void set_caps (Gst.Caps caps);
public void set_drop (bool drop);
public void set_emit_signals (bool emit);
public void set_max_buffers (uint max);
public Gst.Caps caps { owned get; set; }
public bool drop { get; set; }
public bool emit_signals { get; set; }
[NoAccessorMethod]
public virtual bool eos { get; }
public uint max_buffers { get; set; }
public virtual signal void new_preroll ();
public virtual signal void new_sample ();
[HasEmitter]
public virtual signal Gst.Sample pull_preroll ();
[HasEmitter]
public virtual signal Gst.Sample pull_sample ();
}
[CCode (cheader_filename = "gst/app/gstappsink.h,gst/app/gstappsrc.h", type_id = "gst_app_src_get_type ()")]
[GIR (name = "AppSrc")]
public class Src : Gst.Base.Src, Gst.URIHandler {
[CCode (has_construct_function = false)]
protected Src ();
public virtual Gst.FlowReturn end_of_stream ();
public Gst.Caps get_caps ();
public bool get_emit_signals ();
public void get_latency (uint64 min, uint64 max);
public uint64 get_max_bytes ();
public int64 get_size ();
public Gst.App.StreamType get_stream_type ();
public virtual Gst.FlowReturn push_buffer (Gst.Buffer buffer);
public void set_caps (Gst.Caps caps);
public void set_emit_signals (bool emit);
public void set_latency (uint64 min, uint64 max);
public void set_max_bytes (uint64 max);
public void set_size (int64 size);
public void set_stream_type (Gst.App.StreamType type);
[NoAccessorMethod]
public bool block { get; set; }
public Gst.Caps caps { owned get; set; }
public bool emit_signals { get; set; }
[NoAccessorMethod]
public bool is_live { get; set; }
public uint64 max_bytes { get; set; }
[NoAccessorMethod]
public int64 max_latency { get; set; }
[NoAccessorMethod]
public int64 min_latency { get; set; }
[NoAccessorMethod]
public uint min_percent { get; set; }
public int64 size { get; set; }
public Gst.App.StreamType stream_type { get; set; }
public virtual signal void enough_data ();
public virtual signal void need_data (uint length);
public virtual signal bool seek_data (uint64 offset);
}
[CCode (cheader_filename = "gst/app/gstappsink.h,gst/app/gstappsrc.h", cprefix = "GST_APP_STREAM_TYPE_", type_id = "gst_app_stream_type_get_type ()")]
[GIR (name = "AppStreamType")]
public enum StreamType {
STREAM,
SEEKABLE,
RANDOM_ACCESS
}
}
}
This diff is collapsed.
/* gstreamer-fft-1.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Gst", gir_namespace = "GstFft", gir_version = "1.0", lower_case_cprefix = "gst_")]
namespace Gst {
namespace FFT {
[CCode (cheader_filename = "gst/fft/gstfft.h,gst/fft/gstfftf32.h,gst/fft/gstfftf64.h,gst/fft/gstffts16.h,gst/fft/gstffts32.h")]
[Compact]
[GIR (name = "FFTF32")]
public class F32 {
public F32 (int len, bool inverse);
public void fft (float timedata, Gst.FFT.F32Complex freqdata);
public void free ();
public void inverse_fft (Gst.FFT.F32Complex freqdata, float timedata);
public void window (float timedata, Gst.FFT.Window window);
}
[CCode (cheader_filename = "gst/fft/gstfft.h,gst/fft/gstfftf32.h,gst/fft/gstfftf64.h,gst/fft/gstffts16.h,gst/fft/gstffts32.h")]
[Compact]
[GIR (name = "FFTF64")]
public class F64 {
public F64 (int len, bool inverse);
public void fft (double timedata, Gst.FFT.F64Complex freqdata);
public void free ();
public void inverse_fft (Gst.FFT.F64Complex freqdata, double timedata);
public void window (double timedata, Gst.FFT.Window window);
}
[CCode (cheader_filename = "gst/fft/gstfft.h,gst/fft/gstfftf32.h,gst/fft/gstfftf64.h,gst/fft/gstffts16.h,gst/fft/gstffts32.h")]
[Compact]
[GIR (name = "FFTS16")]
public class S16 {
public S16 (int len, bool inverse);
public void fft (int16 timedata, Gst.FFT.S16Complex freqdata);
public void free ();
public void inverse_fft (Gst.FFT.S16Complex freqdata, int16 timedata);
public void window (int16 timedata, Gst.FFT.Window window);
}
[CCode (cheader_filename = "gst/fft/gstfft.h,gst/fft/gstfftf32.h,gst/fft/gstfftf64.h,gst/fft/gstffts16.h,gst/fft/gstffts32.h")]
[Compact]
[GIR (name = "FFTS32")]
public class S32 {
public S32 (int len, bool inverse);
public void fft (int32 timedata, Gst.FFT.S32Complex freqdata);
public void free ();
public void inverse_fft (Gst.FFT.S32Complex freqdata, int32 timedata);
public void window (int32 timedata, Gst.FFT.Window window);
}
[CCode (cheader_filename = "gst/fft/gstfft.h,gst/fft/gstfftf32.h,gst/fft/gstfftf64.h,gst/fft/gstffts16.h,gst/fft/gstffts32.h", has_type_id = false)]
[GIR (name = "FFTF32Complex")]
public struct F32Complex {
public float r;
public float i;
}
[CCode (cheader_filename = "gst/fft/gstfft.h,gst/fft/gstfftf32.h,gst/fft/gstfftf64.h,gst/fft/gstffts16.h,gst/fft/gstffts32.h", has_type_id = false)]
[GIR (name = "FFTF64Complex")]
public struct F64Complex {
public double r;
public double i;
}
[CCode (cheader_filename = "gst/fft/gstfft.h,gst/fft/gstfftf32.h,gst/fft/gstfftf64.h,gst/fft/gstffts16.h,gst/fft/gstffts32.h", has_type_id = false)]
[GIR (name = "FFTS16Complex")]
public struct S16Complex {
public int16 r;
public int16 i;
}
[CCode (cheader_filename = "gst/fft/gstfft.h,gst/fft/gstfftf32.h,gst/fft/gstfftf64.h,gst/fft/gstffts16.h,gst/fft/gstffts32.h", has_type_id = false)]
[GIR (name = "FFTS32Complex")]
public struct S32Complex {
public int32 r;
public int32 i;
}
[CCode (cheader_filename = "gst/fft/gstfft.h,gst/fft/gstfftf32.h,gst/fft/gstfftf64.h,gst/fft/gstffts16.h,gst/fft/gstffts32.h", cprefix = "GST_FFT_WINDOW_", has_type_id = false)]
[GIR (name = "FFTWindow")]
public enum Window {
RECTANGULAR,
HAMMING,
HANN,
BARTLETT,
BLACKMAN
}
[CCode (cheader_filename = "gst/fft/gstfft.h,gst/fft/gstfftf32.h,gst/fft/gstfftf64.h,gst/fft/gstffts16.h,gst/fft/gstffts32.h", cname = "gst_fft_next_fast_length")]
public static int fft_next_fast_length (int n);
}
}
This diff is collapsed.
This diff is collapsed.
gstreamer-1.0
gstreamer-sdp-1.0
gio-2.0
This diff is collapsed.
/* gstreamer-sdp-1.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Gst", gir_namespace = "GstSdp", gir_version = "1.0", lower_case_cprefix = "gst_")]
namespace Gst {
namespace SDP {
[CCode (cheader_filename = "gst/sdp/gstsdp.h,gst/sdp/gstsdpmessage.h")]
[Compact]
[GIR (name = "SDPMessage")]
public class Message {
public weak GLib.Array<void*> attributes;
public weak GLib.Array<void*> bandwidths;
public Gst.SDP.Connection connection;
public weak GLib.Array<void*> emails;
public weak string information;
public Gst.SDP.Key key;
public weak GLib.Array<void*> medias;
public Gst.SDP.Origin origin;
public weak GLib.Array<void*> phones;
public weak string session_name;
public weak GLib.Array<void*> times;
public weak string uri;
public weak string version;
public weak GLib.Array<void*> zones;
public Gst.SDP.Result add_attribute (string key, string value);
public Gst.SDP.Result add_bandwidth (string bwtype, uint bandwidth);
public Gst.SDP.Result add_email (string email);
public Gst.SDP.Result add_media (Gst.SDP.Media media);
public Gst.SDP.Result add_phone (string phone);
public Gst.SDP.Result add_time (string start, string stop, [CCode (array_length = false)] string[] repeat);
public Gst.SDP.Result add_zone (string adj_time, string typed_time);
public string as_text ();
public uint attributes_len ();
public uint bandwidths_len ();
public Gst.SDP.Result dump ();
public uint emails_len ();
public Gst.SDP.Result free ();
public Gst.SDP.Attribute get_attribute (uint idx);
public unowned string get_attribute_val (string key);
public unowned string get_attribute_val_n (string key, uint nth);
public Gst.SDP.Bandwidth get_bandwidth (uint idx);
public Gst.SDP.Connection get_connection ();
public unowned string get_email (uint idx);
public unowned string get_information ();
public Gst.SDP.Key get_key ();
public Gst.SDP.Media get_media (uint idx);
public Gst.SDP.Origin get_origin ();
public unowned string get_phone (uint idx);
public unowned string get_session_name ();
public Gst.SDP.Time get_time (uint idx);
public unowned string get_uri ();
public unowned string get_version ();
public Gst.SDP.Zone get_zone (uint idx);
public Gst.SDP.Result init ();
public uint medias_len ();
public uint phones_len ();
public Gst.SDP.Result set_connection (string nettype, string addrtype, string address, uint ttl, uint addr_number);
public Gst.SDP.Result set_information (string information);
public Gst.SDP.Result set_key (string type, string data);
public Gst.SDP.Result set_origin (string username, string sess_id, string sess_version, string nettype, string addrtype, string addr);
public Gst.SDP.Result set_session_name (string session_name);
public Gst.SDP.Result set_uri (string uri);
public Gst.SDP.Result set_version (string version);
public uint times_len ();
public Gst.SDP.Result uninit ();
public uint zones_len ();
}
[CCode (cheader_filename = "gst/sdp/gstsdp.h,gst/sdp/gstsdpmessage.h", has_type_id = false)]
[GIR (name = "SDPAttribute")]
public struct Attribute {
public weak string key;
public weak string value;
}
[CCode (cheader_filename = "gst/sdp/gstsdp.h,gst/sdp/gstsdpmessage.h", has_type_id = false)]
[GIR (name = "SDPBandwidth")]
public struct Bandwidth {
public weak string bwtype;
public uint bandwidth;
}
[CCode (cheader_filename = "gst/sdp/gstsdp.h,gst/sdp/gstsdpmessage.h", has_type_id = false)]
[GIR (name = "SDPConnection")]
public struct Connection {
public weak string nettype;
public weak string addrtype;
public weak string address;
public uint ttl;
public uint addr_number;
}
[CCode (cheader_filename = "gst/sdp/gstsdp.h,gst/sdp/gstsdpmessage.h", has_type_id = false)]
[GIR (name = "SDPKey")]
public struct Key {
public weak string type;
public weak string data;
}
[CCode (cheader_filename = "gst/sdp/gstsdp.h,gst/sdp/gstsdpmessage.h", has_type_id = false)]
[GIR (name = "SDPMedia")]
public struct Media {
public weak string media;
public uint port;
public uint num_ports;
public weak string proto;
public weak GLib.Array<void*> fmts;
public weak string information;
public weak GLib.Array<void*> connections;
public weak GLib.Array<void*> bandwidths;
public Gst.SDP.Key key;
public weak GLib.Array<void*> attributes;
public Gst.SDP.Result add_attribute (string key, string value);
public Gst.SDP.Result add_bandwidth (string bwtype, uint bandwidth);
public Gst.SDP.Result add_connection (string nettype, string addrtype, string address, uint ttl, uint addr_number);
public Gst.SDP.Result add_format (string format);
public string as_text ();
public uint attributes_len ();
public uint bandwidths_len ();
public uint connections_len ();
public uint formats_len ();
public Gst.SDP.Result free ();
public Gst.SDP.Attribute get_attribute (uint idx);
public unowned string get_attribute_val (string key);
public unowned string get_attribute_val_n (string key, uint nth);
public Gst.SDP.Bandwidth get_bandwidth (uint idx);
public Gst.SDP.Connection get_connection (uint idx);
public unowned string get_format (uint idx);
public unowned string get_information ();
public Gst.SDP.Key get_key ();
public unowned string get_media ();
public uint get_num_ports ();
public uint get_port ();
public unowned string get_proto ();
public Gst.SDP.Result init ();
public Gst.SDP.Result set_information (string information);
public Gst.SDP.Result set_key (string type, string data);
public Gst.SDP.Result set_media (string med);
public Gst.SDP.Result set_port_info (uint port, uint num_ports);
public Gst.SDP.Result set_proto (string proto);
public Gst.SDP.Result uninit ();
}
[CCode (cheader_filename = "gst/sdp/gstsdp.h,gst/sdp/gstsdpmessage.h", has_type_id = false)]
[GIR (name = "SDPOrigin")]
public struct Origin {
public weak string username;
public weak string sess_id;
public weak string sess_version;
public weak string nettype;
public weak string addrtype;
public weak string addr;
}
[CCode (cheader_filename = "gst/sdp/gstsdp.h,gst/sdp/gstsdpmessage.h", has_type_id = false)]
[GIR (name = "SDPTime")]
public struct Time {
public weak string start;
public weak string stop;
public weak GLib.Array<void*> repeat;
}
[CCode (cheader_filename = "gst/sdp/gstsdp.h,gst/sdp/gstsdpmessage.h", has_type_id = false)]
[GIR (name = "SDPZone")]
public struct Zone {
public weak string time;
public weak string typed_time;
}
[CCode (cheader_filename = "gst/sdp/gstsdp.h,gst/sdp/gstsdpmessage.h", cprefix = "GST_SDP_", has_type_id = false)]
[GIR (name = "SDPResult")]
public enum Result {
OK,
EINVAL
}
[CCode (cheader_filename = "gst/sdp/gstsdp.h,gst/sdp/gstsdpmessage.h", cname = "GST_SDP_BWTYPE_AS")]
public const string BWTYPE_AS;
[CCode (cheader_filename = "gst/sdp/gstsdp.h,gst/sdp/gstsdpmessage.h", cname = "GST_SDP_BWTYPE_CT")]
public const string BWTYPE_CT;
[CCode (cheader_filename = "gst/sdp/gstsdp.h,gst/sdp/gstsdpmessage.h", cname = "GST_SDP_BWTYPE_EXT_PREFIX")]
public const string BWTYPE_EXT_PREFIX;
[CCode (cheader_filename = "gst/sdp/gstsdp.h,gst/sdp/gstsdpmessage.h", cname = "GST_SDP_BWTYPE_RR")]
public const string BWTYPE_RR;
[CCode (cheader_filename = "gst/sdp/gstsdp.h,gst/sdp/gstsdpmessage.h", cname = "GST_SDP_BWTYPE_RS")]
public const string BWTYPE_RS;
[CCode (cheader_filename = "gst/sdp/gstsdp.h,gst/sdp/gstsdpmessage.h", cname = "GST_SDP_BWTYPE_TIAS")]
public const string BWTYPE_TIAS;
[CCode (cheader_filename = "gst/sdp/gstsdp.h,gst/sdp/gstsdpmessage.h")]
public static bool address_is_multicast (string nettype, string addrtype, string addr);
[CCode (cheader_filename = "gst/sdp/gstsdp.h,gst/sdp/gstsdpmessage.h")]
public static Gst.SDP.Result media_new (out Gst.SDP.Media media);
[CCode (cheader_filename = "gst/sdp/gstsdp.h,gst/sdp/gstsdpmessage.h")]
public static string message_as_uri (string scheme, Gst.SDP.Message msg);
[CCode (cheader_filename = "gst/sdp/gstsdp.h,gst/sdp/gstsdpmessage.h")]
public static Gst.SDP.Result message_new (out Gst.SDP.Message msg);
[CCode (cheader_filename = "gst/sdp/gstsdp.h,gst/sdp/gstsdpmessage.h")]
public static Gst.SDP.Result message_parse_buffer (uint8 data, uint size, Gst.SDP.Message msg);
[CCode (cheader_filename = "gst/sdp/gstsdp.h,gst/sdp/gstsdpmessage.h")]
public static Gst.SDP.Result message_parse_uri (string uri, Gst.SDP.Message msg);
}
}
/* gstreamer-tag-1.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Gst", gir_namespace = "GstTag", gir_version = "1.0", lower_case_cprefix = "gst_")]
namespace Gst {
namespace Tag {
namespace CDDA {
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CDDA_CDDB_DISCID")]
public const string CDDB_DISCID;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CDDA_CDDB_DISCID_FULL")]
public const string CDDB_DISCID_FULL;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CDDA_MUSICBRAINZ_DISCID")]
public const string MUSICBRAINZ_DISCID;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CDDA_MUSICBRAINZ_DISCID_FULL")]
public const string MUSICBRAINZ_DISCID_FULL;
}
namespace CMML {
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CMML_CLIP")]
public const string CLIP;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CMML_HEAD")]
public const string HEAD;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CMML_STREAM")]
public const string STREAM;
}
namespace Capturing {
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CAPTURING_CONTRAST")]
public const string CONTRAST;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CAPTURING_DIGITAL_ZOOM_RATIO")]
public const string DIGITAL_ZOOM_RATIO;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CAPTURING_EXPOSURE_COMPENSATION")]
public const string EXPOSURE_COMPENSATION;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CAPTURING_EXPOSURE_MODE")]
public const string EXPOSURE_MODE;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CAPTURING_EXPOSURE_PROGRAM")]
public const string EXPOSURE_PROGRAM;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CAPTURING_FLASH_FIRED")]
public const string FLASH_FIRED;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CAPTURING_FLASH_MODE")]
public const string FLASH_MODE;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CAPTURING_FOCAL_LENGTH")]
public const string FOCAL_LENGTH;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CAPTURING_FOCAL_RATIO")]
public const string FOCAL_RATIO;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CAPTURING_GAIN_ADJUSTMENT")]
public const string GAIN_ADJUSTMENT;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CAPTURING_ISO_SPEED")]
public const string ISO_SPEED;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CAPTURING_METERING_MODE")]
public const string METERING_MODE;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CAPTURING_SATURATION")]
public const string SATURATION;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CAPTURING_SCENE_CAPTURE_TYPE")]
public const string SCENE_CAPTURE_TYPE;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CAPTURING_SHARPNESS")]
public const string SHARPNESS;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CAPTURING_SHUTTER_SPEED")]
public const string SHUTTER_SPEED;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CAPTURING_SOURCE")]
public const string SOURCE;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_CAPTURING_WHITE_BALANCE")]
public const string WHITE_BALANCE;
}
namespace Image {
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_IMAGE_HORIZONTAL_PPI")]
public const string HORIZONTAL_PPI;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_IMAGE_VERTICAL_PPI")]
public const string VERTICAL_PPI;
}
namespace List {
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static bool add_id3_image (Gst.TagList tag_list, uint8 image_data, uint image_data_len, uint id3_picture_type);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static Gst.TagList from_exif_buffer (Gst.Buffer buffer, int byte_order, uint32 base_offset);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static Gst.TagList from_exif_buffer_with_tiff_header (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static Gst.TagList from_id3v2_tag (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static Gst.TagList from_vorbiscomment (uint8 data, size_t size, uint8 id_data, uint id_data_length, string vendor_string);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static Gst.TagList from_vorbiscomment_buffer (Gst.Buffer buffer, uint8 id_data, uint id_data_length, string vendor_string);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static Gst.TagList from_xmp_buffer (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static Gst.TagList new_from_id3v1 (uint8 data);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static Gst.Buffer to_exif_buffer (Gst.TagList taglist, int byte_order, uint32 base_offset);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static Gst.Buffer to_exif_buffer_with_tiff_header (Gst.TagList taglist);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static Gst.Buffer to_vorbiscomment_buffer (Gst.TagList list, uint8 id_data, uint id_data_length, string vendor_string);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static Gst.Buffer to_xmp_buffer (Gst.TagList list, bool read_only);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static Gst.Buffer to_xmp_buffer_full (Gst.TagList list, bool read_only, string schemas);
}
namespace MusicBrainz {
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_MUSICBRAINZ_ALBUMARTISTID")]
public const string ALBUMARTISTID;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_MUSICBRAINZ_ALBUMID")]
public const string ALBUMID;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_MUSICBRAINZ_ARTISTID")]
public const string ARTISTID;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_MUSICBRAINZ_TRACKID")]
public const string TRACKID;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_MUSICBRAINZ_TRMID")]
public const string TRMID;
}
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", type_id = "gst_tag_demux_get_type ()")]
[GIR (name = "TagDemux")]
public abstract class Demux : Gst.Element {
[CCode (has_construct_function = false)]
protected Demux ();
[NoWrapper]
public virtual bool identify_tag (Gst.Buffer buffer, bool start_tag, uint tag_size);
[NoWrapper]
public virtual Gst.TagList merge_tags (Gst.TagList start_tags, Gst.TagList end_tags);
[NoWrapper]
public virtual Gst.Tag.DemuxResult parse_tag (Gst.Buffer buffer, bool start_tag, uint tag_size, Gst.TagList tags);
}
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", type_id = "gst_tag_mux_get_type ()")]
[GIR (name = "TagMux")]
public abstract class Mux : Gst.Element, Gst.TagSetter {
[CCode (has_construct_function = false)]
protected Mux ();
[NoWrapper]
public virtual Gst.Buffer render_end_tag (Gst.TagList tag_list);
[NoWrapper]
public virtual Gst.Buffer render_start_tag (Gst.TagList tag_list);
}
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", type_id = "gst_tag_xmp_writer_get_type ()")]
[GIR (name = "TagXmpWriter")]
public interface XmpWriter : Gst.Element {
public void add_all_schemas ();
public void add_schema (string schema);
public bool has_schema (string schema);
public void remove_all_schemas ();
public void remove_schema (string schema);
public Gst.Buffer tag_list_to_xmp_buffer (Gst.TagList taglist, bool read_only);
}
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cprefix = "GST_TAG_DEMUX_RESULT_", type_id = "gst_tag_demux_result_get_type ()")]
[GIR (name = "TagDemuxResult")]
public enum DemuxResult {
BROKEN_TAG,
AGAIN,
OK
}
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cprefix = "GST_TAG_IMAGE_TYPE_", type_id = "gst_tag_image_type_get_type ()")]
[GIR (name = "TagImageType")]
public enum ImageType {
NONE,
UNDEFINED,
FRONT_COVER,
BACK_COVER,
LEAFLET_PAGE,
MEDIUM,
LEAD_ARTIST,
ARTIST,
CONDUCTOR,
BAND_ORCHESTRA,
COMPOSER,
LYRICIST,
RECORDING_LOCATION,
DURING_RECORDING,
DURING_PERFORMANCE,
VIDEO_CAPTURE,
FISH,
ILLUSTRATION,
[CCode (cname = "GST_TAG_IMAGE_TYPE_BAND_ARTIST_LOGO")]
ARTIST_LOGO,
PUBLISHER_STUDIO_LOGO
}
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cprefix = "GST_TAG_LICENSE_", type_id = "gst_tag_license_flags_get_type ()")]
[Flags]
[GIR (name = "TagLicenseFlags")]
public enum LicenseFlags {
PERMITS_REPRODUCTION,
PERMITS_DISTRIBUTION,
PERMITS_DERIVATIVE_WORKS,
PERMITS_SHARING,
REQUIRES_NOTICE,
[CCode (cname = "GST_TAG_LICENSE_REQUIRES_ATTRIBUTION")]
REQUIRES_ATTRIBUTIONS,
REQUIRES_SHARE_ALIKE,
REQUIRES_SOURCE_CODE,
REQUIRES_COPYLEFT,
REQUIRES_LESSER_COPYLEFT,
PROHIBITS_COMMERCIAL_USE,
PROHIBITS_HIGH_INCOME_NATION_USE,
CREATIVE_COMMONS_LICENSE,
FREE_SOFTWARE_FOUNDATION_LICENSE
}
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "GST_TAG_ID3V2_HEADER_SIZE")]
public const int ID3V2_HEADER_SIZE;
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static bool check_language_code (string lang_code);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static string freeform_string_to_utf8 (string data, int size, string env_vars);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static unowned string from_id3_tag (string id3_tag);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static unowned string from_id3_user_tag (string type, string id3_user_tag);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static unowned string from_vorbis_tag (string vorbis_tag);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static uint get_id3v2_tag_size (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static unowned string get_language_code_iso_639_1 (string lang_code);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static unowned string get_language_code_iso_639_2B (string lang_code);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static unowned string get_language_code_iso_639_2T (string lang_code);
[CCode (array_length = false, array_null_terminated = true, cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static string[] get_language_codes ();
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static unowned string get_language_name (string language_code);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static unowned string get_license_description (string license_ref);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static Gst.Tag.LicenseFlags get_license_flags (string license_ref);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static unowned string get_license_jurisdiction (string license_ref);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static unowned string get_license_nick (string license_ref);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static unowned string get_license_title (string license_ref);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static unowned string get_license_version (string license_ref);
[CCode (array_length = false, array_null_terminated = true, cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static string[] get_licenses ();
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static uint id3_genre_count ();
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static unowned string id3_genre_get (uint id);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static Gst.Sample image_data_to_image_sample (uint8 image_data, uint image_data_len, Gst.Tag.ImageType image_type);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static bool parse_extended_comment (string ext_comment, string key, string lang, string value, bool fail_if_no_key);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static void register_musicbrainz_tags ();
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static unowned string to_id3_tag (string gst_tag);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static GLib.List<string> to_vorbis_comments (Gst.TagList list, string tag);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static unowned string to_vorbis_tag (string gst_tag);
[CCode (cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h", cname = "gst_vorbis_tag_add")]
public static void vorbis_tag_add (Gst.TagList list, string tag, string value);
[CCode (array_length = false, array_null_terminated = true, cheader_filename = "gst/tag/gsttagdemux.h,gst/tag/gsttagmux.h,gst/tag/tag.h,gst/tag/xmpwriter.h")]
public static unowned string[] xmp_list_schemas ();
}
}
This diff is collapsed.
* parent="Gst.App"
App* name="App(.+)"
* parent="Gst.Audio"
Audio* name="Audio(.+)"
AUDIO_* name="AUDIO_(.+)"
// Field ownership
AudioBaseSink.provided_clock unowned=false
AudioClock.*#field skip
// Non-boxed return type
buffer_get_audio_downmix_meta_for_channels skip=false
buffer_add_audio_downmix_meta skip=false
// No way to annotate virtual methods without invokers
AudioSink.write.data type="uint8[]" array_length_idx=1
AudioSrc.read.data type="uint8[]" array_length_idx=1
namespace Gst {
namespace FFT {
[Compact]
public class F32 {