@@ -2238,7 +2238,7 @@ void process(dt_iop_module_t *self,
22382238 dt_aligned_pixel_t correction_ratios ;
22392239 _get_d65_correction_ratios (self , correction_ratios );
22402240
2241- if (find_illuminant_xy_from_as_shot_coeffs (& (self -> dev -> image_storage ), correction_ratios , & ( x ) , & ( y ) ))
2241+ if (find_illuminant_xy_from_as_shot_coeffs (& (self -> dev -> image_storage ), correction_ratios , & x , & y ))
22422242 {
22432243 // Convert illuminant from xyY to XYZ
22442244 dt_aligned_pixel_t XYZ ;
@@ -2255,7 +2255,7 @@ void process(dt_iop_module_t *self,
22552255 // which don't come from the EXIF this time).
22562256 float x , y ;
22572257
2258- if (find_illuminant_xy_from_wb_coeffs (& (self -> dev -> image_storage ), self -> dev -> chroma .wb_coeffs , & ( x ) , & ( y ) ))
2258+ if (find_illuminant_xy_from_wb_coeffs (& (self -> dev -> image_storage ), self -> dev -> chroma .wb_coeffs , & x , & y ))
22592259 {
22602260 // Convert illuminant from xyY to XYZ
22612261 dt_aligned_pixel_t XYZ ;
@@ -2366,7 +2366,7 @@ int process_cl(dt_iop_module_t *self,
23662366 dt_aligned_pixel_t correction_ratios ;
23672367 _get_d65_correction_ratios (self , correction_ratios );
23682368
2369- if (find_illuminant_xy_from_as_shot_coeffs (& (self -> dev -> image_storage ), correction_ratios , & ( x ) , & ( y ) ))
2369+ if (find_illuminant_xy_from_as_shot_coeffs (& (self -> dev -> image_storage ), correction_ratios , & x , & y ))
23702370 {
23712371 // Convert illuminant from xyY to XYZ
23722372 dt_aligned_pixel_t XYZ ;
@@ -2383,7 +2383,7 @@ int process_cl(dt_iop_module_t *self,
23832383 // which don't come from the EXIF this time).
23842384 float x , y ;
23852385
2386- if (find_illuminant_xy_from_wb_coeffs (& (self -> dev -> image_storage ), self -> dev -> chroma .wb_coeffs , & ( x ) , & ( y ) ))
2386+ if (find_illuminant_xy_from_wb_coeffs (& (self -> dev -> image_storage ), self -> dev -> chroma .wb_coeffs , & x , & y ))
23872387 {
23882388 // Convert illuminant from xyY to XYZ
23892389 dt_aligned_pixel_t XYZ ;
@@ -3201,7 +3201,7 @@ void commit_params(dt_iop_module_t *self,
32013201 // if illuminant is from camera or user WB coefficients, x and y are set on-the-fly at
32023202 // commit time, so we need to set adaptation too
32033203 if (p -> illuminant == DT_ILLUMINANT_CAMERA || p -> illuminant == DT_ILLUMINANT_FROM_WB )
3204- _check_if_close_to_daylight (x , y , NULL , NULL , & (d -> adaptation ));
3204+ _check_if_close_to_daylight (x , y , NULL , NULL , & (d -> adaptation ));
32053205 d -> illuminant_type = p -> illuminant ;
32063206
32073207 // Convert illuminant from xyY to XYZ
0 commit comments