Mister Hatt wrote:Not sure where mirko pulled some of that from but the correct way to scale with nnedi is to use nnedi2's nnedi2_rpow() function with 6-tap spline correction. Syntax is nnedi2_rpow("spline36resize", width_you_want, height_you_want) It is important to use the cshift argument of spline36resize or the centre of the image will be off. This goes for all forms of nnedi scaling.
That's not how you use nnedi2_rpow2
(that's the name). And about where I pulled that from, it's how it used to be done with the old nnedi, and it works the same with nnedi2.
I mean, compare nnedi2_rpow2(2) and that. If you want to specify other parameters in nnedi2_rpow2 (like for example the quality), you'd be specifying those in the simple nnedi2 call instead, and as for the target resolution, you just downscale with spline36resize after the line (which is the same thing that nnedi2_rpow2 does internally). So yeah, either way is fine, really.