forked from xiph/rav1e
-
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.
Integrate AV-Metrics for calculation of metrics
For showing metrics in CLI use --metrics for showing all metrics and use --psnr for showing PNSR. This commit introduces: - Frame Metrics function to calculate PSNR, PSNR-HVS, SSIM, MS-SSIM, CIEDE2000. - Quality Metrics Structure to store all the calculated values - Adding METRICS as an argument - Updates --psnr calculation based on av-metrics - Calculated metrics in a neat way - Introduce metrics_cli as an additional parameter for process_frame as parse_cli is an expensive function to be made in encode_loop, to make it more efficient we have moved metrics_cli enum as an argument to process_frame and making the calculation in do_encode function.
- Loading branch information
Showing
10 changed files
with
176 additions
and
150 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
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
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
Oops, something went wrong.