iOS Developer Library

Developer

System Framework Reference Core Video Constants Reference

Options
Deployment Target:

On This Page
Language:

Core Video Constants Reference

This document defines Core Video constants that are not associated with a particular opaque type. This is not a complete list of Core Video constants; most constants are documented with their associated opaque type.

Result Codes

The table below lists the result codes returned for Core Video. Note that these result codes are of type CVReturn, not type OSErr.

  • No error

    Value

    0

    Description

    No error

    Available in iOS 4.0 and later.

  • Placeholder to mark the beginning of Core Video result codes (not returned by any functions).

    Value

    -6660

    Description

    Placeholder to mark the beginning of Core Video result codes (not returned by any functions).

    Available in iOS 4.0 and later.

  • An otherwise undefined error occurred.

    Value

    -6660

    Description

    An otherwise undefined error occurred.

    Available in iOS 4.0 and later.

  • Invalid function parameter. For example, out of range or the wrong type.

    Value

    -6661

    Description

    Invalid function parameter. For example, out of range or the wrong type.

    Available in iOS 4.0 and later.

  • Memory allocation for a buffer or buffer pool failed.

    Value

    -6662

    Description

    Memory allocation for a buffer or buffer pool failed.

    Available in iOS 4.0 and later.

  • The display specified when creating a display link is invalid.

    Value

    -6670

    Description

    The display specified when creating a display link is invalid.

    Available in iOS 4.0 and later.

  • The specified display link is already running.

    Value

    -6671

    Description

    The specified display link is already running.

    Available in iOS 4.0 and later.

  • The specified display link is not running.

    Value

    -6672

    Description

    The specified display link is not running.

    Available in iOS 4.0 and later.

  • No callback registered for the specified display link. You must set either the output callback or both the render and display callbacks.

    Value

    -6673

    Description

    No callback registered for the specified display link. You must set either the output callback or both the render and display callbacks.

    Available in iOS 4.0 and later.

  • The buffer does not support the specified pixel format.

    Value

    -6680

    Description

    The buffer does not support the specified pixel format.

    Available in iOS 4.0 and later.

  • The buffer cannot support the requested buffer size (usually too big).

    Value

    -6681

    Description

    The buffer cannot support the requested buffer size (usually too big).

    Available in iOS 4.0 and later.

  • A buffer cannot be created with the specified attributes.

    Value

    -6682

    Description

    A buffer cannot be created with the specified attributes.

    Available in iOS 4.0 and later.

  • The pixel buffer is not compatible with OpenGL due to an unsupported buffer size, pixel format, or attribute.

    Value

    -6683

    Description

    The pixel buffer is not compatible with OpenGL due to an unsupported buffer size, pixel format, or attribute.

    Available in iOS 4.0 and later.

  • The pixel buffer is not compatible with Metal due to an unsupported buffer size, pixel format, or attribute.

    Value

    -6684

    Description

    The pixel buffer is not compatible with Metal due to an unsupported buffer size, pixel format, or attribute.

    Available in iOS 8.0 and later.

  • Allocation for a pixel buffer failed because the threshold value set for the kCVPixelBufferPoolAllocationThresholdKey key in the CVPixelBufferPoolCreatePixelBufferWithAuxAttributes function would be surpassed.

    Value

    -6689

    Description

    Allocation for a pixel buffer failed because the threshold value set for the kCVPixelBufferPoolAllocationThresholdKey key in the CVPixelBufferPoolCreatePixelBufferWithAuxAttributes function would be surpassed.

    Available in iOS 4.0 and later.

  • Allocation for a buffer pool failed, most likely due to a lack of resources. Check to make sure your parameters are in range.

    Value

    -6690

    Description

    Allocation for a buffer pool failed, most likely due to a lack of resources. Check to make sure your parameters are in range.

    Available in iOS 4.0 and later.

  • A buffer pool cannot be created with the specified attributes.

    Value

    -6691

    Description

    A buffer pool cannot be created with the specified attributes.

    Available in iOS 4.0 and later.

  • Placeholder to mark the end of Core Video result codes (not returned by any functions).

    Value

    -6699

    Description

    Placeholder to mark the end of Core Video result codes (not returned by any functions).

    Available in iOS 4.0 and later.