pub unsafe extern "C-unwind" fn CVPixelBufferPoolCreatePixelBuffer(
allocator: Option<&CFAllocator>,
pixel_buffer_pool: &CVPixelBufferPool,
pixel_buffer_out: NonNull<*mut CVPixelBuffer>,
) -> CVReturnAvailable on crate features
CVBuffer and CVImageBuffer and CVPixelBuffer and CVReturn and CVPixelBufferPool only.Expand description
Creates a new PixelBuffer object from the pool.
The function creates a new (attachment-free) CVPixelBuffer using the pixel buffer attributes specifed during pool creation.
Parameter allocator: The CFAllocatorRef to use for creating the pixel buffer. May be NULL.
Parameter pool: The CVPixelBufferPool that should create the new CVPixelBuffer.
Parameter pixelBufferOut: The newly created pixel buffer will be placed here
Returns: Returns kCVReturnSuccess on success