Reduce dcp.h dependencies

This commit is contained in:
Flössie
2019-10-30 09:30:21 +01:00
parent 81575a6e36
commit d7ec033829
27 changed files with 232 additions and 164 deletions

View File

@@ -16,27 +16,32 @@
* You should have received a copy of the GNU General Public License
* along with RawTherapee. If not, see <https://www.gnu.org/licenses/>.
*/
#include <fstream>
#include <iostream>
#include <string>
#include "improccoordinator.h"
#include "cieimage.h"
#include "color.h"
#include "colortemp.h"
#include "curves.h"
#include "dcp.h"
#include "iccstore.h"
#include "image8.h"
#include "imagefloat.h"
#include "labimage.h"
#include "curves.h"
#include "mytime.h"
#include "refreshmap.h"
#include "../rtgui/ppversion.h"
#include "colortemp.h"
#include "improcfun.h"
#include "iccstore.h"
#include "labimage.h"
#include "mytime.h"
#include "procparams.h"
#include <iostream>
#include <fstream>
#include <string>
#include "color.h"
#include "refreshmap.h"
#include "../rtgui/ppversion.h"
#ifdef _OPENMP
#include <omp.h>
#endif
namespace rtengine
{
@@ -736,7 +741,7 @@ void ImProcCoordinator::updatePreviewImage(int todo, bool panningRelatedChange)
double ggm = 33.;
double bbm = 33.;
DCPProfile::ApplyState as;
DCPProfileApplyState as;
DCPProfile *dcpProf = imgsrc->getDCP(params->icm, as);
ipf.rgbProc (oprevi, oprevl, nullptr, hltonecurve, shtonecurve, tonecurve, params->toneCurve.saturation,