Backed By Surface
abstract class BackedBySurface(surface: Surface, purpose: ImageProcessor.Output.Purpose) : ImageProcessor.Output
Content copied to clipboard
Convenience base Output that is backed by android.view.Surface.
Constructors
BackedBySurface
Link copied to clipboard
fun BackedBySurface(surface: Surface, purpose: ImageProcessor.Output.Purpose)
Content copied to clipboard
Functions
writeFrame
Link copied to clipboard
Properties
purpose
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.
rotationDegrees
Link copied to clipboard
The natural orientation of a Frame in relation to a device that is rendering it.