VideoFormatInfo.extrapolateStride

int extrapolateStride(int plane, int stride)

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

Parameters

planea plane number
strideThe fist plane stride

Returns

The extrapolated stride for plane