Interface CIImageProcessorInput


  • public interface CIImageProcessorInput
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      @NotNull org.moe.natj.general.ptr.ConstVoidPtr baseAddress()
      The base address of the input buffer that the processor block can read from.
      long bytesPerRow()
      The bytes per row of the input buffer that the processor block can read from.
      long digest()
      A 64-bit digest that uniquely describes the contents of the input to a processor.
      int format()
      The pixel format of the input buffer that the processor block can read from.
      @Nullable MTLTexture metalTexture()
      A MTLTexture object that can be bound as input (if processing using Metal).
      @Nullable CVBufferRef pixelBuffer()
      An input CVPixelBuffer that the processor block can read from.
      CGRect region()
      The rectangular region of the input image that the processor block can use to provide the output.
      long roiTileCount()
      API-Since: 17.0
      long roiTileIndex()
      For processors that implement 'roiTileArrayForInput:arguments:outputRect:' API-Since: 17.0
      @NotNull IOSurfaceRef surface()
      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