VideoMeta.getPlaneSize

Compute the size, in bytes, of each video plane described in meta including any padding and alignment constraint defined in meta->alignment.

class VideoMeta
bool
getPlaneSize
(
ref size_t[] planeSize
)

Parameters

planeSize size_t[]

array used to store the plane sizes

Return Value

Type: bool

true if meta's alignment is valid and plane_size has been updated, false otherwise