aboutsummaryrefslogtreecommitdiff
path: root/src/image.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-11-22 11:19:23 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:06 +0100
commit20d05388833bd9f3b6819d82f983eea424663407 (patch)
treebb5ffe085ea697e4363d03003febeed517ec383b /src/image.h
parent10c4b9c1c596c6196e5ca478fca7f1fa27f2da0c (diff)
Fix post refinement maths and take clamping status into account
Diffstat (limited to 'src/image.h')
-rw-r--r--src/image.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/image.h b/src/image.h
index ae2f3179..0d2f6c2e 100644
--- a/src/image.h
+++ b/src/image.h
@@ -66,6 +66,8 @@ struct cpeak
double r1; /* First excitation error */
double r2; /* Second excitation error */
double p; /* Partiality */
+ int clamp1; /* Clamp status for r1 */
+ int clamp2; /* Clamp status for r2 */
/* Location in image */
int x;
@@ -102,6 +104,7 @@ struct image {
int f0_available; /* 0 if f0 wasn't available
* from the input. */
double osf; /* Overall scaling factor */
+ double profile_radius; /* Radius of reflection */
int width;
int height;