Overlayer

interface Overlayer

Allows to overlay custom graphics on top of a stream rendered by a GsdkStreamView.

After each frame is rendered, overlay will be called; client code must implement this method to render the appropriate overlay on top of the rendered frame.

Overlayer interface also allows to receive color histogram computations, when enabled onto which the overlayer is installed.

Types

Link copied to clipboard
interface Histogram
Color histogram information.
Link copied to clipboard
interface OverlayContext
Contextual information on an overlay.

Functions

Link copied to clipboard
abstract fun overlay(@NonNull overlayContext: Overlayer.OverlayContext)
Renders custom overlay on top of current frame.