Class CVPixelBuffer

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class CVPixelBuffer
    extends CVImageBuffer
    • Constructor Detail

      • CVPixelBuffer

        public CVPixelBuffer()
    • Method Detail

      • getExtendedPixels

        public long[] getExtendedPixels()
      • getClassTypeID

        public static long getClassTypeID()
        Since:
        Available in iOS 4.0 and later.
      • create

        protected static CVReturn create​(CFAllocator allocator,
                                         long width,
                                         long height,
                                         CVPixelFormatType pixelFormatType,
                                         org.robovm.rt.bro.ptr.VoidPtr dataPtr,
                                         long dataSize,
                                         long numberOfPlanes,
                                         org.robovm.rt.bro.ptr.VoidPtr.VoidPtrPtr planeBaseAddress,
                                         org.robovm.rt.bro.ptr.MachineSizedUIntPtr planeWidth,
                                         org.robovm.rt.bro.ptr.MachineSizedUIntPtr planeHeight,
                                         org.robovm.rt.bro.ptr.MachineSizedUIntPtr planeBytesPerRow,
                                         org.robovm.rt.bro.ptr.FunctionPtr releaseCallback,
                                         org.robovm.rt.bro.ptr.VoidPtr releaseRefCon,
                                         CVPixelBufferAttributes pixelBufferAttributes,
                                         CVPixelBuffer.CVPixelBufferPtr pixelBufferOut)
        Since:
        Available in iOS 4.0 and later.
      • getWidth

        public long getWidth()
        Since:
        Available in iOS 4.0 and later.
      • getHeight

        public long getHeight()
        Since:
        Available in iOS 4.0 and later.
      • getPixelFormatType

        public CVPixelFormatType getPixelFormatType()
        Since:
        Available in iOS 4.0 and later.
      • getBaseAddress

        public org.robovm.rt.bro.ptr.VoidPtr getBaseAddress()
        Since:
        Available in iOS 4.0 and later.
      • getBytesPerRow

        public long getBytesPerRow()
        Since:
        Available in iOS 4.0 and later.
      • getDataSize

        public long getDataSize()
        Since:
        Available in iOS 4.0 and later.
      • isPlanar

        public boolean isPlanar()
        Since:
        Available in iOS 4.0 and later.
      • getPlaneCount

        public long getPlaneCount()
        Since:
        Available in iOS 4.0 and later.
      • getWidthOfPlane

        public long getWidthOfPlane​(long planeIndex)
        Since:
        Available in iOS 4.0 and later.
      • getHeightOfPlane

        public long getHeightOfPlane​(long planeIndex)
        Since:
        Available in iOS 4.0 and later.
      • getBaseAddressOfPlane

        public org.robovm.rt.bro.ptr.VoidPtr getBaseAddressOfPlane​(long planeIndex)
        Since:
        Available in iOS 4.0 and later.
      • getBytesPerRowOfPlane

        public long getBytesPerRowOfPlane​(long planeIndex)
        Since:
        Available in iOS 4.0 and later.
      • getExtendedPixels

        protected void getExtendedPixels​(org.robovm.rt.bro.ptr.MachineSizedUIntPtr extraColumnsOnLeft,
                                         org.robovm.rt.bro.ptr.MachineSizedUIntPtr extraColumnsOnRight,
                                         org.robovm.rt.bro.ptr.MachineSizedUIntPtr extraRowsOnTop,
                                         org.robovm.rt.bro.ptr.MachineSizedUIntPtr extraRowsOnBottom)
        Since:
        Available in iOS 4.0 and later.
      • fillExtendedPixels

        public CVReturn fillExtendedPixels()
        Since:
        Available in iOS 4.0 and later.
      • getIOSurface

        public IOSurface getIOSurface()
        Since:
        Available in iOS 4.0 and later.