mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-31 11:18:42 +02:00
set maximum PSNR
This commit is contained in:
@@ -116,7 +116,7 @@ typedef MagickDoubleType Quantum;
|
||||
#define MagickMinimumValue 2.22507385850720140E-308
|
||||
#define MagickStringify(macro_or_string) MagickStringifyArg(macro_or_string)
|
||||
#define MagickStringifyArg(contents) #contents
|
||||
#define MaxPSNRDistortion (48.130803608679*((double) sizeof(Quantum)))
|
||||
#define MaxPSNRDistortion (10.0*log10((double) QuantumRange))
|
||||
#define QuantumScale ((double) 1.0/(double) QuantumRange)
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user