[][src]Function stainless_ffmpeg_sys::av_image_fill_max_pixsteps

pub unsafe extern "C" fn av_image_fill_max_pixsteps(
    max_pixsteps: *mut c_int,
    max_pixstep_comps: *mut c_int,
    pixdesc: *const AVPixFmtDescriptor
)

Compute the max pixel step for each plane of an image with a format described by pixdesc.

The pixel step is the distance in bytes between the first byte of the group of bytes which describe a pixel component and the first byte of the successive group in the same plane for the same component.

@param max_pixsteps an array which is filled with the max pixel step for each plane. Since a plane may contain different pixel components, the computed max_pixsteps[plane] is relative to the component in the plane with the max pixel step. @param max_pixstep_comps an array which is filled with the component for each plane which has the max pixel step. May be NULL.