123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- // This file is part of HDRip.
- //
- // HDRip is free software: you can redistribute it and/or modify it
- // under the terms of the GNU General Public License as published by
- // the Free Software Foundation, either version 3 of the License, or
- // (at your option) any later version.
- //
- // HDRip is distributed in the hope that it will be useful, but
- // WITHOUT ANY WARRANTY; without even the implied warranty of
- // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- // GNU General Public License for more details.
- //
- // You should have received a copy of the GNU General Public License
- // along with HDRip. If not, see <https://www.gnu.org/licenses/>.
- //
- // HDRip project
- // Author : Rémi Synave
- // Contact : remi.synave@univ-littoral.fr
- #ifndef ALL_PROCESSINGS__HPP
- #define ALL_PROCESSINGS__HPP
- #ifdef HDRIP_EXPORTS
- #define HDRIP_API __declspec(dllexport)
- #else
- #define HDRIP_API __declspec(dllimport)
- #endif
- extern "C" {
- HDRIP_API float* exposure(float* data, unsigned int width, unsigned int height, float exposure);
- HDRIP_API float* contrast(float* data, unsigned int width, unsigned int height, float contrast);
- HDRIP_API float* yCurve(float* data, unsigned int width, unsigned int height, float yCs, float yCb, float yCm, float yCw, float yCh);
- HDRIP_API float* lightnessMask(float* data, unsigned int width, unsigned int height, bool lms, bool lmb, bool lmm, bool lmw, bool lmh);
- HDRIP_API float* saturation(float* data, unsigned int width, unsigned int height, float saturation);
- 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);
- HDRIP_API 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
|