VideoInfo.alignFull

bool alignFull(gstvideo.video_alignment.VideoAlignment align_, out size_t planeSize)

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 gstvideo.video_info.VideoInfo.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

align_alignment parameters
planeSizearray 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