Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clamp incoming float values to half, instead of simply casting, on
encode. Casting can introduce Infs, which are zero'ed later on, prior to the forward DCT step. This can have the nasty side effect of forcing bright values to zero, instead of clamping them to 65k.
- Loading branch information