VideoFormatInfo.extrapolateStride

Extrapolate plane stride from the first stride of an image. This helper is useful to support legacy API were only one stride is supported.

class VideoFormatInfo
int
extrapolateStride
(
int plane
,
int stride
)

Parameters

plane int

a plane number

stride int

The fist plane stride

Return Value

Type: int

The extrapolated stride for plane