Function av_image_fill_pointers
pub unsafe extern "C" fn av_image_fill_pointers(
data: *mut *mut u8,
pix_fmt: i32,
height: i32,
ptr: *mut u8,
linesizes: *const i32,
) -> i32
Expand description
Fill plane data pointers for an image with pixel format pix_fmt and height height.
@param data pointers array to be filled with the pointer for each image plane @param pix_fmt the AVPixelFormat of the image @param height height of the image in pixels @param ptr the pointer to a buffer which will contain the image @param linesizes the array containing the linesize for each plane, should be filled by av_image_fill_linesizes() @return the size in bytes required for the image buffer, a negative error code in case of failure