Some caution, though: I think AviSynth scripts usually run in YCbCr, so Y has a range from 16-235. In contrast to that, usually custom pixel shaders are executed in PC levels. So AviSynth 16 should map to floating point 0.0, and AviSynth 235 should map to floating point 1.0. Won't matter for some AviSynth scripts, but it will probably affect some.
|