- public const string BUFFER_POOL_OPTION_VIDEO_AFFINE_TRANSFORMATION_META
- public const string BUFFER_POOL_OPTION_VIDEO_ALIGNMENT
A bufferpool option to enable extra padding.
- public const string BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META
An option that can be activated on a bufferpool to request gl texture
upload meta on buffers from the pool.
- public const string BUFFER_POOL_OPTION_VIDEO_META
An option that can be activated on bufferpool to request video
metadata on buffers from the pool.
- public const string CAPS_FEATURE_FORMAT_INTERLACED
Name of the caps feature indicating that the stream is interlaced.
- public const string CAPS_FEATURE_META_GST_VIDEO_AFFINE_TRANSFORMATION_META
- public const string CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META
- public const string CAPS_FEATURE_META_GST_VIDEO_META
- public const string CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION
- public const string COLORIMETRY_BT2020
- public const string COLORIMETRY_BT2020_10
- public const string COLORIMETRY_BT2100_HLG
- public const string COLORIMETRY_BT2100_PQ
- public const string COLORIMETRY_BT601
- public const string COLORIMETRY_BT709
- public const string COLORIMETRY_SMPTE240M
- public const string COLORIMETRY_SRGB
- public const int COMP_A
- public const int COMP_B
- public const int COMP_G
- public const int COMP_INDEX
- public const int COMP_PALETTE
- public const int COMP_R
- public const int COMP_U
- public const int COMP_V
- public const int COMP_Y
- public const string CONVERTER_OPT_ALPHA_MODE
- public const string CONVERTER_OPT_ALPHA_VALUE
DOUBLE
, the alpha color value to use.
- public const string CONVERTER_OPT_ASYNC_TASKS
BOOLEAN, whether frame will return immediately without waiting for
the conversion to complete.
- public const string CONVERTER_OPT_BORDER_ARGB
- public const string CONVERTER_OPT_CHROMA_MODE
ChromaMode, set
the chroma resample mode subsampled formats.
- public const string CONVERTER_OPT_CHROMA_RESAMPLER_METHOD
ChromaMethod,
The resampler method to use for chroma resampling.
- public const string CONVERTER_OPT_DEST_HEIGHT
INT,
height in the destination frame, default destination height
- public const string CONVERTER_OPT_DEST_WIDTH
INT,
width in the destination frame, default destination width
- public const string CONVERTER_OPT_DEST_X
INT,
x position in the destination frame, default 0
- public const string CONVERTER_OPT_DEST_Y
INT,
y position in the destination frame, default 0
- public const string CONVERTER_OPT_DITHER_METHOD
DitherMethod,
The dither method to use when changing bit depth.
- public const string CONVERTER_OPT_DITHER_QUANTIZATION
UINT
, The quantization amount to dither to.
- public const string CONVERTER_OPT_FILL_BORDER
- public const string CONVERTER_OPT_GAMMA_MODE
- public const string CONVERTER_OPT_MATRIX_MODE
MatrixMode, set
the color matrix conversion mode for converting between Y'PbPr and non-linear RGB (R'G'B').
- public const string CONVERTER_OPT_PRIMARIES_MODE
- public const string CONVERTER_OPT_RESAMPLER_METHOD
- public const string CONVERTER_OPT_RESAMPLER_TAPS
UINT
, The number of taps for the resampler.
- public const string CONVERTER_OPT_SRC_HEIGHT
INT,
source height to convert, default source height
- public const string CONVERTER_OPT_SRC_WIDTH
INT,
source width to convert, default source width
- public const string CONVERTER_OPT_SRC_X
INT,
source x position to start conversion, default 0
- public const string CONVERTER_OPT_SRC_Y
INT,
source y position to start conversion, default 0
- public const string CONVERTER_OPT_THREADS
UINT
, maximum number of threads to use.
- public const int DECODER_MAX_ERRORS
Default maximum number of errors tolerated before signaling error.
- public const string DECODER_SINK_NAME
The name of the templates for the sink pad.
- public const string DECODER_SRC_NAME
The name of the templates for the source pad.
- public const string ENCODER_SINK_NAME
The name of the templates for the sink pad.
- public const string ENCODER_SRC_NAME
The name of the templates for the source pad.
- public const string FORMATS_ALL
List of all video formats, for use in template caps strings.
- public const string FPS_RANGE
- public const int MAX_COMPONENTS
- public const int MAX_PLANES
- public const string META_TAG_VIDEO_COLORSPACE_STR
This metadata stays relevant as long as video colorspace is unchanged.
- public const string META_TAG_VIDEO_ORIENTATION_STR
This metadata stays relevant as long as video orientation is
unchanged.
- public const string META_TAG_VIDEO_SIZE_STR
This metadata stays relevant as long as video size is unchanged.
- public const string META_TAG_VIDEO_STR
This metadata is relevant for video streams.
- public const string RESAMPLER_OPT_CUBIC_B
G_TYPE_DOUBLE, B parameter of the cubic filter.
- public const string RESAMPLER_OPT_CUBIC_C
G_TYPE_DOUBLE, C parameter of the cubic filter.
- public const string RESAMPLER_OPT_ENVELOPE
G_TYPE_DOUBLE, specifies the size of filter envelope for
GST_VIDEO_RESAMPLER_METHOD_LANCZOS.
- public const string RESAMPLER_OPT_MAX_TAPS
G_TYPE_INT, limits the maximum number of taps to use.
- public const string RESAMPLER_OPT_SHARPEN
G_TYPE_DOUBLE, specifies sharpening of the filter for
GST_VIDEO_RESAMPLER_METHOD_LANCZOS.
- public const string RESAMPLER_OPT_SHARPNESS
G_TYPE_DOUBLE, specifies sharpness of the filter for
GST_VIDEO_RESAMPLER_METHOD_LANCZOS.
- public const string SCALER_OPT_DITHER_METHOD
DitherMethod,
The dither method to use for propagating quatization errors.
- public const string SIZE_RANGE
- public const int TILE_TYPE_MASK
- public const int TILE_TYPE_SHIFT
- public const int TILE_X_TILES_MASK
- public const int TILE_Y_TILES_SHIFT
- public Type afd_meta_api_get_type ()
- public unowned MetaInfo? afd_meta_get_info ()
- public Type affine_transformation_meta_api_get_type ()
- public unowned MetaInfo? affine_transformation_meta_get_info ()
- public Type bar_meta_api_get_type ()
- public unowned MetaInfo? bar_meta_get_info ()
- public bool blend (Frame dest, Frame src, int x, int y, float global_alpha)
Lets you blend the src image into the dest
image
- public void blend_scale_linear_RGBA (Info src, Buffer src_buffer, int dest_height, int dest_width, out unowned Info dest, out Buffer dest_buffer)
Scales a buffer containing RGBA (or AYUV) video.
- public unowned AFDMeta? buffer_add_video_afd_meta (Buffer buffer, uint8 field, AFDSpec spec, AFDValue afd)
Attaches AFDMeta
metadata to buffer with the given parameters.
- public unowned AffineTransformationMeta? buffer_add_video_affine_transformation_meta (Buffer buffer)
Attaches GstVideoAffineTransformationMeta metadata to buffer
with the given parameters.
- public unowned BarMeta? buffer_add_video_bar_meta (Buffer buffer, uint8 field, bool is_letterbox, uint bar_data1, uint bar_data2)
Attaches BarMeta
metadata to buffer with the given parameters.
- public unowned CaptionMeta? buffer_add_video_caption_meta (Buffer buffer, CaptionType caption_type, uint8[] data)
Attaches
CaptionMeta metadata to buffer with the given parameters.
- public unowned CodecAlphaMeta? buffer_add_video_codec_alpha_meta (Buffer buffer, owned Buffer alpha_buffer)
Attaches a
CodecAlphaMeta metadata to buffer with the given alpha buffer.
- public unowned GLTextureUploadMeta? buffer_add_video_gl_texture_upload_meta (Buffer buffer, GLTextureOrientation texture_orientation, uint n_textures, GLTextureType texture_type, GLTextureUpload upload, BoxedCopyFunc user_data_copy, BoxedFreeFunc user_data_free)
Attaches GstVideoGLTextureUploadMeta metadata to buffer
with the given parameters.
- public unowned Meta? buffer_add_video_meta (Buffer buffer, FrameFlags flags, Format format, uint width, uint height)
Attaches GstVideoMeta metadata to buffer with the given
parameters and the default offsets and strides for format and width x height.
- public unowned Meta? buffer_add_video_meta_full (Buffer buffer, FrameFlags flags, Format format, uint width, uint height, uint n_planes, size_t[] offset, int[] stride)
Attaches GstVideoMeta metadata to buffer with the given
parameters.
- public unowned OverlayCompositionMeta? buffer_add_video_overlay_composition_meta (Buffer buf, OverlayComposition? comp)
Sets an overlay composition on a buffer.
- public unowned RegionOfInterestMeta? buffer_add_video_region_of_interest_meta (Buffer buffer, string roi_type, uint x, uint y, uint w, uint h)
- public unowned RegionOfInterestMeta? buffer_add_video_region_of_interest_meta_id (Buffer buffer, Quark roi_type, uint x, uint y, uint w, uint h)
- public unowned TimeCodeMeta? buffer_add_video_time_code_meta (Buffer buffer, TimeCode tc)
Attaches
TimeCodeMeta metadata to buffer with the given parameters.
- public unowned TimeCodeMeta? buffer_add_video_time_code_meta_full (Buffer buffer, uint fps_n, uint fps_d, DateTime latest_daily_jam, TimeCodeFlags flags, uint hours, uint minutes, uint seconds, uint frames, uint field_count)
Attaches
TimeCodeMeta metadata to buffer with the given parameters.
- public unowned Meta? buffer_get_video_meta (Buffer buffer)
Find the Meta on
buffer with the lowest id.
- public unowned Meta? buffer_get_video_meta_id (Buffer buffer, int id)
Find the Meta on
buffer with the given id.
- public unowned RegionOfInterestMeta? buffer_get_video_region_of_interest_meta_id (Buffer buffer, int id)
- public bool buffer_pool_config_get_video_alignment (Structure config, Alignment align)
Get the video alignment from the bufferpool configuration config
in in align
- public void buffer_pool_config_set_video_alignment (Structure config, Alignment align)
Set the video alignment in align to the bufferpool
configuration config
- public bool calculate_display_ratio (out uint dar_n, out uint dar_d, uint video_width, uint video_height, uint video_par_n, uint video_par_d, uint display_par_n, uint display_par_d)
Given the Pixel Aspect Ratio and size of an input video frame, and the
pixel aspect ratio of the intended display device, calculates the actual display ratio the video will be rendered with.
- public Type caption_meta_api_get_type ()
- public unowned MetaInfo? caption_meta_get_info ()
- public CaptionType caption_type_from_caps (Caps caps)
- public Caps caption_type_to_caps (CaptionType type)
- public void center_rect (Rectangle src, Rectangle dst, out Rectangle result, bool scaling)
Takes src rectangle and position it at the center of
dst rectangle with or without scaling.
- public ChromaSite chroma_from_string (string s)
- public ChromaSite chroma_site_from_string (string s)
- public string? chroma_site_to_string (ChromaSite site)
- public unowned string chroma_to_string (ChromaSite site)
Converts site to its string representation.
- public Type codec_alpha_meta_api_get_type ()
- public unowned MetaInfo? codec_alpha_meta_get_info ()
- public ColorMatrix color_matrix_from_iso (uint value)
- public bool color_matrix_get_Kr_Kb (ColorMatrix matrix, out double Kr, out double Kb)
- public uint color_matrix_to_iso (ColorMatrix matrix)
- public ColorPrimaries color_primaries_from_iso (uint value)
- public unowned ColorPrimariesInfo? color_primaries_get_info (ColorPrimaries primaries)
- public uint color_primaries_to_iso (ColorPrimaries primaries)
- public void color_range_offsets (ColorRange range, FormatInfo info, out unowned int[] offset, out unowned int[] scale)
- public double color_transfer_decode (TransferFunction func, double val)
- public double color_transfer_encode (TransferFunction func, double val)
- public Sample convert_sample (Sample sample, Caps to_caps, ClockTime timeout) throws Error
Converts a raw video buffer into the specified output caps.
- public void convert_sample_async (Sample sample, Caps to_caps, ClockTime timeout, owned ConvertSampleCallback callback)
Converts a raw video buffer into the specified output caps.
- public Type crop_meta_api_get_type ()
- public unowned MetaInfo? crop_meta_get_info ()
- public bool event_is_force_key_unit (Event event)
Checks if an event is a force key unit event.
- public Event event_new_downstream_force_key_unit (ClockTime timestamp, ClockTime stream_time, ClockTime running_time, bool all_headers, uint count)
Creates a new downstream force key unit event.
- public Event event_new_still_frame (bool in_still)
Creates a new Still Frame event.
- public Event event_new_upstream_force_key_unit (ClockTime running_time, bool all_headers, uint count)
Creates a new upstream force key unit event.
- public bool event_parse_downstream_force_key_unit (Event event, out ClockTime timestamp, out ClockTime stream_time, out ClockTime running_time, out bool all_headers, out uint count)
Get timestamp, stream-time, running-time, all-headers and count in the
force key unit event.
- public bool event_parse_still_frame (Event event, out bool in_still)
Parse a Event
, identify if it is a Still Frame event, and return the still-frame state from the event if it is.
- public bool event_parse_upstream_force_key_unit (Event event, out ClockTime running_time, out bool all_headers, out uint count)
Get running-time, all-headers and count in the force key unit event.
- public FieldOrder field_order_from_string (string order)
- public unowned string field_order_to_string (FieldOrder order)
- public Format format_from_fourcc (uint32 fourcc)
- public Format format_from_masks (int depth, int bpp, int endianness, uint red_mask, uint green_mask, uint blue_mask, uint alpha_mask)
- public Format format_from_string (string format)
- public unowned FormatInfo? format_get_info (Format format)
- public void* format_get_palette (Format format, out size_t size)
- public uint32 format_to_fourcc (Format format)
- public unowned string format_to_string (Format format)
- public unowned Format[] formats_raw ()
Return all the raw video formats supported by GStreamer.
- public bool frame_map (out Frame frame, Info info, Buffer buffer, MapFlags flags)
- public bool frame_map_id (out Frame frame, Info info, Buffer buffer, int id, MapFlags flags)
- public Type gl_texture_upload_meta_api_get_type ()
- public unowned MetaInfo? gl_texture_upload_meta_get_info ()
- public bool guess_framerate (ClockTime duration, out int dest_n, out int dest_d)
Given the nominal duration of one video frame, this function will
check some standard framerates for a close match (within 0.1%) and return one if possible,
- public bool info_from_caps (out unowned Info info, Caps caps)
Parse caps and update info.
- public void info_init (out unowned Info info)
Initialize info with default values.
- public InterlaceMode interlace_mode_from_string (string mode)
- public unowned string interlace_mode_to_string (InterlaceMode mode)
- public bool is_video_overlay_prepare_window_handle_message (Message msg)
Convenience function to check if the given message is a
"prepare-window-handle" message from a Overlay.
- public Caps make_raw_caps (Format[]? formats)
Return a generic raw video caps for formats defined in formats
.
- public Caps make_raw_caps_with_features (Format[]? formats, owned CapsFeatures? features)
Return a generic raw video caps for formats defined in formats
with features features.
- public bool mastering_display_info_from_string (out MasteringDisplayInfo minfo, string mastering)
- public Type meta_api_get_type ()
- public unowned MetaInfo? meta_get_info ()
- public Quark meta_transform_scale_get_quark ()
- public unowned Value? multiview_get_doubled_height_modes ()
- public unowned Value? multiview_get_doubled_size_modes ()
- public unowned Value? multiview_get_doubled_width_modes ()
- public unowned Value? multiview_get_mono_modes ()
- public unowned Value? multiview_get_unpacked_modes ()
- public bool multiview_guess_half_aspect (MultiviewMode mv_mode, uint width, uint height, uint par_n, uint par_d)
- public MultiviewMode multiview_mode_from_caps_string (string caps_mview_mode)
- public unowned string multiview_mode_to_caps_string (MultiviewMode mview_mode)
- public void multiview_video_info_change_mode (Info info, MultiviewMode out_mview_mode, MultiviewFlags out_mview_flags)
Utility function that transforms the width/height/PAR and multiview
mode and flags of a Info into the requested mode.
- public bool navigation_event_get_coordinates (Event event, out double x, out double y)
- public NavigationEventType navigation_event_get_type (Event event)
- public Event navigation_event_new_command (NavigationCommand command)
- public Event navigation_event_new_key_press (string key, NavigationModifierType state)
- public Event navigation_event_new_key_release (string key, NavigationModifierType state)
- public Event navigation_event_new_mouse_button_press (int button, double x, double y, NavigationModifierType state)
- public Event navigation_event_new_mouse_button_release (int button, double x, double y, NavigationModifierType state)
- public Event navigation_event_new_mouse_move (double x, double y, NavigationModifierType state)
- public Event navigation_event_new_mouse_scroll (double x, double y, double delta_x, double delta_y, NavigationModifierType state)
- public Event navigation_event_new_touch_cancel (NavigationModifierType state)
- public Event navigation_event_new_touch_down (uint identifier, double x, double y, double pressure, NavigationModifierType state)
- public Event navigation_event_new_touch_frame (NavigationModifierType state)
- public Event navigation_event_new_touch_motion (uint identifier, double x, double y, double pressure, NavigationModifierType state)
- public Event navigation_event_new_touch_up (uint identifier, double x, double y, NavigationModifierType state)
- public bool navigation_event_parse_command (Event event, out NavigationCommand command)
- public bool navigation_event_parse_key_event (Event event, out unowned string key)
- public bool navigation_event_parse_modifier_state (Event event, NavigationModifierType state)
- public bool navigation_event_parse_mouse_button_event (Event event, out int button, out double x, out double y)
- public bool navigation_event_parse_mouse_move_event (Event event, out double x, out double y)
- public bool navigation_event_parse_mouse_scroll_event (Event event, out double x, out double y, out double delta_x, out double delta_y)
- public bool navigation_event_parse_touch_event (Event event, out uint identifier, out double x, out double y, out double pressure)
- public bool navigation_event_parse_touch_up_event (Event event, out uint identifier, out double x, out double y)
- public bool navigation_event_set_coordinates (Event event, double x, double y)
- public NavigationMessageType navigation_message_get_type (Message message)
- public Message navigation_message_new_angles_changed (Object src, uint cur_angle, uint n_angles)
- public Message navigation_message_new_commands_changed (Object src)
- public Message navigation_message_new_event (Object src, Event event)
- public Message navigation_message_new_mouse_over (Object src, bool active)
- public bool navigation_message_parse_angles_changed (Message message, out uint cur_angle, out uint n_angles)
- public bool navigation_message_parse_event (Message message, out Event event)
- public bool navigation_message_parse_mouse_over (Message message, out bool active)
- public NavigationQueryType navigation_query_get_type (Query query)
- public Query navigation_query_new_angles ()
- public Query navigation_query_new_commands ()
- public bool navigation_query_parse_angles (Query query, out uint cur_angle, out uint n_angles)
- public bool navigation_query_parse_commands_length (Query query, out uint n_cmds)
- public bool navigation_query_parse_commands_nth (Query query, uint nth, out NavigationCommand cmd)
- public void navigation_query_set_angles (Query query, uint cur_angle, uint n_angles)
- public void navigation_query_set_commandsv (Query query, NavigationCommand[] cmds)
- public bool orientation_from_tag (TagList taglist, out OrientationMethod method)
- public Type overlay_composition_meta_api_get_type ()
- public unowned MetaInfo? overlay_composition_meta_get_info ()
- public void overlay_install_properties (ObjectClass oclass, int last_prop_id)
- public bool overlay_set_property (Object object, int last_prop_id, uint property_id, Value value)
- public Type region_of_interest_meta_api_get_type ()
- public unowned MetaInfo? region_of_interest_meta_get_info ()
- public uint tile_get_index (TileMode mode, int x, int y, int x_tiles, int y_tiles)
Get the tile index of the tile at coordinates x and
y in the tiled image of x_tiles by y_tiles.
- public Type time_code_meta_api_get_type ()
- public unowned MetaInfo? time_code_meta_get_info ()
- public double transfer_function_decode (TransferFunction func, double val)
- public double transfer_function_encode (TransferFunction func, double val)
- public TransferFunction transfer_function_from_iso (uint value)
- public bool transfer_function_is_equivalent (TransferFunction from_func, uint from_bpp, TransferFunction to_func, uint to_bpp)
- public uint transfer_function_to_iso (TransferFunction func)