-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a double scaling issue in Y'CbCr conversion.
We multiplied by 224/219 once too many, causing some small accuracy issues. Furthermore, we also did this for full-range Y'CbCr, which obviously is wrong. The issue was so small that the unit tests kept on passing (its investigation was prompted by a test that failed on AMD cards, which is a separate issue). After this, the Rec. 601 matrices match Wikipedia exactly, both for limited and full range. Added unit tests for this.
- Loading branch information
Showing
2 changed files
with
82 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters