init(sourceFrame:destinationFrame:)
Creates a new low-latency, super-resolution scaler parameters object.
Declaration
init(sourceFrame: VTFrameProcessorFrame, destinationFrame: VTFrameProcessorFrame)Parameters
- sourceFrame:
Current source frame; must be non
nil. - destinationFrame:
User-allocated pixel buffer that receives the scaled processor output; must be non
nil.