SurfaceDescriptor
data class SurfaceDescriptor(val surface: Surface, val resolution: Size, val targetRotation: Int = 0, val isEncoderInputSurface: Boolean = false)
A Surface with its resolution.
Parameters
surface
The Surface.
resolution
The resolution of the Surface.
targetRotation
The target rotation in Surface rotation (Surface.ROTATION_0, ...).
isEncoderInputSurface
Whether the Surface is used as an input for a video encoder.