Output

interface Output

Defines the image output model that is available to write to by a ImageProcessor.

Types

Link copied to clipboard
abstract class BackedBySurface(val surface: Surface, val purpose: ImageProcessor.Output.Purpose) : ImageProcessor.Output

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

Link copied to clipboard

Convenience base Output that is backed by android.graphics.SurfaceTexture.

Link copied to clipboard
object Companion

Allows to attach extension functions to the Input interface on implementation side.

Link copied to clipboard
interface Frame

Defines properties of a single image output Frame available from Output.writeFrame.

Link copied to clipboard
sealed class Option

Defines possible Output usage options that ImageProcessor should consider when interacting with it.

Link copied to clipboard

Defines all known purposes that this output can be used for.

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.

Inheritors

Link copied to clipboard
Link copied to clipboard