Full_process.hpp 1.5 KB

1234567891011121314151617181920212223242526272829303132
  1. #ifndef FULL_PROCESS__HPP
  2. #define FULL_PROCESS__HPP
  3. #ifdef HDRIP_EXPORTS
  4. #define HDRIP_API __declspec(dllexport)
  5. #else
  6. #define HDRIP_API __declspec(dllimport)
  7. #endif
  8. extern "C" {
  9. HDRIP_API float* exposure(float* data, unsigned int width, unsigned int height, float exposure);
  10. HDRIP_API float* contrast(float* data, unsigned int width, unsigned int height, float contrast);
  11. HDRIP_API float* yCurve(float* data, unsigned int width, unsigned int height, float yCs, float yCb, float yCm, float yCw, float yCh);
  12. HDRIP_API float* lightnessMask(float* data, unsigned int width, unsigned int height, bool lms, bool lmb, bool lmm, bool lmw, bool lmh);
  13. HDRIP_API float* saturation(float* data, unsigned int width, unsigned int height, float saturation);
  14. HDRIP_API 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);
  15. HDRIP_API float* full_process(float* data, unsigned int width, unsigned int height,
  16. float exposure,
  17. float contrast,
  18. float yCs, float yCb, float yCm, float yCw, float yCh,
  19. bool lms, bool lmb, bool lmm, bool lmw, bool lmh,
  20. float saturation,
  21. 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);
  22. }
  23. #endif