Function av_image_get_linesize

pub unsafe extern "C" fn av_image_get_linesize(
    pix_fmt: i32,
    width: i32,
    plane: i32,
) -> i32
Expand description

Compute the size of an image line with format pix_fmt and width width for the plane plane.

@return the computed size in bytes