Contents

CMVideoFormatDescriptionCreateFromBigEndianImageDescriptionData(allocator:bigEndianImageDescriptionData:size:stringEncoding:flavor:formatDescriptionOut:)

Creates a video format description from a big-endian image description structure.

Declaration

func CMVideoFormatDescriptionCreateFromBigEndianImageDescriptionData(allocator: CFAllocator?, bigEndianImageDescriptionData imageDescriptionData: UnsafePointer<UInt8>, size: Int, stringEncoding: CFStringEncoding, flavor: CMImageDescriptionFlavor?, formatDescriptionOut: UnsafeMutablePointer<CMVideoFormatDescription?>) -> OSStatus

Parameters

  • allocator:

    Allocator to use for allocating the CMVideoFormatDescription object. May be NULL.

  • imageDescriptionData:

    ImageDescription data structure in big-endian byte ordering.

  • size:

    Size of ImageDescription data structure.

  • stringEncoding:

    Pass Cfstringgetsystemencoding() or GetApplicationTextEncoding().

  • flavor:

    kCMImageDescriptionFlavor constant or NULL for QuickTimeMovie flavor.

  • formatDescriptionOut:

    Receives new CMVideoFormatDescription.

See Also

Working with Video Descriptions