Input
Defines the image input source model that is available to be read from by the processor.
Inheritors
Types
Convenience base Input that is backed by android.graphics.SurfaceTexture.
Defines all capabilities that Input may provide in addition to image data.
Defines the properties of a single image input Frame available from Input.readFrame.
Defines possible Input usage options that ImageProcessor should consider when interacting with it.
Properties
Functions
Mirrors android.graphics.SurfaceTexture.attachToGLContext when this input is backed by android.graphics.SurfaceTexture.
Mirrors android.graphics.SurfaceTexture.detachFromGLContext when this input is backed by android.graphics.SurfaceTexture.
Allows to read a Frame when notified by in a callback subscribed via subscribeTo.
Subscribes to the provided onFrameAvailable to be notified when a new Frame is available for this input. The returned Closeable must be closed when done working with this input otherwise underlying resources will be leaked.