|
@@ -20,6 +20,8 @@
|
|
|
#ifndef ALL_PROCESSINGS__HPP
|
|
|
#define ALL_PROCESSINGS__HPP
|
|
|
|
|
|
+#ifndef _LINUX
|
|
|
+
|
|
|
#ifdef HDRIP_EXPORTS
|
|
|
#define HDRIP_API __declspec(dllexport)
|
|
|
#else
|
|
@@ -48,4 +50,32 @@ extern "C" {
|
|
|
float ce_sel_light_l, float ce_sel_light_h, float ce_sel_chr_l, float ce_sel_chr_h, float ce_sel_hue_l, float ce_sel_hue_h, float ce_tol, float ce_edit_hue, float ce_edit_expo, float ce_edit_con, float ce_edit_sat, bool ce_mask);
|
|
|
}
|
|
|
|
|
|
-#endif
|
|
|
+
|
|
|
+#else
|
|
|
+
|
|
|
+
|
|
|
+extern "C" {
|
|
|
+ float* exposure(float* data, unsigned int width, unsigned int height, float exposure);
|
|
|
+
|
|
|
+ float* contrast(float* data, unsigned int width, unsigned int height, float contrast);
|
|
|
+
|
|
|
+ float* yCurve(float* data, unsigned int width, unsigned int height, float yCs, float yCb, float yCm, float yCw, float yCh);
|
|
|
+
|
|
|
+ float* lightnessMask(float* data, unsigned int width, unsigned int height, bool lms, bool lmb, bool lmm, bool lmw, bool lmh);
|
|
|
+
|
|
|
+ float* saturation(float* data, unsigned int width, unsigned int height, float saturation);
|
|
|
+
|
|
|
+ float* colorEditor(float* data, unsigned int width, unsigned int height, float ce_sel_light_l, float ce_sel_light_h, float ce_sel_chr_l, float ce_sel_chr_h, float ce_sel_hue_l, float ce_sel_hue_h, float ce_tol, float ce_edit_hue, float ce_edit_expo, float ce_edit_con, float ce_edit_sat, bool ce_mask);
|
|
|
+
|
|
|
+ float* full_process(float* data, unsigned int width, unsigned int height,
|
|
|
+ float exposure,
|
|
|
+ float contrast,
|
|
|
+ float yCs, float yCb, float yCm, float yCw, float yCh,
|
|
|
+ bool lms, bool lmb, bool lmm, bool lmw, bool lmh,
|
|
|
+ float saturation,
|
|
|
+ float ce_sel_light_l, float ce_sel_light_h, float ce_sel_chr_l, float ce_sel_chr_h, float ce_sel_hue_l, float ce_sel_hue_h, float ce_tol, float ce_edit_hue, float ce_edit_expo, float ce_edit_con, float ce_edit_sat, bool ce_mask);
|
|
|
+}
|
|
|
+
|
|
|
+#endif
|
|
|
+
|
|
|
+#endif
|