Backed By Surface Texture
abstract class BackedBySurfaceTexture(val surfaceTexture: SurfaceTexture, val purpose: ImageProcessor.Output.Purpose) : ImageProcessor.Output
Convenience base Output that is backed by android.graphics.SurfaceTexture.
Constructors
Functions
Link copied to clipboard
Prepares a Frame to obtain information that is required for ImageProcessor to render.
Properties
Link copied to clipboard
Provides the single purpose of this output so that ImageProcessor can adjust its internal implementation to write image data optimized for it.
Link copied to clipboard
The natural orientation of a Frame in relation to a device that is rendering it. If returned value is Int.MIN_VALUE (the default) then implementation is expected to use the current device rotation to adjust the rendered output.