StreamPack
Toggle table of contents
3.0.0-RC
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
StreamPack
streampack-core
/
io.github.thibaultbee.streampack.core.elements.processing.video
/
SurfaceProcessor
Surface
Processor
class
SurfaceProcessor
(
dynamicRangeProfile
:
DynamicRangeProfile
)
:
ISurfaceProcessorInternal
,
SurfaceTexture.OnFrameAvailableListener
Members
Constructors
Surface
Processor
Link copied to clipboard
constructor
(
dynamicRangeProfile
:
DynamicRangeProfile
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
add
Output
Surface
Link copied to clipboard
open
override
fun
addOutputSurface
(
surfaceOutput
:
AbstractSurfaceOutput
)
create
Input
Surface
Link copied to clipboard
open
override
fun
createInputSurface
(
surfaceSize
:
Size
,
timestampOffsetInNs
:
Long
)
:
Surface
on
Frame
Available
Link copied to clipboard
open
override
fun
onFrameAvailable
(
surfaceTexture
:
SurfaceTexture
)
release
Link copied to clipboard
open
override
fun
release
(
)
Closes and releases resources
remove
All
Output
Surfaces
Link copied to clipboard
open
override
fun
removeAllOutputSurfaces
(
)
remove
Input
Surface
Link copied to clipboard
open
override
fun
removeInputSurface
(
surface
:
Surface
)
remove
Output
Surface
Link copied to clipboard
open
override
fun
removeOutputSurface
(
surface
:
Surface
)
open
override
fun
removeOutputSurface
(
surfaceOutput
:
AbstractSurfaceOutput
)