Function ffmpeg_sys_next::av_image_fill_pointers [−][src]
pub unsafe extern "C" fn av_image_fill_pointers(
data: *mut *mut u8,
pix_fmt: AVPixelFormat,
height: c_int,
ptr: *mut u8,
linesizes: *const c_int
) -> c_int
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 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