[][src]Function stainless_ffmpeg_sys::av_image_copy_plane

pub unsafe extern "C" fn av_image_copy_plane(
    dst: *mut u8,
    dst_linesize: c_int,
    src: *const u8,
    src_linesize: c_int,
    bytewidth: c_int,
    height: c_int
)

Copy image plane from src to dst. That is, copy "height" number of lines of "bytewidth" bytes each. The first byte of each successive line is separated by *_linesize bytes.

bytewidth must be contained by both absolute values of dst_linesize and src_linesize, otherwise the function behavior is undefined.

@param dst_linesize linesize for the image plane in dst @param src_linesize linesize for the image plane in src