PDA

View Full Version : Small bug in Avisynth 2.6? and chroma resample request


yesgrey
23rd September 2007, 01:03
I don't know if this forum is the right place for bug reporting...

I have been looking to avisynth 2.6 code. Today I have looked to convert_planar.h, function "static ResamplingFunction* getResampler" and I think I have found a small bug: the word for calling Spline64 resampling appears as "splint64".

I also would like to know if is it possible to add Lanczos2 resampling. Currently are only available lanczos (Lanczos3) and lanczos4(Lanczos4). Would it be possible to add lanczos2 (Lanczos2)? Is exactly what I prefer...

Thanks.

Best Regards.

IanB
23rd September 2007, 02:44
Yes this is the correct place to report bugs. Thank you. ;)

LanczosResize(..., taps=2)

However amputated sinc filtering with such a low tap count is not recomended, unless you want it as a special effect. Bicubic or Spline16 are far more predictable for 2 tap resizers.

yesgrey
23rd September 2007, 12:55
IanB,

Sorry not being clear enough. I was requesting the addition of lanczos2 to the chromaresample option in ConvertToRGB.
I was reporting a bug in that part of the code, so I assumed (wrongly) that you would understand it.

I know the existence of LanczosResize with 2 taps, that's also why I requested this. Apparently is just adding 2 lines of code...

About what you said of Lanczos2 resize, is avisynth similar to ffdshow Lanczos2? With ffdshow that's what I use, because it gives me the best upsampling without any signs of edge enhancement... I'll have to try with avisynth LanczosResive and see what are the results...

Thanks.