Irrational-Encoding-Wizardry / kagefunc

A collection of Vapoursynth functions. kagefunc.py is the only relevant file for users
https://kageru.moe/blog/
MIT License
47 stars 5 forks source link

Check for src bitdepth in _generate_descale_mask #9

Closed LightArrowsEXE closed 5 years ago

LightArrowsEXE commented 5 years ago

When generating a mask where the bitdepths of the src and descaled, it sometimes does not properly mask the credits. Tested with varying thresholds as well, and result is the same.

kageru commented 5 years ago

There is now a debug parameter in mask_descale that returns the mask. Bitdepth checking is also performed there. You should no longer have to call the private function.