ISurfaceProcessorInternal

Interface for a surface processor that manages input and output surfaces.

This interface allows for the creation, removal, and management of input and output surfaces used in video processing.

You can create your own implementation of this interface to handle custom effects or processing.

Types

Link copied to clipboard
interface Factory

Factory interface for creating instances of ISurfaceProcessorInternal.

Functions

Link copied to clipboard
abstract fun addOutputSurface(surfaceOutput: ISurfaceOutput)
Link copied to clipboard
abstract fun createInputSurface(surfaceSize: Size, timestampOffsetInNs: Long): Surface
Link copied to clipboard
abstract fun release()

Closes and releases resources

Link copied to clipboard
Link copied to clipboard
abstract fun removeInputSurface(surface: Surface)
Link copied to clipboard
abstract fun removeOutputSurface(surface: Surface)
abstract fun removeOutputSurface(surfaceOutput: ISurfaceOutput)