Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
21st August 2014, 20:24 | #2 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
AddGrain is destructive enough that it probably wouldn't matter if you just zeroed the LSB out or replaced it with the output of the linear congruential generator already built into the filter, unless you have a very, very tiny variance. For future optimization work, you can generate the noise pattern to match the bitdepth, so that you can ignore bitdepth entirely during the getframe and just add them together directly like the Avisynth version. Getting into whether to destroy LSB entirely is a bit trickier, but it'd be even faster.
Looks like it should work as-is though. |
Thread Tools | Search this Thread |
Display Modes | |
|
|