scmccarthy
6th February 2003, 16:46
Or for anyone using the RGB color space.
*This filter is only useful as a replacement for ReduceBy for users who need to convert to the RGB color space anyway.* It avoids the interpolation of the chroma planes needed to convert to RGB by resizing the luma plane instead.
TMPG users:ConvertYV12ToRGBReduceBy2(RGB24=true) The default is:ConvertYV12ToRGBReduceBy2(false,5) This is the first filter where I provide a help file. The dll is compiled for P4, P3 only and this is an AviSynth 2.5 filter. This filter is meant to combine the ReduceBy2 filter with ConvertRGB starting from the YV12 color space only.
I strongly recommend this filter for TMPG users. It is fast enough that I can play it in WMP in real time. That is pretty much my standard for a filter: if it can't go faster than real time, then it is too slow. Actually, this is 40fps on my fast 1.8MHz CPU.
It is written entirely in C++, making it useful as an example program for programmers learning how to write 2.5 plugins. So that is the second group of people I can recommend this filter for. I learned how to do this filter by studying the AviSynth sources (which have C++ versions for non mmx computers), the MSDN YUV site, the original C sources for mpeg2dec, and ITU-R BT.601. It represents a study of color spaces in general that extends back a couple of years now.
Stephen
*This filter is only useful as a replacement for ReduceBy for users who need to convert to the RGB color space anyway.* It avoids the interpolation of the chroma planes needed to convert to RGB by resizing the luma plane instead.
TMPG users:ConvertYV12ToRGBReduceBy2(RGB24=true) The default is:ConvertYV12ToRGBReduceBy2(false,5) This is the first filter where I provide a help file. The dll is compiled for P4, P3 only and this is an AviSynth 2.5 filter. This filter is meant to combine the ReduceBy2 filter with ConvertRGB starting from the YV12 color space only.
I strongly recommend this filter for TMPG users. It is fast enough that I can play it in WMP in real time. That is pretty much my standard for a filter: if it can't go faster than real time, then it is too slow. Actually, this is 40fps on my fast 1.8MHz CPU.
It is written entirely in C++, making it useful as an example program for programmers learning how to write 2.5 plugins. So that is the second group of people I can recommend this filter for. I learned how to do this filter by studying the AviSynth sources (which have C++ versions for non mmx computers), the MSDN YUV site, the original C sources for mpeg2dec, and ITU-R BT.601. It represents a study of color spaces in general that extends back a couple of years now.
Stephen