extrapolate_stride


Description:

[ Version ( since = "1.22" ) ]
public int extrapolate_stride (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:

this

FormatInfo

plane

a plane number

stride

The fist plane stride

Returns:

The extrapolated stride for plane