VTPixelTransferSessionCreate(allocator:pixelTransferSessionOut:)
Creates a session for transferring images between Core Video image buffers that hold pixels in main memory.
Declaration
func VTPixelTransferSessionCreate(allocator: CFAllocator?, pixelTransferSessionOut: UnsafeMutablePointer<VTPixelTransferSession?>) -> OSStatusParameters
- allocator:
An allocator for the session. Pass
NULLto use the default allocator. - pixelTransferSessionOut:
Points to a variable to receive the new pixel transfer session.
Discussion
The function creates a session for transferring images between CVPixelBuffer objects.