Interface CIImageProcessorInput


  • public interface CIImageProcessorInput
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
      int format()
      The pixel format of the input buffer that the processor block can read from.
      MTLTexture metalTexture()
      A MTLTexture object that can be bound as input (if processing using Metal).
      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.
      IOSurfaceRef surface()
      An input IOSurface that the processor block can read from.
    • Method Detail

      • baseAddress

        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

        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

        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

        IOSurfaceRef surface()
        An input IOSurface that the processor block can read from. This surface must not be modified by the block.