Fill components with the number of all the components packed in plane p for the format info. A value of -1 in components indicates that no more components are packed in the plane.
Extrapolate plane stride from the first stride of an image. This helper is useful to support legacy API were only one stride is supported.
Information for a video format.