Static$gtypeCompute the padded height of each plane from meta (padded size
divided by stride).
It is not valid to call this function with a meta associated to a TILED video format.
true if meta's alignment is valid and plane_height has been updated, false otherwise
Compute the size, in bytes, of each video plane described in meta including
any padding and alignment constraint defined in meta->alignment.
true if meta's alignment is valid and plane_size has been updated, false otherwise
Set the alignment of meta to alignment. This function checks that
the paddings defined in alignment are compatible with the strides
defined in meta and will fail to update if they are not.
true if alignment's meta has been updated, false if not
Unmap a previously mapped plane with gst_video_meta_map().
a plane
TRUE if the memory was successfully unmapped.
Staticget_
Extra buffer metadata describing image properties
This meta can also be used by downstream elements to specifiy their buffer layout requirements for upstream. Upstream should try to fit those requirements, if possible, in order to prevent buffer copies.
This is done by passing a custom Gst.Structure to
gst_query_add_allocation_meta()when handling the ALLOCATION query. This structure should be named 'video-meta' and can have the following fields: