size of a frame can't be represented as a 32 bit integer
VideoInfo.alignFull
bool alignFull(gstvideo.video_alignment.VideoAlignment align_, out size_t planeSize) nothrowExtra 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 |
planeSize | array used to store the plane sizes |
Returns
false if alignment could not be applied, e.g. because the