Planes in getNoiseSpectrum are wrongly assigned
The function getNoiseSpectrum expects the planes as a number: 0 for Y, 1 for U, 2 for V
However avisynth.h assignes the planes one off: PLANAR_Y=1<<0, PLANAR_U=1<<1, PLANAR_V=1<<2,
This yields the following error when using nfile or nstring with 0 as a plane: GetPlaneHeightSubsampling called with supported plane.
On top of all, getNoiseSpectrum does not allow the user to set the plane to 3 so currently the V plane cannot be accessed here.
That's a issue, I would like to know if this can be fix?
Following this post(https://forum.doom9.org/showthread.php?t=171385), I modified the "getNoiseSpectrum" function in dfttest.cpp and compiled it with VS2022. In my test, no significant performance change due to different compile tools (original VS2019). I would like to share this file here. dfttest.zip