public bool convert (Gst.Format src_fmt, int64 src_val, Gst.Format dest_fmt, out int64 dest_val);
public Gst.Audio.Info copy ();
public void free ();
- public bool from_caps (Gst.Caps caps);
- public void init ();
[Version (since = "1.2")]
public bool is_equal (Gst.Audio.Info other);
public void set_format (Gst.Audio.Format format, int rate, int channels, [CCode (array_length = false)] Gst.Audio.ChannelPosition position[64]);
public int n_planes;
public void* planes;
public weak Gst.Buffer buffer;
- public bool map (Gst.Audio.Info info, Gst.Buffer gstbuffer, Gst.MapFlags flags);
public void unmap ();
}
[CCode (cheader_filename = "gst/audio/audio.h", has_type_id = false)]
public const int RESAMPLER_QUALITY_MIN;
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_buffer_clip")]
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_map")]
+ [Version (since = "1.16")]
+ public static bool audio_buffer_map (out Gst.Audio.Buffer buffer, Gst.Audio.Info info, Gst.Buffer gstbuffer, Gst.MapFlags flags);
[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, [CCode (array_length_cname = "channels", array_length_pos = 2.5)] Gst.Audio.ChannelPosition[] from, [CCode (array_length_cname = "channels", array_length_pos = 2.5)] Gst.Audio.ChannelPosition[] to);
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_buffer_truncate")]
public static uint audio_iec61937_frame_size (Gst.Audio.RingBufferSpec spec);
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_iec61937_payload")]
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_info_from_caps")]
+ public static bool audio_info_from_caps (out unowned Gst.Audio.Info info, Gst.Caps caps);
+ [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_info_init")]
+ public static void audio_info_init (out unowned Gst.Audio.Info info);
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_make_raw_caps")]
[Version (since = "1.18")]
public static Gst.Caps audio_make_raw_caps ([CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "guint")] Gst.Audio.Format[]? formats, Gst.Audio.Layout layout);
public Gst.Video.Info copy ();
[Version (since = "1.6")]
public void free ();
- public bool from_caps (Gst.Caps caps);
- public void init ();
public bool is_equal (Gst.Video.Info other);
public bool set_format (Gst.Video.Format format, uint width, uint height);
[Version (since = "1.16")]
protected Sink ();
public static void center_rect (Gst.Video.Rectangle src, Gst.Video.Rectangle dst, Gst.Video.Rectangle result, bool scaling);
[NoWrapper]
+ [Version (since = "1.20")]
+ public virtual bool set_info (Gst.Caps caps, Gst.Video.Info info);
+ [NoWrapper]
public virtual Gst.FlowReturn show_frame (Gst.Buffer buf);
[NoAccessorMethod]
public bool show_preroll_frame { get; set construct; }
public Gst.MapInfo map_info[4];
public bool copy (Gst.Video.Frame src);
public bool copy_plane (Gst.Video.Frame src, uint plane);
- public bool map (Gst.Video.Info info, Gst.Buffer buffer, Gst.MapFlags flags);
- public bool map_id (Gst.Video.Info info, Gst.Buffer buffer, int id, Gst.MapFlags flags);
public void unmap ();
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[Version (since = "1.18")]
public static unowned Gst.Video.Format[] formats_raw ();
[CCode (cheader_filename = "gst/video/video.h")]
+ public static bool frame_map (out Gst.Video.Frame frame, Gst.Video.Info info, Gst.Buffer buffer, Gst.MapFlags flags);
+ [CCode (cheader_filename = "gst/video/video.h")]
+ public static bool frame_map_id (out Gst.Video.Frame frame, Gst.Video.Info info, Gst.Buffer buffer, int id, Gst.MapFlags flags);
+ [CCode (cheader_filename = "gst/video/video.h")]
public static GLib.Type gl_texture_upload_meta_api_get_type ();
[CCode (cheader_filename = "gst/video/video.h")]
public static unowned Gst.MetaInfo? gl_texture_upload_meta_get_info ();
[Version (since = "1.20")]
public static bool hdr_parse_hdr10_plus (uint8 data, size_t size, out Gst.Video.HDR10Plus hdr10_plus);
[CCode (cheader_filename = "gst/video/video.h")]
+ public static bool info_from_caps (out unowned Gst.Video.Info info, Gst.Caps caps);
+ [CCode (cheader_filename = "gst/video/video.h")]
+ public static void info_init (out unowned Gst.Video.Info info);
+ [CCode (cheader_filename = "gst/video/video.h")]
[Version (since = "1.6")]
public static Gst.Video.InterlaceMode interlace_mode_from_string (string mode);
[CCode (cheader_filename = "gst/video/video.h")]
public class WebRTCRTPReceiver : Gst.Object {
[CCode (array_length = false)]
public weak void* _padding[4];
- public weak Gst.WebRTCDTLSTransport transport;
[CCode (has_construct_function = false)]
public WebRTCRTPReceiver ();
+ [NoAccessorMethod]
+ [Version (since = "1.20")]
+ public Gst.WebRTCDTLSTransport transport { owned get; }
}
[CCode (cheader_filename = "gst/webrtc/webrtc.h", lower_case_csuffix = "webrtc_rtp_sender", type_id = "gst_webrtc_rtp_sender_get_type ()")]
[Version (since = "1.16")]
[CCode (array_length = false)]
public weak void* _padding[4];
public weak GLib.Array<void*> send_encodings;
- public weak Gst.WebRTCDTLSTransport transport;
[CCode (has_construct_function = false)]
public WebRTCRTPSender ();
[Version (since = "1.20")]
[NoAccessorMethod]
[Version (since = "1.20")]
public Gst.WebRTCPriorityType priority { get; set; }
+ [NoAccessorMethod]
+ [Version (since = "1.20")]
+ public Gst.WebRTCDTLSTransport transport { owned get; }
}
[CCode (cheader_filename = "gst/webrtc/webrtc.h", lower_case_csuffix = "webrtc_rtp_transceiver", type_id = "gst_webrtc_rtp_transceiver_get_type ()")]
[Version (since = "1.16")]