Back to Seed Clases

GstVideo


Classes

Interfaces

Structs

Unions

Enums

Enum GstVideo.VideoFormat

Import line: GstVideo = imports.gi.GstVideo;
GIR File: GstVideo-0.10.gir
C documentation: GstVideoFormat
Enum : VideoFormat
  Show / Hide Inherited methods, properties and signals
Enum value describing the most common video formats.
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
GstVideo
Method
GstVideo.format_convert (VideoFormat format, Number width, Number height, Number fps_n, Number fps_d, Format src_format, Number src_value, Format dest_format, Object out_values) : Boolean
Converts among various GstFormat types.
GstVideo
Method
GstVideo.format_from_fourcc (Number fourcc) : GstVideo.VideoFormat
Converts a FOURCC value into the corresponding GstVideoFormat.
GstVideo
Method
GstVideo.format_get_component_height (VideoFormat format, Number component, Number height) : Number
Calculates the height of the component.
GstVideo
Method
GstVideo.format_get_component_offset (VideoFormat format, Number component, Number width, Number height) : Number
Calculates the offset (in bytes) of the first pixel of the component with index component.
GstVideo
Method
GstVideo.format_get_component_width (VideoFormat format, Number component, Number width) : Number
Calculates the width of the component.
GstVideo
Method
GstVideo.format_get_pixel_stride (VideoFormat format, Number component) : Number
Calculates the pixel stride (number of bytes from one pixel to the pixel to its immediate left) for the video component with an index of component.
GstVideo
Method
GstVideo.format_get_row_stride (VideoFormat format, Number component, Number width) : Number
Calculates the row stride (number of bytes from one row of pixels to the next) for the video component with an index of component.
GstVideo
Method
GstVideo.format_get_size (VideoFormat format, Number width, Number height) : Number
Calculates the total number of bytes in the raw video format.
GstVideo
Method
GstVideo.format_has_alpha (VideoFormat format) : Boolean
Returns TRUE or FALSE depending on if the video format provides an alpha channel.
GstVideo
Method
GstVideo.format_is_rgb (VideoFormat format) : Boolean
Determine whether the video format is an RGB format.
GstVideo
Method
GstVideo.format_is_yuv (VideoFormat format) : Boolean
Determine whether the video format is a YUV format.
GstVideo
Method
GstVideo.format_new_caps (VideoFormat format, Number width, Number height, Number framerate_n, Number framerate_d, Number par_n, Number par_d) : Gst.Caps
Creates a new GstCaps object based on the parameters provided.
GstVideo
Method
GstVideo.format_new_caps_interlaced (VideoFormat format, Number width, Number height, Number framerate_n, Number framerate_d, Number par_n, Number par_d, Boolean interlaced) : Gst.Caps
Creates a new GstCaps object based on the parameters provided.
GstVideo
Method
GstVideo.format_parse_caps (Caps caps, VideoFormat format, Object out_values) : Boolean
Determines the GstVideoFormat of caps and places it in the location pointed to by format.
GstVideo
Method
GstVideo.format_to_fourcc (VideoFormat format) : Number
Converts a GstVideoFormat value into the corresponding FOURCC.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:34:04 GMT+0800 (HKT)