Function av_write_image_line2
pub unsafe extern "C" fn av_write_image_line2(
src: *const c_void,
data: *mut *mut u8,
linesize: *const i32,
desc: *const AVPixFmtDescriptor,
x: i32,
y: i32,
c: i32,
w: i32,
src_element_size: i32,
)
Expand description
Write the values from src to the pixel format component c of an image line.
@param src array containing the values to write @param data the array containing the pointers to the planes of the image to write into. It is supposed to be zeroed. @param linesize the array containing the linesizes of the image @param desc the pixel format descriptor for the image @param x the horizontal coordinate of the first pixel to write @param y the vertical coordinate of the first pixel to write @param w the width of the line to write, that is the number of values to write to the image line @param src_element_size size of elements in src array (2 or 4 byte)