Function av_image_fill_linesizes

pub unsafe extern "C" fn av_image_fill_linesizes(
    linesizes: *mut i32,
    pix_fmt: i32,
    width: i32,
) -> i32
Expand description

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 @param pix_fmt the AVPixelFormat of the image @param width width of the image in pixels @return >= 0 in case of success, a negative error code otherwise