summaryrefslogtreecommitdiff
path: root/vapi/libraw.vapi
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-03-22 06:40:44 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-03-22 06:40:44 +0100
commit8e1c5a834469d804d28ee8ab2cbe2da8e600a789 (patch)
treeb9771456583eaead893cfd8f02e680b58a3da970 /vapi/libraw.vapi
parent80a5f2d8b095e895a5424f90b2ce4684d94c1a32 (diff)
parent3253d99365813f2d2ffd05e10cbb8c11f53d746e (diff)
Merge tag 'upstream/0.26.0'
Upstream version 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;
}
}