gstvideo.video_format_info

Module for [VideoFormatInfo] class

Types 1

Information for a video format.

Fields
Methods
void * _cPtr() nothrow
gstvideo.types.VideoFormat format() @property nothrowGet `format` field. Returns: #GstVideoFormat
void format(gstvideo.types.VideoFormat propval) @property nothrowSet `format` field. Params: propval = #GstVideoFormat
string name() @property nothrowGet `name` field. Returns: string representation of the format
void name(string propval) @property nothrowSet `name` field. Params: propval = string representation of the format
string description() @property nothrowGet `description` field. Returns: use readable description of the format
void description(string propval) @property nothrowSet `description` field. Params: propval = use readable description of the format
gstvideo.types.VideoFormatFlags flags() @property nothrowGet `flags` field. Returns: #GstVideoFormatFlags
void flags(gstvideo.types.VideoFormatFlags propval) @property nothrowSet `flags` field. Params: propval = #GstVideoFormatFlags
uint bits() @property nothrowGet `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) @property nothrowSet `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() @property nothrowGet `nComponents` field. Returns: the number of components in the video format.
void nComponents(uint propval) @property nothrowSet `nComponents` field. Params: propval = the number of components in the video format.
uint nPlanes() @property nothrowGet `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) @property nothrowSet `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() @property nothrowGet `unpackFormat` field. Returns: the format of the unpacked pixels. This format must have the #GST_VIDEO_FORMAT_FLAG_UNPACK flag set.
void unpackFormat(gstvideo.types.VideoFormat propval) @property nothrowSet `unpackFormat` field. Params: propval = the format of the unpacked pixels. This format must have the #GST_VIDEO_FORMAT_FLAG_UNPACK flag set.
int packLines() @property nothrowGet `packLines` field. Returns: the amount of lines that will be packed
void packLines(int propval) @property nothrowSet `packLines` field. Params: propval = the amount of lines that will be packed
gstvideo.types.VideoTileMode tileMode() @property nothrowGet `tileMode` field. Returns: The tiling mode
void tileMode(gstvideo.types.VideoTileMode propval) @property nothrowSet `tileMode` field. Params: propval = The tiling mode
uint tileWs() @property nothrowGet `tileWs` field. Returns: The width of a tile, in bytes, represented as a shift. DEPRECATED, use tile_info[] array instead.
void tileWs(uint propval) @property nothrowSet `tileWs` field. Params: propval = The width of a tile, in bytes, represented as a shift. DEPRECATED, use tile_info[] array instead.
uint tileHs() @property nothrowGet `tileHs` field. Returns: The height of a tile, in bytes, represented as a shift. DEPREACTED, use tile_info[] array instead.
void tileHs(uint propval) @property nothrowSet `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) nothrowFill 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) nothrowExtrapolate plane stride from the first stride of an image. This helper is useful to support legacy API were only one stride is supported.
Constructors
this(void * ptr, Flag!"Take" take)