SurfaceOutput

class SurfaceOutput(val descriptor: SurfaceDescriptor, val isStreaming: () -> Boolean, transformationInfo: SurfaceOutput.TransformationInfo) : ISurfaceOutput

Constructors

Link copied to clipboard
constructor(descriptor: SurfaceDescriptor, isStreaming: () -> Boolean, transformationInfo: SurfaceOutput.TransformationInfo)

Types

Link copied to clipboard
data class TransformationInfo(val aspectRatioMode: AspectRatioMode, val targetRotation: Int, val cropRect: Rect, val needMirroring: Boolean, val infoProvider: ISourceInfoProvider)

Properties

Link copied to clipboard
open override val descriptor: SurfaceDescriptor
Link copied to clipboard
open override val isStreaming: () -> Boolean
Link copied to clipboard
@IntRange(from = 0, to = 359)
val rotationDegrees: Int
Link copied to clipboard
@IntRange(from = 0, to = 359)
val sourceRotationDegrees: Int
Link copied to clipboard
open override val viewportRect: Rect

Functions

Link copied to clipboard
open override fun updateTransformMatrix(output: FloatArray, input: FloatArray)