Contents

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?>) -> OSStatus

Parameters

  • allocator:

    An allocator for the session. Pass NULL to 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.