Package apple.coreimage.protocol
Interface CIImageProcessorInput
-
public interface CIImageProcessorInput
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull org.moe.natj.general.ptr.ConstVoidPtrbaseAddress()The base address of the input buffer that the processor block can read from.longbytesPerRow()The bytes per row of the input buffer that the processor block can read from.longdigest()A 64-bit digest that uniquely describes the contents of the input to a processor.intformat()The pixel format of the input buffer that the processor block can read from.@Nullable MTLTexturemetalTexture()A MTLTexture object that can be bound as input (if processing using Metal).@Nullable CVBufferRefpixelBuffer()An input CVPixelBuffer that the processor block can read from.CGRectregion()The rectangular region of the input image that the processor block can use to provide the output.longroiTileCount()API-Since: 17.0longroiTileIndex()For processors that implement 'roiTileArrayForInput:arguments:outputRect:' API-Since: 17.0@NotNull IOSurfaceRefsurface()An input IOSurface that the processor block can read from.
-
-
-
Method Detail
-
baseAddress
@NotNull @NotNull org.moe.natj.general.ptr.ConstVoidPtr baseAddress()
The base address of the input buffer that the processor block can read from. This memory must not be modified by the block.
-
bytesPerRow
long bytesPerRow()
The bytes per row of the input buffer that the processor block can read from.
-
format
int format()
The pixel format of the input buffer that the processor block can read from.
-
metalTexture
@Nullable @Nullable MTLTexture metalTexture()
A MTLTexture object that can be bound as input (if processing using Metal). This texture must not be modified by the block.
-
pixelBuffer
@Nullable @Nullable CVBufferRef pixelBuffer()
An input CVPixelBuffer that the processor block can read from. This buffer must not be modified by the block.
-
region
CGRect region()
The rectangular region of the input image that the processor block can use to provide the output. This will be contain (but may be larger than) the rect returned by 'roiCallback'.
-
surface
@NotNull @NotNull IOSurfaceRef surface()
An input IOSurface that the processor block can read from. This surface must not be modified by the block.
-
digest
long digest()
A 64-bit digest that uniquely describes the contents of the input to a processor. This digest will change if the graph of the input changes in any way. API-Since: 16.0
-
roiTileCount
long roiTileCount()
API-Since: 17.0
-
roiTileIndex
long roiTileIndex()
For processors that implement 'roiTileArrayForInput:arguments:outputRect:' API-Since: 17.0
-
-