public const string PERFORMER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_PREVIEW_IMAGE")]
public const string PREVIEW_IMAGE;
+ [CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_PRIVATE_DATA")]
+ [Version (since = "1.8")]
+ public const string PRIVATE_DATA;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_PUBLISHER")]
[Version (since = "1.2")]
public const string PUBLISHER;
public void set_timeout (Gst.ClockTime timeout);
public bool single_shot_id_reinit (Gst.ClockID id, Gst.ClockTime time);
public Gst.ClockTime unadjust_unlocked (Gst.ClockTime external);
+ [Version (since = "1.8")]
+ public Gst.ClockTime unadjust_with_calibration (Gst.ClockTime external_target, Gst.ClockTime cinternal, Gst.ClockTime cexternal, Gst.ClockTime cnum, Gst.ClockTime cdenom);
[NoWrapper]
public virtual void unschedule (Gst.ClockEntry entry);
[NoWrapper]
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_control_source_get_type ()")]
public abstract class ControlSource : Gst.Object {
+ [CCode (cname = "get_value_array")]
+ public weak Gst.ControlSourceGetValueArray get_value_array_func;
+ [CCode (cname = "get_value")]
+ public weak Gst.ControlSourceGetValue get_value_func;
[CCode (has_construct_function = false)]
protected ControlSource ();
- public bool get_value (Gst.ClockTime timestamp, double value);
+ public bool get_value (Gst.ClockTime timestamp, out double value);
public bool get_value_array (Gst.ClockTime timestamp, Gst.ClockTime interval, [CCode (array_length_cname = "n_values", array_length_pos = 2.5, array_length_type = "guint")] double[] values);
}
[CCode (cheader_filename = "gst/gst.h", ref_function = "gst_date_time_ref", type_id = "gst_date_time_get_type ()", unref_function = "gst_date_time_unref")]
public Gst.ClockTimeDiff base_time;
public Gst.Bus bus;
public Gst.Clock clock;
+ public weak GLib.List<void*> contexts;
public Gst.State current_state;
public Gst.StateChangeReturn last_return;
public Gst.State next_state;
public Gst.Clock get_clock ();
public Gst.Pad? get_compatible_pad (Gst.Pad pad, Gst.Caps? caps);
public unowned Gst.PadTemplate? get_compatible_pad_template (Gst.PadTemplate compattempl);
+ [Version (since = "1.8")]
+ public Gst.Context get_context (string context_type);
+ [Version (since = "1.8")]
+ public Gst.Context get_context_unlocked (string context_type);
+ [Version (since = "1.8")]
+ public GLib.List<Gst.Context> get_contexts ();
public unowned Gst.ElementFactory get_factory ();
[CCode (cname = "gst_element_class_get_metadata")]
public class unowned string get_metadata (string key);
[CCode (cname = "gst_pad_set_chain_list_function_full")]
public void set_chain_list_function (owned Gst.PadChainListFunction chainlist);
public void set_element_private (void* priv);
+ [Version (since = "1.8")]
+ public void set_event_full_function_full (owned Gst.PadEventFullFunction event);
[CCode (cname = "gst_pad_set_event_function_full")]
public void set_event_function (owned Gst.PadEventFunction event);
[CCode (cname = "gst_pad_set_getrange_function_full")]
public bool is_equal (Gst.Segment s1);
[Version (since = "1.2.3")]
public bool offset_running_time (Gst.Format format, int64 offset);
+ [Version (since = "1.8")]
+ public uint64 position_from_running_time (Gst.Format format, uint64 running_time);
+ [Version (since = "1.8")]
+ public int position_from_running_time_full (Gst.Format format, uint64 running_time, uint64 position);
+ [Version (since = "1.8")]
+ public uint64 position_from_stream_time (Gst.Format format, uint64 stream_time);
+ [Version (since = "1.8")]
+ public int position_from_stream_time_full (Gst.Format format, uint64 stream_time, uint64 position);
public bool set_running_time (Gst.Format format, uint64 running_time);
public uint64 to_position (Gst.Format format, uint64 running_time);
public uint64 to_running_time (Gst.Format format, uint64 position);
[Version (since = "1.6")]
public int to_running_time_full (Gst.Format format, uint64 position, uint64 running_time);
+ [Version (since = "1.8")]
public uint64 to_stream_time (Gst.Format format, uint64 position);
+ [Version (since = "1.8")]
+ public int to_stream_time_full (Gst.Format format, uint64 position, uint64 stream_time);
}
[CCode (cheader_filename = "gst/gst.h", copy_function = "gst_structure_copy", free_function = "gst_structure_free", type_id = "gst_structure_get_type ()")]
[Compact]
public void set_start_stop_times (int64 start, int64 stop);
public void set_tags (owned Gst.TagList? tags);
}
+ [CCode (cheader_filename = "gst/gst.h", type_id = "gst_tracer_get_type ()")]
+ public abstract class Tracer : Gst.Object {
+ [CCode (has_construct_function = false)]
+ protected Tracer ();
+ [NoAccessorMethod]
+ public string @params { owned get; set construct; }
+ }
+ [CCode (cheader_filename = "gst/gst.h", type_id = "gst_tracer_factory_get_type ()")]
+ [Version (since = "1.8")]
+ public class TracerFactory : Gst.PluginFeature {
+ [CCode (has_construct_function = false)]
+ protected TracerFactory ();
+ public static GLib.List<Gst.TracerFactory> get_list ();
+ }
+ [CCode (cheader_filename = "gst/gst.h", type_id = "gst_tracer_record_get_type ()")]
+ public class TracerRecord : Gst.Object {
+ [CCode (has_construct_function = false)]
+ protected TracerRecord ();
+ }
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_type_find_factory_get_type ()")]
public class TypeFindFactory : Gst.PluginFeature {
[CCode (has_construct_function = false)]
NONE,
RECURSE,
PATHS_ARE_DEFAULT_ONLY,
- FILE_NAME_IS_SUFFIX
+ FILE_NAME_IS_SUFFIX,
+ FILE_NAME_IS_PREFIX
}
[CCode (cheader_filename = "gst/gst.h", cprefix = "GST_PLUGIN_FLAG_", type_id = "gst_plugin_flags_get_type ()")]
[Flags]
GLOBAL,
CURRENT
}
+ [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_TRACER_VALUE_FLAGS_", type_id = "gst_tracer_value_flags_get_type ()")]
+ [Flags]
+ public enum TracerValueFlags {
+ NONE,
+ OPTIONAL,
+ AGGREGATED
+ }
+ [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_TRACER_VALUE_SCOPE_", type_id = "gst_tracer_value_scope_get_type ()")]
+ [Version (since = "1.8")]
+ public enum TracerValueScope {
+ PROCESS,
+ THREAD,
+ ELEMENT,
+ PAD
+ }
[CCode (cheader_filename = "gst/gst.h", cprefix = "GST_TYPE_FIND_", type_id = "gst_type_find_probability_get_type ()")]
public enum TypeFindProbability {
NONE,
LINK,
COULD_NOT_SET_PROPERTY,
EMPTY_BIN,
- EMPTY;
+ EMPTY,
+ DELAYED_LINK;
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "gst/gst.h", cprefix = "GST_PLUGIN_ERROR_")]
[CCode (cheader_filename = "gst/gst.h", has_target = false)]
public delegate Gst.FlowReturn PadChainListFunction (Gst.Pad pad, Gst.Object? parent, owned Gst.BufferList list);
[CCode (cheader_filename = "gst/gst.h", has_target = false)]
+ [Version (since = "1.8")]
+ public delegate Gst.FlowReturn PadEventFullFunction (Gst.Pad pad, Gst.Object? parent, owned Gst.Event event);
+ [CCode (cheader_filename = "gst/gst.h", has_target = false)]
public delegate bool PadEventFunction (Gst.Pad pad, Gst.Object? parent, owned Gst.Event event);
[CCode (cheader_filename = "gst/gst.h", instance_pos = 1.9)]
public delegate bool PadForwardFunction (Gst.Pad pad);
public bool get_drop ();
public bool get_emit_signals ();
public uint get_max_buffers ();
+ public bool get_wait_on_eos ();
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 void set_wait_on_eos (bool wait);
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 bool wait_on_eos { get; set; }
public virtual signal Gst.FlowReturn new_preroll ();
public virtual signal Gst.FlowReturn new_sample ();
[HasEmitter]
[NoAccessorMethod]
public uint track { get; set; }
}
+ [CCode (cheader_filename = "gst/audio/audio.h")]
+ [Compact]
+ [GIR (name = "AudioChannelMixer")]
+ public class ChannelMixer {
+ public void free ();
+ public bool is_passthrough ();
+ public void samples (void* @in, void* @out, int samples);
+ }
[CCode (cheader_filename = "gst/audio/audio.h", type_id = "gst_audio_clock_get_type ()")]
[GIR (name = "AudioClock")]
public class Clock : Gst.SystemClock {
public static void invalidate (Gst.Clock clock);
public void reset (Gst.ClockTime time);
}
+ [CCode (cheader_filename = "gst/audio/audio.h")]
+ [Compact]
+ [GIR (name = "AudioConverter")]
+ public class Converter {
+ public void free ();
+ public unowned Gst.Structure get_config (int in_rate, int out_rate);
+ public size_t get_in_frames (size_t out_frames);
+ public size_t get_max_latency ();
+ public size_t get_out_frames (size_t in_frames);
+ public void reset ();
+ public bool samples (Gst.Audio.ConverterFlags flags, void* @in, size_t in_frames, void* @out, size_t out_frames);
+ public bool update_config (int in_rate, int out_rate, owned Gst.Structure? config);
+ }
[CCode (cheader_filename = "gst/audio/audio.h", type_id = "gst_audio_decoder_get_type ()")]
[GIR (name = "AudioDecoder")]
public abstract class Decoder : Gst.Element {
public void set_format (Gst.Audio.Format format, int rate, int channels, Gst.Audio.ChannelPosition position);
public Gst.Caps to_caps ();
}
+ [CCode (cheader_filename = "gst/audio/audio.h")]
+ [Compact]
+ [GIR (name = "AudioQuantize")]
+ public class Quantize {
+ public void free ();
+ public void reset ();
+ public void samples (void* @in, void* @out, uint samples);
+ }
[CCode (cheader_filename = "gst/audio/audio.h", type_id = "gst_audio_ring_buffer_get_type ()")]
[GIR (name = "AudioRingBuffer")]
public abstract class RingBuffer : Gst.Object {
public weak Gst.TagList tags;
}
[CCode (cheader_filename = "gst/audio/audio.h", has_type_id = false)]
+ [GIR (name = "AudioClippingMeta")]
+ [Version (since = "1.8")]
+ public struct ClippingMeta {
+ public Gst.Meta meta;
+ public Gst.Format format;
+ public uint64 start;
+ public uint64 end;
+ }
+ [CCode (cheader_filename = "gst/audio/audio.h", has_type_id = false)]
[GIR (name = "AudioDownmixMeta")]
public struct DownmixMeta {
public Gst.Meta meta;
[CCode (cname = "Stream consists of the whole disc")]
CONTINUOUS
}
+ [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_CHANNEL_MIXER_FLAGS_", type_id = "gst_audio_channel_mixer_flags_get_type ()")]
+ [Flags]
+ [GIR (name = "AudioChannelMixerFlags")]
+ public enum ChannelMixerFlags {
+ NONE,
+ NON_INTERLEAVED,
+ UNPOSITIONED_IN,
+ UNPOSITIONED_OUT
+ }
[CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_CHANNEL_POSITION_", type_id = "gst_audio_channel_position_get_type ()")]
[GIR (name = "AudioChannelPosition")]
public enum ChannelPosition {
SURROUND_LEFT,
SURROUND_RIGHT
}
+ [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_CONVERTER_FLAG_", type_id = "gst_audio_converter_flags_get_type ()")]
+ [Flags]
+ [GIR (name = "AudioConverterFlags")]
+ public enum ConverterFlags {
+ NONE,
+ IN_WRITABLE,
+ VARIABLE_RATE
+ }
+ [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_DITHER_", type_id = "gst_audio_dither_method_get_type ()")]
+ [GIR (name = "AudioDitherMethod")]
+ public enum DitherMethod {
+ NONE,
+ RPDF,
+ TPDF,
+ TPDF_HF
+ }
[CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_FLAG_", type_id = "gst_audio_flags_get_type ()")]
[Flags]
[GIR (name = "AudioFlags")]
INTERLEAVED,
NON_INTERLEAVED
}
+ [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_NOISE_SHAPING_", type_id = "gst_audio_noise_shaping_method_get_type ()")]
+ [GIR (name = "AudioNoiseShapingMethod")]
+ public enum NoiseShapingMethod {
+ NONE,
+ ERROR_FEEDBACK,
+ SIMPLE,
+ MEDIUM,
+ HIGH
+ }
[CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_PACK_FLAG_", type_id = "gst_audio_pack_flags_get_type ()")]
+ [Flags]
[GIR (name = "AudioPackFlags")]
public enum PackFlags {
- NONE
+ NONE,
+ TRUNCATE_RANGE
+ }
+ [CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_QUANTIZE_FLAG_", type_id = "gst_audio_quantize_flags_get_type ()")]
+ [Flags]
+ [GIR (name = "AudioQuantizeFlags")]
+ public enum QuantizeFlags {
+ NONE,
+ NON_INTERLEAVED
}
[CCode (cheader_filename = "gst/audio/audio.h", cprefix = "GST_AUDIO_RING_BUFFER_FORMAT_TYPE_", type_id = "gst_audio_ring_buffer_format_type_get_type ()")]
[GIR (name = "AudioRingBufferFormatType")]
public delegate void RingBufferCallback (Gst.Audio.RingBuffer rbuf, [CCode (array_length_cname = "len", array_length_pos = 2.1, array_length_type = "guint")] uint8[] data);
[CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_CHANNELS_RANGE")]
public const string CHANNELS_RANGE;
+ [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_CONVERTER_OPT_DITHER_METHOD")]
+ public const string CONVERTER_OPT_DITHER_METHOD;
+ [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_CONVERTER_OPT_NOISE_SHAPING_METHOD")]
+ public const string CONVERTER_OPT_NOISE_SHAPING_METHOD;
+ [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_CONVERTER_OPT_QUANTIZATION")]
+ public const string CONVERTER_OPT_QUANTIZATION;
[CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_DECODER_MAX_ERRORS")]
public const int DECODER_MAX_ERRORS;
[CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_AUDIO_DECODER_SINK_NAME")]
[CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_META_TAG_AUDIO_CHANNELS_STR")]
[Version (since = "1.2")]
public const string META_TAG_AUDIO_CHANNELS_STR;
+ [CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_META_TAG_AUDIO_RATE_STR")]
+ [Version (since = "1.8")]
+ public const string META_TAG_AUDIO_RATE_STR;
[CCode (cheader_filename = "gst/audio/audio.h", cname = "GST_META_TAG_AUDIO_STR")]
[Version (since = "1.2")]
public const string META_TAG_AUDIO_STR;
public static Gst.Buffer audio_buffer_clip (owned Gst.Buffer buffer, Gst.Segment segment, int rate, int bpf);
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_buffer_reorder_channels")]
public static bool audio_buffer_reorder_channels (Gst.Buffer buffer, Gst.Audio.Format format, int channels, [CCode (array_length = false)] Gst.Audio.ChannelPosition[] from, [CCode (array_length = false)] Gst.Audio.ChannelPosition[] to);
+ [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_channel_get_fallback_mask")]
+ [Version (since = "1.8")]
+ public static uint64 audio_channel_get_fallback_mask (int channels);
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_channel_positions_from_mask")]
public static bool audio_channel_positions_from_mask (uint64 channel_mask, [CCode (array_length_cname = "channels", array_length_pos = 0.5)] Gst.Audio.ChannelPosition[] position);
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_channel_positions_to_mask")]
public static bool audio_channel_positions_to_valid_order ([CCode (array_length_cname = "channels", array_length_pos = 1.1)] Gst.Audio.ChannelPosition[] position);
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_check_valid_channel_positions")]
public static bool audio_check_valid_channel_positions ([CCode (array_length_cname = "channels", array_length_pos = 1.5)] Gst.Audio.ChannelPosition[] position, bool force_order);
+ [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_clipping_meta_api_get_type")]
+ public static GLib.Type audio_clipping_meta_api_get_type ();
+ [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_clipping_meta_get_info")]
+ public static unowned Gst.MetaInfo? audio_clipping_meta_get_info ();
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_downmix_meta_api_get_type")]
public static GLib.Type audio_downmix_meta_api_get_type ();
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_downmix_meta_get_info")]
public static bool audio_iec61937_payload ([CCode (array_length_cname = "src_n", array_length_pos = 1.5, array_length_type = "guint")] uint8[] src, [CCode (array_length_cname = "dst_n", array_length_pos = 2.5, array_length_type = "guint")] uint8[] dst, Gst.Audio.RingBufferSpec spec, int endianness);
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_reorder_channels")]
public static bool audio_reorder_channels ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] data, Gst.Audio.Format format, int channels, [CCode (array_length = false)] Gst.Audio.ChannelPosition[] from, [CCode (array_length = false)] Gst.Audio.ChannelPosition[] to);
+ [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_buffer_add_audio_clipping_meta")]
+ [Version (since = "1.8")]
+ public static unowned Gst.Audio.ClippingMeta? buffer_add_audio_clipping_meta (Gst.Buffer buffer, Gst.Format format, uint64 start, uint64 end);
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_buffer_add_audio_downmix_meta")]
public static unowned Gst.Audio.DownmixMeta? buffer_add_audio_downmix_meta (Gst.Buffer buffer, [CCode (array_length_cname = "from_channels", array_length_pos = 2.5)] Gst.Audio.ChannelPosition[] from_position, [CCode (array_length_cname = "to_channels", array_length_pos = 3.5)] Gst.Audio.ChannelPosition[] to_position, float matrix);
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_buffer_get_audio_downmix_meta_for_channels")]
[CCode (has_construct_function = false, type = "GstClock*")]
public TestClock ();
public void advance_time (Gst.ClockTimeDiff delta);
+ [Version (since = "1.8")]
+ public bool crank ();
public Gst.ClockTime get_next_entry_time ();
public bool has_id (Gst.ClockID id);
[Version (since = "1.4")]
[CCode (cheader_filename = "gst/check/check.h", cname = "GstHarnessPrepareBufferFunc", has_target = false)]
[Version (since = "1.6")]
public delegate Gst.Buffer HarnessPrepareBufferFunc (Gst.Check.Harness h, void* data);
+ [CCode (cheader_filename = "gst/check/check.h", cname = "GstHarnessPrepareEventFunc", has_target = false)]
+ [Version (since = "1.8")]
+ public delegate Gst.Event HarnessPrepareEventFunc (Gst.Check.Harness h, void* data);
[CCode (cheader_filename = "gst/check/check.h")]
public static void abi_list (Gst.Check.ABIStruct list, bool have_abi_sizes);
[CCode (cheader_filename = "gst/check/check.h")]
public class ControlPoint {
[CCode (cname = "cache.cubic.h")]
public double cache_cubic_h;
+ [CCode (cname = "cache.cubic_monotonic.c1s")]
+ public double cache_cubic_monotonic_c1s;
+ [CCode (cname = "cache.cubic_monotonic.c2s")]
+ public double cache_cubic_monotonic_c2s;
+ [CCode (cname = "cache.cubic_monotonic.c3s")]
+ public double cache_cubic_monotonic_c3s;
[CCode (cname = "cache.cubic.z")]
public double cache_cubic_z;
public Gst.ClockTime timestamp;
public enum InterpolationMode {
NONE,
LINEAR,
- CUBIC
+ CUBIC,
+ CUBIC_MONOTONIC
}
[CCode (cheader_filename = "gst/controller/controller.h", cname = "GstLFOWaveform", cprefix = "GST_LFO_WAVEFORM_", type_id = "gst_lfo_waveform_get_type ()")]
[GIR (name = "LFOWaveform")]
[NoAccessorMethod]
public uint domain { get; construct; }
[NoAccessorMethod]
+ public uint64 grandmaster_clock_id { get; }
+ [NoAccessorMethod]
public Gst.Clock internal_clock { owned get; }
+ [NoAccessorMethod]
+ public uint64 master_clock_id { get; }
}
[CCode (cheader_filename = "gst/net/net.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_net_time_packet_get_type ()")]
[Compact]
}
[CCode (cheader_filename = "gst/net/net.h", type_id = "gst_net_time_provider_get_type ()")]
[GIR (name = "NetTimeProvider")]
- public class TimeProvider : Gst.Object {
+ public class TimeProvider : Gst.Object, GLib.Initable {
[CCode (has_construct_function = false)]
public TimeProvider (Gst.Clock clock, string? address, int port);
[NoAccessorMethod]
public bool active { get; set; }
[NoAccessorMethod]
- public string address { owned get; set; }
+ public string address { owned get; construct; }
[NoAccessorMethod]
- public Gst.Clock clock { owned get; set; }
+ public Gst.Clock clock { owned get; construct; }
[NoAccessorMethod]
- public int port { get; set; }
+ public int port { get; construct; }
}
[CCode (cheader_filename = "gst/net/net.h", has_type_id = false)]
[GIR (name = "NetAddressMeta")]
public static unowned Gst.Net.AddressMeta? buffer_add_net_address_meta (Gst.Buffer buffer, GLib.SocketAddress addr);
[CCode (cheader_filename = "gst/net/net.h", cname = "gst_buffer_add_net_control_message_meta")]
public static unowned Gst.Net.ControlMessageMeta? buffer_add_net_control_message_meta (Gst.Buffer buffer, GLib.SocketControlMessage message);
+ [CCode (cheader_filename = "gst/net/net.h", cname = "gst_buffer_get_net_address_meta")]
+ public static unowned Gst.Net.AddressMeta? buffer_get_net_address_meta (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/net/net.h")]
public static GLib.Type control_message_meta_api_get_type ();
[CCode (cheader_filename = "gst/net/net.h")]
public static unowned string get_profile (uint8 vis_obj_seq, uint len);
}
}
+ [CCode (cheader_filename = "gst/pbutils/pbutils.h", lower_case_cprefix = "gst_audio_visualizer_", lower_case_csuffix = "audio_visualizer", type_id = "gst_audio_visualizer_get_type ()")]
+ [GIR (name = "AudioVisualizer-BaseExtLibvisual")]
+ public abstract class AudioVisualizer-BaseExtLibvisual : Gst.Element {
+ [CCode (has_construct_function = false)]
+ protected AudioVisualizer-BaseExtLibvisual ();
+ [NoAccessorMethod]
+ public uint shade_amount { get; set; }
+ }
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "GstDiscoverer", lower_case_cprefix = "gst_discoverer_", type_id = "gst_discoverer_get_type ()")]
[GIR (name = "Discoverer")]
public class Discoverer : GLib.Object {
public void set_startup_notification_id (string startup_id);
public void set_xid (uint xid);
}
+ [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "GstAudioVisualizer", has_type_id = false)]
+ [GIR (name = "AudioVisualizer")]
+ public struct AudioVisualizer {
+ public weak Gst.Element parent;
+ public uint req_spf;
+ public weak Gst.Video.Info vinfo;
+ public weak Gst.Audio.Info ainfo;
+ }
+ [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "GstAudioVisualizerShader", cprefix = "GST_AUDIO_VISUALIZER_SHADER_", type_id = "gst_audio_visualizer_shader_get_type ()")]
+ [GIR (name = "AudioVisualizerShader")]
+ public enum AudioVisualizerShader {
+ NONE,
+ FADE,
+ FADE_AND_MOVE_UP,
+ FADE_AND_MOVE_DOWN,
+ FADE_AND_MOVE_LEFT,
+ FADE_AND_MOVE_RIGHT,
+ FADE_AND_MOVE_HORIZ_OUT,
+ FADE_AND_MOVE_HORIZ_IN,
+ FADE_AND_MOVE_VERT_OUT,
+ FADE_AND_MOVE_VERT_IN
+ }
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "GstDiscovererResult", cprefix = "GST_DISCOVERER_", type_id = "gst_discoverer_result_get_type ()")]
[GIR (name = "DiscovererResult")]
public enum DiscovererResult {
HELPER_MISSING,
INSTALL_IN_PROGRESS
}
+ [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "GstAudioVisualizerShaderFunc", has_target = false)]
+ public delegate void AudioVisualizerShaderFunc (Gst.PbUtils.AudioVisualizer scope, Gst.Video.Frame s, Gst.Video.Frame d);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "GstInstallPluginsResultFunc", instance_pos = 1.9)]
public delegate void InstallPluginsResultFunc (Gst.PbUtils.InstallPluginsReturn result);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "GST_ENCODING_CATEGORY_CAPTURE")]
public static unowned string codec_utils_h265_get_profile (uint8 profile_tier_level, uint len);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_codec_utils_h265_get_tier")]
public static unowned string codec_utils_h265_get_tier (uint8 profile_tier_level, uint len);
+ [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_codec_utils_opus_create_caps")]
+ [Version (since = "1.8")]
+ public static Gst.Caps codec_utils_opus_create_caps (uint32 rate, uint8 channels, uint8 channel_mapping_family, uint8 stream_count, uint8 coupled_count, uint8? channel_mapping);
+ [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_codec_utils_opus_create_caps_from_header")]
+ [Version (since = "1.8")]
+ public static Gst.Caps codec_utils_opus_create_caps_from_header (Gst.Buffer header, Gst.Buffer? comments);
+ [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_codec_utils_opus_create_header")]
+ [Version (since = "1.8")]
+ public static Gst.Buffer codec_utils_opus_create_header (uint32 rate, uint8 channels, uint8 channel_mapping_family, uint8 stream_count, uint8 coupled_count, uint8? channel_mapping, uint16 pre_skip, int16 output_gain);
+ [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_codec_utils_opus_parse_caps")]
+ [Version (since = "1.8")]
+ public static bool codec_utils_opus_parse_caps (Gst.Caps caps, uint32 rate, uint8 channels, uint8 channel_mapping_family, uint8 stream_count, uint8 coupled_count, uint8 channel_mapping);
+ [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_codec_utils_opus_parse_header")]
+ [Version (since = "1.8")]
+ public static bool codec_utils_opus_parse_header (Gst.Buffer header, uint32 rate, uint8 channels, uint8 channel_mapping_family, uint8 stream_count, uint8 coupled_count, uint8 channel_mapping, uint16 pre_skip, int16 output_gain);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_encoding_list_all_targets")]
public static GLib.List<Gst.PbUtils.EncodingTarget> encoding_list_all_targets (string? categoryname);
[CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_encoding_list_available_categories")]
public void clear_auth_params ();
public Gst.RTSP.Result close ();
public Gst.RTSP.Result connect (GLib.TimeVal timeout);
+ public Gst.RTSP.Result connect_with_response (GLib.TimeVal timeout, Gst.RTSP.Message response);
public Gst.RTSP.Result do_tunnel (Gst.RTSP.Connection conn2);
public Gst.RTSP.Result flush (bool flush);
public Gst.RTSP.Result free ();
public bool add_t (Gst.SDP.MIKEYTSType type, [CCode (array_length = false)] uint8[] ts_value);
[Version (since = "1.4")]
public bool add_t_now_ntp_utc ();
+ [Version (since = "1.8")]
+ public string base64_encode ();
[Version (since = "1.4")]
public unowned Gst.SDP.MIKEYPayload find_payload (Gst.SDP.MIKEYPayloadType type, uint nth);
[CCode (has_construct_function = false)]
[Version (since = "1.4")]
public MIKEYMessage.from_bytes (GLib.Bytes bytes, Gst.SDP.MIKEYDecryptInfo info) throws GLib.Error;
[CCode (has_construct_function = false)]
+ [Version (since = "1.8")]
+ public MIKEYMessage.from_caps (Gst.Caps caps);
+ [CCode (has_construct_function = false)]
[Version (since = "1.4")]
public MIKEYMessage.from_data ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] data, Gst.SDP.MIKEYDecryptInfo info) throws GLib.Error;
[Version (since = "1.4")]
public Gst.SDP.Result add_zone (string adj_time, string typed_time);
public string as_text ();
public uint attributes_len ();
+ [Version (since = "1.8")]
+ public Gst.SDP.Result attributes_to_caps (Gst.Caps caps);
public uint bandwidths_len ();
[Version (since = "1.2")]
public Gst.SDP.Result copy (out Gst.SDP.Message copy);
public Gst.SDP.Result add_format (string format);
public string as_text ();
public uint attributes_len ();
+ [Version (since = "1.8")]
+ public Gst.SDP.Result attributes_to_caps (Gst.Caps caps);
public uint bandwidths_len ();
public uint connections_len ();
[Version (since = "1.2")]
public unowned string get_attribute_val (string key);
public unowned string get_attribute_val_n (string key, uint nth);
public unowned Gst.SDP.Bandwidth? get_bandwidth (uint idx);
+ [Version (since = "1.8")]
+ public Gst.Caps get_caps_from_media (int pt);
public unowned Gst.SDP.Connection? get_connection (uint idx);
public unowned string get_format (uint idx);
public unowned string get_information ();
[CCode (cheader_filename = "gst/sdp/sdp.h")]
public static bool address_is_multicast (string nettype, string addrtype, string addr);
[CCode (cheader_filename = "gst/sdp/sdp.h")]
+ [Version (since = "1.8")]
+ public static string make_keymgmt (string uri, string base64);
+ [CCode (cheader_filename = "gst/sdp/sdp.h")]
public static Gst.SDP.Result media_new (out Gst.SDP.Media media);
[CCode (cheader_filename = "gst/sdp/sdp.h")]
+ [Version (since = "1.8")]
+ public static Gst.SDP.Result media_set_media_from_caps (Gst.Caps caps, Gst.SDP.Media media);
+ [CCode (cheader_filename = "gst/sdp/sdp.h")]
public static string message_as_uri (string scheme, Gst.SDP.Message msg);
[CCode (cheader_filename = "gst/sdp/sdp.h")]
public static Gst.SDP.Result message_new (out Gst.SDP.Message msg);
public bool try_set_render_rectangle (int x, int y, int width, int height);
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
+ [GIR (name = "VideoAffineTransformationMeta")]
+ public struct AffineTransformationMeta {
+ public Gst.Meta meta;
+ [CCode (array_length = false, array_null_terminated = true)]
+ public weak float[] matrix;
+ [Version (since = "1.8")]
+ public void apply_matrix (float matrix);
+ }
+ [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoAlignment")]
public struct Alignment {
public uint padding_top;
public Gst.Video.TileMode tile_mode;
public uint tile_ws;
public uint tile_hs;
- [CCode (array_length = false, array_null_terminated = true)]
- public weak void*[] _gst_reserved;
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoFrame")]
SMPTE170M,
SMPTE240M,
FILM,
- BT2020
+ BT2020,
+ ADOBERGB
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_COLOR_RANGE_", type_id = "gst_video_color_range_get_type ()")]
[GIR (name = "VideoColorRange")]
GAMMA28,
LOG100,
LOG316,
- BT2020_12
+ BT2020_12,
+ ADOBERGB
}
+ [CCode (cheader_filename = "gst/video/video.h", has_target = false)]
+ public delegate bool AffineTransformationGetMatrix (Gst.Video.AffineTransformationMeta meta, float matrix);
[CCode (cheader_filename = "gst/video/video.h", instance_pos = 2.9)]
public delegate void ConvertSampleCallback (Gst.Sample sample, GLib.Error error);
[CCode (cheader_filename = "gst/video/video.h", has_target = false)]
public delegate void FormatUnpack (Gst.Video.FormatInfo info, Gst.Video.PackFlags flags, void* dest, void* data, int stride, int x, int y, int width);
[CCode (cheader_filename = "gst/video/video.h", has_target = false)]
public delegate bool GLTextureUpload (Gst.Video.GLTextureUploadMeta meta, uint texture_id);
+ [CCode (cheader_filename = "gst/video/video.h", cname = "GST_BUFFER_POOL_OPTION_VIDEO_AFFINE_TRANSFORMATION_META")]
+ public const string BUFFER_POOL_OPTION_VIDEO_AFFINE_TRANSFORMATION_META;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT")]
public const string BUFFER_POOL_OPTION_VIDEO_ALIGNMENT;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META")]
public const string BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_BUFFER_POOL_OPTION_VIDEO_META")]
public const string BUFFER_POOL_OPTION_VIDEO_META;
+ [CCode (cheader_filename = "gst/video/video.h", cname = "GST_CAPS_FEATURE_META_GST_VIDEO_AFFINE_TRANSFORMATION_META")]
+ public const string CAPS_FEATURE_META_GST_VIDEO_AFFINE_TRANSFORMATION_META;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META")]
public const string CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_CAPS_FEATURE_META_GST_VIDEO_META")]
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_TILE_Y_TILES_SHIFT")]
public const int TILE_Y_TILES_SHIFT;
[CCode (cheader_filename = "gst/video/video.h")]
+ public static GLib.Type affine_transformation_meta_api_get_type ();
+ [CCode (cheader_filename = "gst/video/video.h")]
+ public static unowned Gst.MetaInfo? affine_transformation_meta_get_info ();
+ [CCode (cheader_filename = "gst/video/video.h")]
public static bool blend (Gst.Video.Frame dest, Gst.Video.Frame src, int x, int y, float global_alpha);
[CCode (cheader_filename = "gst/video/video.h")]
public static void blend_scale_linear_RGBA (Gst.Video.Info src, Gst.Buffer src_buffer, int dest_height, int dest_width, out unowned Gst.Video.Info dest, out Gst.Buffer dest_buffer);
+ [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_affine_transformation_meta")]
+ [Version (since = "1.8")]
+ public static unowned Gst.Video.AffineTransformationMeta? buffer_add_video_affine_transformation_meta (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_gl_texture_upload_meta")]
public static unowned Gst.Video.GLTextureUploadMeta? buffer_add_video_gl_texture_upload_meta (Gst.Buffer buffer, Gst.Video.GLTextureOrientation texture_orientation, uint n_textures, Gst.Video.GLTextureType texture_type, [CCode (delegate_target_pos = 5.5)] Gst.Video.GLTextureUpload upload, GLib.BoxedCopyFunc user_data_copy, GLib.BoxedFreeFunc user_data_free);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_meta")]
// Custom
Buffer
.copy_into skip
+ControlSource
+ .get_value#field name="get_value_func"
+ .get_value_array#field name="get_value_array_func"
+ .control_source_get_value name="get_value"
+ .control_source_get_value_array name="get_value_array"
// Backwards compatibility
Structure.new_from_string skip
* parent="Gst.Controller"
+ControlPoint
+ .cache._gst_reserved skip
+
DirectControlBinding
.new_absolute name=".new_with_absolute"