Function core_video::pixel_buffer::CVPixelBufferCreateWithBytes
source · pub unsafe extern "C" fn CVPixelBufferCreateWithBytes(
allocator: CFAllocatorRef,
width: size_t,
height: size_t,
pixelFormatType: OSType,
baseAddress: *const c_void,
bytesPerRow: size_t,
releaseCallback: CVPixelBufferReleaseBytesCallback,
releaseRefCon: *mut c_void,
pixelBufferAttributes: CFDictionaryRef,
pixelBufferOut: *mut CVPixelBufferRef
) -> CVReturn