-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
renderer: implement new peak detection
This also allows us to finally separate peak detection from color management. The current place in the code actually has almost no drawbacks, since it's effectively free unless FBOs are disabled. One annoying consequence is that this means we will now always perform peak detection at the source resolution, even if the display is smaller. In the relatively common case of 4K video on 1080p displays, this is a performance regression. To fix it, we could try investigating whether to do the analysis after up/downscaling, but then we have more special cases to think about, so I think I'll live with the status quo for now. Peak detection isn't the end of the world even at 4K. Closes #40.
- Loading branch information
Showing
3 changed files
with
75 additions
and
21 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
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