Function av_image_fill_plane_sizes
pub unsafe extern "C" fn av_image_fill_plane_sizes(
size: *mut usize,
pix_fmt: i32,
height: i32,
linesizes: *const isize,
) -> i32
Expand description
Fill plane sizes for an image with pixel format pix_fmt and height height.
@param size the array to be filled with the size of each image plane @param pix_fmt the AVPixelFormat of the image @param height height of the image in pixels @param linesizes the array containing the linesize for each plane, should be filled by av_image_fill_linesizes() @return >= 0 in case of success, a negative error code otherwise
@note The linesize parameters have the type ptrdiff_t here, while they are int for av_image_fill_linesizes().