Contents

CMVideoFormatDescriptionCreateFromBigEndianImageDescriptionBlockBuffer(allocator:bigEndianImageDescriptionBlockBuffer:stringEncoding:flavor:formatDescriptionOut:)

Creates a video format description from a big-endian image description inside a buffer.

Declaration

func CMVideoFormatDescriptionCreateFromBigEndianImageDescriptionBlockBuffer(allocator: CFAllocator?, bigEndianImageDescriptionBlockBuffer imageDescriptionBlockBuffer: CMBlockBuffer, stringEncoding: CFStringEncoding, flavor: CMImageDescriptionFlavor?, formatDescriptionOut: UnsafeMutablePointer<CMVideoFormatDescription?>) -> OSStatus

Parameters

  • allocator:

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

  • imageDescriptionBlockBuffer:

    CMBlockBuffer containing ImageDescription data structure in big-endian byte ordering.

  • stringEncoding:

    Pass Cfstringgetsystemencoding() or GetApplicationTextEncoding().

  • flavor:

    kCMImageDescriptionFlavor constant or NULL for QuickTimeMovie flavor.

  • formatDescriptionOut:

    Receives new CMVideoFormatDescription.

See Also

Working with Video Descriptions