Package org.robovm.apple.corevideo
Class CVPixelBuffer
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.corevideo.CVBuffer
org.robovm.apple.corevideo.CVImageBuffer
org.robovm.apple.corevideo.CVPixelBuffer
- All Implemented Interfaces:
AutoCloseable
public class CVPixelBuffer extends CVImageBuffer
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCVPixelBuffer.CVPixelBufferPtrstatic interfaceCVPixelBuffer.ReleaseBytesCallbackstatic interfaceCVPixelBuffer.ReleasePlanarBytesCallbackNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Constructor Description CVPixelBuffer() -
Method Summary
Methods inherited from class org.robovm.apple.corevideo.CVImageBuffer
createColorSpaceFromAttachments, getAttribute, getAttributeMode, getAttributes, getCleanRect, getDisplaySize, getEncodedSize, intCodePointToStringCVColorPrimaries, intCodePointToStringCVTransferFunction, intCodePointToStringCVYCbCrMatrix, isFlipped, propagateAttributes, removeAllAttributes, removeAttribute, setAttribute, setAttributes, toIntCodePointCVColorPrimaries, toIntCodePointCVTransferFunction, toIntCodePointCVYCbCrMatrixMethods inherited from class org.robovm.apple.corevideo.CVBuffer
copyAttachment, copyAttachments, getAttachment, getAttachment, getAttachmentMode, getAttachments, hasAttachment, propagateAttachments, removeAllAttachments, removeAttachment, setAttachment, setAttachmentsMethods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
Constructor Details
-
CVPixelBuffer
public CVPixelBuffer()
-
-
Method Details
-
createResolvedAttributesDictionary
public static CVPixelBufferAttributes createResolvedAttributesDictionary(List<CVPixelBufferAttributes> attributes) -
createResolvedAttributesDictionary
public static CVPixelBufferAttributes createResolvedAttributesDictionary(CFAllocator allocator, List<CVPixelBufferAttributes> attributes) -
create
public static CVPixelBuffer create(long width, long height, CVPixelFormatType pixelFormatType, CVPixelBufferAttributes pixelBufferAttributes) -
create
public static CVPixelBuffer create(CFAllocator allocator, long width, long height, CVPixelFormatType pixelFormatType, CVPixelBufferAttributes pixelBufferAttributes) -
create
public static CVPixelBuffer create(long width, long height, CVPixelFormatType pixelFormatType, VoidPtr baseAddress, long bytesPerRow, CVPixelBuffer.ReleaseBytesCallback releaseCallback, CVPixelBufferAttributes pixelBufferAttributes) -
create
public static CVPixelBuffer create(CFAllocator allocator, long width, long height, CVPixelFormatType pixelFormatType, VoidPtr baseAddress, long bytesPerRow, CVPixelBuffer.ReleaseBytesCallback releaseCallback, CVPixelBufferAttributes pixelBufferAttributes) -
getExtendedPixels
public long[] getExtendedPixels() -
getClassTypeID
public static long getClassTypeID() -
create
protected static CVReturn create(CFAllocator allocator, long width, long height, CVPixelFormatType pixelFormatType, CVPixelBufferAttributes pixelBufferAttributes, CVPixelBuffer.CVPixelBufferPtr pixelBufferOut) -
create
protected static CVReturn create(CFAllocator allocator, long width, long height, CVPixelFormatType pixelFormatType, VoidPtr baseAddress, long bytesPerRow, FunctionPtr releaseCallback, long releaseRefCon, CVPixelBufferAttributes pixelBufferAttributes, CVPixelBuffer.CVPixelBufferPtr pixelBufferOut) -
create
protected static CVReturn create(CFAllocator allocator, long width, long height, CVPixelFormatType pixelFormatType, VoidPtr dataPtr, long dataSize, long numberOfPlanes, VoidPtr.VoidPtrPtr planeBaseAddress, MachineSizedUIntPtr planeWidth, MachineSizedUIntPtr planeHeight, MachineSizedUIntPtr planeBytesPerRow, FunctionPtr releaseCallback, VoidPtr releaseRefCon, CVPixelBufferAttributes pixelBufferAttributes, CVPixelBuffer.CVPixelBufferPtr pixelBufferOut) -
lockBaseAddress
-
unlockBaseAddress
-
getWidth
public long getWidth() -
getHeight
public long getHeight() -
getPixelFormatType
-
getBaseAddress
-
getBytesPerRow
public long getBytesPerRow() -
getDataSize
public long getDataSize() -
isPlanar
public boolean isPlanar() -
getPlaneCount
public long getPlaneCount() -
getWidthOfPlane
public long getWidthOfPlane(long planeIndex) -
getHeightOfPlane
public long getHeightOfPlane(long planeIndex) -
getBaseAddressOfPlane
-
getBytesPerRowOfPlane
public long getBytesPerRowOfPlane(long planeIndex) -
getExtendedPixels
protected void getExtendedPixels(MachineSizedUIntPtr extraColumnsOnLeft, MachineSizedUIntPtr extraColumnsOnRight, MachineSizedUIntPtr extraRowsOnTop, MachineSizedUIntPtr extraRowsOnBottom) -
fillExtendedPixels
-
copyCreationAttributes
- Since:
- Available in iOS 15.0 and later.
-
getIOSurface
-
create
protected static CVReturn create(CFAllocator allocator, IOSurface surface, CVPixelBufferAttributes pixelBufferAttributes, CVPixelBuffer.CVPixelBufferPtr pixelBufferOut)
-