Class CVImageBuffer

All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
CVMetalTexture, CVOpenGLESTexture, CVPixelBuffer

public class CVImageBuffer
extends CVBuffer
  • Constructor Details

    • CVImageBuffer

      public CVImageBuffer()
  • Method Details

    • setAttribute

      public void setAttribute​(CVImageBufferAttribute attribute, CFType value, CVAttachmentMode attachmentMode)
      Since:
      Available in iOS 4.0 and later.
    • getAttribute

      public CFType getAttribute​(CVImageBufferAttribute attribute)
      Since:
      Available in iOS 4.0 and later.
    • getAttributeMode

      public CVAttachmentMode getAttributeMode​(CVImageBufferAttribute attribute)
      Since:
      Available in iOS 4.0 and later.
    • removeAttribute

      public void removeAttribute​(CVImageBufferAttribute attribute)
      Since:
      Available in iOS 4.0 and later.
    • removeAllAttributes

      public void removeAllAttributes()
      Since:
      Available in iOS 4.0 and later.
    • getAttributes

      public CVImageBufferAttributes getAttributes​(CVAttachmentMode attachmentMode)
      Since:
      Available in iOS 4.0 and later.
    • setAttributes

      public void setAttributes​(CVImageBufferAttributes attributes, CVAttachmentMode attachmentMode)
      Since:
      Available in iOS 4.0 and later.
    • propagateAttributes

      public void propagateAttributes​(CVImageBuffer destinationBuffer)
      Since:
      Available in iOS 4.0 and later.
    • toIntCodePointCVYCbCrMatrix

      public static int toIntCodePointCVYCbCrMatrix​(CFString yCbCrMatrixString)
      Since:
      Available in iOS 11.0 and later.
    • toIntCodePointCVColorPrimaries

      public static int toIntCodePointCVColorPrimaries​(CFString colorPrimariesString)
      Since:
      Available in iOS 11.0 and later.
    • toIntCodePointCVTransferFunction

      public static int toIntCodePointCVTransferFunction​(CFString transferFunctionString)
      Since:
      Available in iOS 11.0 and later.
    • intCodePointToStringCVYCbCrMatrix

      public static CFString intCodePointToStringCVYCbCrMatrix​(int yCbCrMatrixCodePoint)
      Since:
      Available in iOS 11.0 and later.
    • intCodePointToStringCVColorPrimaries

      public static CFString intCodePointToStringCVColorPrimaries​(int colorPrimariesCodePoint)
      Since:
      Available in iOS 11.0 and later.
    • intCodePointToStringCVTransferFunction

      public static CFString intCodePointToStringCVTransferFunction​(int transferFunctionCodePoint)
      Since:
      Available in iOS 11.0 and later.
    • getEncodedSize

      public CGSize getEncodedSize()
    • getDisplaySize

      public CGSize getDisplaySize()
    • getCleanRect

      public CGRect getCleanRect()
    • isFlipped

      public boolean isFlipped()
    • createColorSpaceFromAttachments

      public static CGColorSpace createColorSpaceFromAttachments​(CFDictionary attachments)
      Since:
      Available in iOS 10.0 and later.