Function CVPixelBufferPoolCreate

Source
pub unsafe extern "C-unwind" fn CVPixelBufferPoolCreate(
    allocator: Option<&CFAllocator>,
    pool_attributes: Option<&CFDictionary>,
    pixel_buffer_attributes: Option<&CFDictionary>,
    pool_out: NonNull<*mut CVPixelBufferPool>,
) -> CVReturn
Available on crate features CVPixelBufferPool and CVReturn only.
Expand description

Creates a new Pixel Buffer pool.

Parameter allocator: The CFAllocatorRef to use for allocating this buffer pool. May be NULL.

Parameter attributes: A CFDictionaryRef containing the attributes to be used for creating new PixelBuffers within the pool.

Parameter poolOut: The newly created pool will be placed here

Returns: Returns kCVReturnSuccess on success