Class CVPixelBufferAttributes

Direct Known Subclasses:
AVPixelBufferAttributes

public class CVPixelBufferAttributes
extends CVBufferAttributes
  • Constructor Details

    • CVPixelBufferAttributes

      public CVPixelBufferAttributes()
  • Method Details

    • has

      public boolean has​(CVPixelBufferAttribute key)
    • get

      public <T extends NativeObject> T get​(CVPixelBufferAttribute key, Class<T> type)
    • set

    • getMemoryAllocator

      public CFAllocator getMemoryAllocator()
    • setMemoryAllocator

      public CVPixelBufferAttributes setMemoryAllocator​(CFAllocator memoryAllocator)
    • getWidth

      public long getWidth()
    • setWidth

      public CVPixelBufferAttributes setWidth​(long width)
    • getHeight

      public long getHeight()
    • setHeight

      public CVPixelBufferAttributes setHeight​(long height)
    • getExtendedPixelsLeft

      public long getExtendedPixelsLeft()
    • setExtendedPixelsLeft

      public CVPixelBufferAttributes setExtendedPixelsLeft​(long extendedPixelsLeft)
    • getExtendedPixelsTop

      public long getExtendedPixelsTop()
    • setExtendedPixelsTop

      public CVPixelBufferAttributes setExtendedPixelsTop​(long extendedPixelsTop)
    • getExtendedPixelsRight

      public long getExtendedPixelsRight()
    • setExtendedPixelsRight

      public CVPixelBufferAttributes setExtendedPixelsRight​(long extendedPixelsRight)
    • getExtendedPixelsBottom

      public long getExtendedPixelsBottom()
    • setExtendedPixelsBottom

      public CVPixelBufferAttributes setExtendedPixelsBottom​(long extendedPixelsBottom)
    • getBytesPerRowAlignment

      public long getBytesPerRowAlignment()
    • setBytesPerRowAlignment

      public CVPixelBufferAttributes setBytesPerRowAlignment​(long bytesPerRowAlignment)
    • isCompatibleWithCGBitmapContext

      public boolean isCompatibleWithCGBitmapContext()
    • setCompatibleWithCGBitmapContext

      public CVPixelBufferAttributes setCompatibleWithCGBitmapContext​(boolean compatibleWithCGBitmapContext)
    • isCompatibleWithCGImage

      public boolean isCompatibleWithCGImage()
    • setCompatibleWithCGImage

      public CVPixelBufferAttributes setCompatibleWithCGImage​(boolean compatibleWithCGImage)
    • isCompatibleWithOpenGL

      public boolean isCompatibleWithOpenGL()
    • setCompatibleWithOpenGL

      public CVPixelBufferAttributes setCompatibleWithOpenGL​(boolean compatibleWithOpenGL)
    • getPlaneAlignment

      public long getPlaneAlignment()
    • setPlaneAlignment

      public CVPixelBufferAttributes setPlaneAlignment​(long planeAlignment)
    • getIOSurfaceProperties

      public NSDictionary getIOSurfaceProperties()
    • setIOSurfaceProperties

      public CVPixelBufferAttributes setIOSurfaceProperties​(NSDictionary iOSurfaceProperties)
    • isCompatibleWithOpenGLES

      public boolean isCompatibleWithOpenGLES()
    • setCompatibleWithOpenGLES

      public CVPixelBufferAttributes setCompatibleWithOpenGLES​(boolean compatibleWithOpenGLES)
    • isCompatibleWithMetal

      public boolean isCompatibleWithMetal()
    • setCompatibleWithMetal

      public CVPixelBufferAttributes setCompatibleWithMetal​(boolean compatibleWithMetal)
    • getVersatileBayerKey

      public CVVersatileBayerPattern getVersatileBayerKey()
      Since:
      Available in iOS 14.0 and later.
    • setVersatileBayerKey

      public CVPixelBufferAttributes setVersatileBayerKey​(CVVersatileBayerPattern versatileBayerKey)
      Since:
      Available in iOS 14.0 and later.
    • getRawSenselSitingOffsets

      public NSData getRawSenselSitingOffsets()
      Since:
      Available in iOS 14.0 and later.
    • setRawSenselSitingOffsets

      public CVPixelBufferAttributes setRawSenselSitingOffsets​(NSData rawSenselSitingOffsets)
      Since:
      Available in iOS 14.0 and later.
    • getRawBlackLevel

      public int getRawBlackLevel()
      Since:
      Available in iOS 14.0 and later.
    • setRawBlackLevel

      public CVPixelBufferAttributes setRawBlackLevel​(int rawBlackLevel)
      Since:
      Available in iOS 14.0 and later.
    • getRawWhiteLevel

      public int getRawWhiteLevel()
      Since:
      Available in iOS 14.0 and later.
    • setRawWhiteLevel

      public CVPixelBufferAttributes setRawWhiteLevel​(int rawWhiteLevel)
      Since:
      Available in iOS 14.0 and later.
    • getRawWhiteBalanceCCT

      public int getRawWhiteBalanceCCT()
      Since:
      Available in iOS 14.0 and later.
    • setRawWhiteBalanceCCT

      public CVPixelBufferAttributes setRawWhiteBalanceCCT​(int rawWhiteBalanceCCT)
      Since:
      Available in iOS 14.0 and later.
    • getRawWhiteBalanceRedFactor

      public float getRawWhiteBalanceRedFactor()
      Since:
      Available in iOS 14.0 and later.
    • setRawWhiteBalanceRedFactor

      public CVPixelBufferAttributes setRawWhiteBalanceRedFactor​(float rawWhiteBalanceRedFactor)
      Since:
      Available in iOS 14.0 and later.
    • getRawWhiteBalanceBlueFactor

      public float getRawWhiteBalanceBlueFactor()
      Since:
      Available in iOS 14.0 and later.
    • setRawWhiteBalanceBlueFactor

      public CVPixelBufferAttributes setRawWhiteBalanceBlueFactor​(float rawWhiteBalanceBlueFactor)
      Since:
      Available in iOS 14.0 and later.
    • getRawColorMatrix

      public NSData getRawColorMatrix()
      Since:
      Available in iOS 14.0 and later.
    • setRawColorMatrix

      public CVPixelBufferAttributes setRawColorMatrix​(NSData rawColorMatrix)
      Since:
      Available in iOS 14.0 and later.
    • getRawGainFactor

      public float getRawGainFactor()
      Since:
      Available in iOS 14.0 and later.
    • setRawGainFactor

      public CVPixelBufferAttributes setRawGainFactor​(float rawGainFactor)
      Since:
      Available in iOS 14.0 and later.
    • getRawRecommendedCrop

      public NSData getRawRecommendedCrop()
      Since:
      Available in iOS 14.0 and later.
    • setRawRecommendedCrop

      public CVPixelBufferAttributes setRawRecommendedCrop​(NSData rawRecommendedCrop)
      Since:
      Available in iOS 14.0 and later.
    • getPixelFormatTypes

      public List<CVPixelFormatType> getPixelFormatTypes()
      Since:
      Available in iOS 4.0 and later.
    • setPixelFormatType

      public CVPixelBufferAttributes setPixelFormatType​(CVPixelFormatType type)
      Since:
      Available in iOS 4.0 and later.
    • setPixelFormatTypes

      public CVPixelBufferAttributes setPixelFormatTypes​(List<CVPixelFormatType> types)
      Since:
      Available in iOS 4.0 and later.