Function rsmpeg::ffi::av_image_fill_linesizes[][src]

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 @return >= 0 in case of success, a negative error code otherwise