Function av_image_copy_plane
pub unsafe extern "C" fn av_image_copy_plane(
dst: *mut u8,
dst_linesize: i32,
src: *const u8,
src_linesize: i32,
bytewidth: i32,
height: i32,
)
Available on crate feature
dep_ffmpeg
only.Expand description
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 destination plane to copy to @param dst_linesize linesize for the image plane in dst @param src source plane to copy from @param src_linesize linesize for the image plane in src @param height height (number of lines) of the plane