align_full


Description:

[ Version ( since = "1.18" ) ]
public bool align_full (Alignment align, out size_t plane_size)

Extra padding will be added to the right side when stride alignment padding is required and align will be updated with the new padding values.

This variant of align provides the updated size, in bytes, of each video plane after the alignment, including all horizontal and vertical paddings.

In case of GST_VIDEO_INTERLACE_MODE_ALTERNATE info, the returned sizes are the ones used to hold a single field, not the full frame.

Parameters:

this

a Info

align

alignment parameters

plane_size

array used to store the plane sizes

Returns:

false if alignment could not be applied, e.g. because the size of a frame can't be represented as a 32 bit integer