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