BackedBySurface

abstract class BackedBySurface(val surface: Surface, val purpose: ImageProcessor.Output.Purpose) : ImageProcessor.Output

Convenience base Output that is backed by android.view.Surface.

Constructors

Link copied to clipboard

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.

Link copied to clipboard
open val surface: Surface