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 the endianness flag before applying the shift and mask.
the depth in bits for each component
use readable description of the format
#GstVideoFormatFlags
#GstVideoFormat
subsampling factor of the height for the component. Use GST_VIDEO_SUB_SCALE to scale a height.
the number of components in the video format.
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.
string representation of the format
an pack function for this format
the amount of lines that will be packed
the pixel stride of each component. This is the amount of bytes to the pixel immediately to the right. When bits < 8, the stride is expressed in bits. For 24-bit RGB, this would be 3 bytes, for example, while it would be 4 bytes for RGBx or ARGB.
the plane number where a component can be found
the offset in the plane where the first pixel of the components can be found.
the number of bits to shift away to get the component data
The height of a tile, in bytes, represented as a shift
The tiling mode
The width of a tile, in bytes, represented as a shift
the format of the unpacked pixels. This format must have the #GST_VIDEO_FORMAT_FLAG_UNPACK flag set.
an unpack function for this format
subsampling factor of the width for the component. Use GST_VIDEO_SUB_SCALE to scale a width.
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.
a plane number
Extrapolate plane
stride from the first stride of an image. This helper is
useful to support legacy API were only one stride is supported.
a plane number
The fist plane stride
Information for a video format.