init(frameWidth:frameHeight:scaleFactor:)
Creates a new low-latency super-resolution scaler configuration with specified frame width and height.
Declaration
init(frameWidth: Int, frameHeight: Int, scaleFactor: Float)Parameters
- frameWidth:
Width of source frame in pixels.
- frameHeight:
Height of source frame in pixels.
- scaleFactor:
The scale factor to apply. This must be a supported value that Supportedscalefactorsforframewidth:frameheight: returns.