gstvideo.video_format_info
Module for [VideoFormatInfo] class
class VideoFormatInfo
Types 1
classVideoFormatInfo
Information for a video format.
Fields
GstVideoFormatInfo _cInstanceMethods
void * _cPtr()void format(gstvideo.types.VideoFormat propval) @propertySet `format` field. Params: propval = #GstVideoFormatvoid name(string propval) @propertySet `name` field. Params: propval = string representation of the formatstring description() @propertyGet `description` field. Returns: use readable description of the formatvoid description(string propval) @propertySet `description` field. Params: propval = use readable description of the formatvoid flags(gstvideo.types.VideoFormatFlags propval) @propertySet `flags` field. Params: propval = #GstVideoFormatFlagsuint bits() @propertyGet `bits` field. Returns: The number of bits used to pack data items. This can be less than 8 when multiple pixels are stored in a byte. for values > 8 multiple bytes should be read according to t...void bits(uint propval) @propertySet `bits` field. Params: propval = The number of bits used to pack data items. This can be less than 8 when multiple pixels are stored in a byte. for values > 8 multiple bytes should be read accor...uint nComponents() @propertyGet `nComponents` field. Returns: the number of components in the video format.void nComponents(uint propval) @propertySet `nComponents` field. Params: propval = the number of components in the video format.uint nPlanes() @propertyGet `nPlanes` field. Returns: the number of planes for this format. The number of planes can be less than the amount of components when multiple components are packed into one plane.void nPlanes(uint propval) @propertySet `nPlanes` field. Params: propval = the number of planes for this format. The number of planes can be less than the amount of components when multiple components are packed into one plane.gstvideo.types.VideoFormat unpackFormat() @propertyGet `unpackFormat` field. Returns: the format of the unpacked pixels. This format must have the #GSTVIDEOFORMATFLAGUNPACK flag set.void unpackFormat(gstvideo.types.VideoFormat propval) @propertySet `unpackFormat` field. Params: propval = the format of the unpacked pixels. This format must have the #GSTVIDEOFORMATFLAGUNPACK flag set.void packLines(int propval) @propertySet `packLines` field. Params: propval = the amount of lines that will be packedvoid tileMode(gstvideo.types.VideoTileMode propval) @propertySet `tileMode` field. Params: propval = The tiling modeuint tileWs() @propertyGet `tileWs` field. Returns: The width of a tile, in bytes, represented as a shift. DEPRECATED, use tile_info[] array instead.void tileWs(uint propval) @propertySet `tileWs` field. Params: propval = The width of a tile, in bytes, represented as a shift. DEPRECATED, use tile_info[] array instead.uint tileHs() @propertyGet `tileHs` field. Returns: The height of a tile, in bytes, represented as a shift. DEPREACTED, use tile_info[] array instead.void tileHs(uint propval) @propertySet `tileHs` field. Params: propval = The height of a tile, in bytes, represented as a shift. DEPREACTED, use tile_info[] array instead.void component(uint plane, out int components)Fill components with the number of all the components packed in plane p for the format info. A value of -1 in components indicates that no more components are packed in the plane.int extrapolateStride(int plane, int stride)Extrapolate plane stride from the first stride of an image. This helper is useful to support legacy API were only one stride is supported.