summaryrefslogtreecommitdiff
path: root/vapi/libraw.vapi
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-03-22 06:39:17 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-03-22 06:39:17 +0100
commit3253d99365813f2d2ffd05e10cbb8c11f53d746e (patch)
tree0ab6f04d9051dc4ada1c4f977a01308227767234 /vapi/libraw.vapi
parente69c1b746d63bf794316669471474ab57c8cd40a (diff)
New upstream version 0.26.0upstream/0.26.0
Diffstat (limited to 'vapi/libraw.vapi')
-rw-r--r--vapi/libraw.vapi14
1 files changed, 7 insertions, 7 deletions
diff --git a/vapi/libraw.vapi b/vapi/libraw.vapi
index da6a57e..b1b5875 100644
--- a/vapi/libraw.vapi
+++ b/vapi/libraw.vapi
@@ -107,7 +107,7 @@ public struct OutputParams {
public int highlight;
public bool use_auto_wb;
public bool use_camera_wb;
- public bool use_camera_matrix;
+ public int use_camera_matrix;
public int output_color;
public int output_bps;
public bool output_tiff;
@@ -144,14 +144,14 @@ public struct OutputParams {
public float exp_shift;
public float exp_preser;
- public void set_chromatic_aberrations(double red_multiplier, double green_multiplier) {
- aber[0] = red_multiplier;
- aber[2] = green_multiplier;
+ public static void set_chromatic_aberrations(OutputParams* params, double red_multiplier, double green_multiplier) {
+ params->aber[0] = red_multiplier;
+ params->aber[2] = green_multiplier;
}
- public void set_gamma_curve(double power, double slope) {
- gamm[0] = power;
- gamm[1] = slope;
+ public static void set_gamma_curve(OutputParams* params, double power, double slope) {
+ params->gamm[0] = 1.0 / power;
+ params->gamm[1] = slope;
}
}