init(frameWidth:frameHeight:spatialScaleFactor:)
Creates a new low-latency frame interpolation configuration for spatial scaling and temporal scaling.
Declaration
init?(frameWidth: Int, frameHeight: Int, spatialScaleFactor: Int)Parameters
- frameWidth:
Width of source frame in pixels.
- frameHeight:
Height of source frame in pixels.
- spatialScaleFactor:
The requested spatial scale factor as an integer. Currently, the processor supports only 2x spatial scaling.
Discussion
When you configure the processor for spatial scaling, the low-latency frame interpolation processor only supports 2x spatial upscaling and a single frame of temporal interpolation at a 0.5 interpolation phase.