Import line: | GstVideo = imports.gi.GstVideo; |
GIR File: | GstVideo-0.10.gir |
C documentation: | GstVideoFormat |
Enum : | VideoFormat |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
Number GstVideo.VideoFormat.ABGR : 13
|
|
Number GstVideo.VideoFormat.ARGB : 12
|
|
Number GstVideo.VideoFormat.AYUV : 5
|
|
Number GstVideo.VideoFormat.BGR : 15
|
|
Number GstVideo.VideoFormat.BGRA : 11
|
|
Number GstVideo.VideoFormat.BGRX : 7
|
|
Number GstVideo.VideoFormat.I420 : 1
|
|
Number GstVideo.VideoFormat.NV12 : 22
|
|
Number GstVideo.VideoFormat.NV21 : 23
|
|
Number GstVideo.VideoFormat.RGB : 14
|
|
Number GstVideo.VideoFormat.RGBA : 10
|
|
Number GstVideo.VideoFormat.RGBX : 6
|
|
Number GstVideo.VideoFormat.UNKNOWN : 0
|
|
Number GstVideo.VideoFormat.UYVY : 4
|
|
Number GstVideo.VideoFormat.V210 : 20
|
|
Number GstVideo.VideoFormat.V216 : 21
|
|
Number GstVideo.VideoFormat.XBGR : 9
|
|
Number GstVideo.VideoFormat.XRGB : 8
|
|
Number GstVideo.VideoFormat.Y41B : 16
|
|
Number GstVideo.VideoFormat.Y42B : 17
|
|
Number GstVideo.VideoFormat.Y444 : 19
|
|
Number GstVideo.VideoFormat.YUY2 : 3
|
|
Number GstVideo.VideoFormat.YV12 : 2
|
|
Number GstVideo.VideoFormat.YVYU : 18
|
None |
None |
None |
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 |
Converts a FOURCC value into the corresponding GstVideoFormat.
|
GstVideo
Method |
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 |
Calculates the width of the component.
|
GstVideo
Method |
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 |
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 |
Calculates the total number of bytes in the raw video format.
|
GstVideo
Method |
Returns TRUE or FALSE depending on if the video format provides an alpha channel.
|
GstVideo
Method |
Determine whether the video format is an RGB format.
|
GstVideo
Method |
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 |
Determines the GstVideoFormat of caps and places it in the location pointed to by format.
|
GstVideo
Method |
Converts a GstVideoFormat value into the corresponding FOURCC.
|