[][src]Function ffav_sys::av_image_fill_linesizes

pub unsafe extern "C" fn av_image_fill_linesizes(
    linesizes: *mut c_int,
    pix_fmt: AVPixelFormat,
    width: c_int
) -> c_int

Fill plane linesizes for an image with pixel format pix_fmt and width width.

@param linesizes array to be filled with the linesize for each plane @return >= 0 in case of success, a negative error code otherwise