Forward declare CieImage

This commit is contained in:
Ingo Weyrich 2019-10-28 15:43:58 +01:00
parent 66191609d6
commit eaf0eeff4e
11 changed files with 15 additions and 12 deletions

View File

@ -29,6 +29,7 @@
#include "gauss.h"
#include "improcfun.h"
#include "cieimage.h"
#include "sleef.c"
#include "../rtgui/myflatcurve.h"
#include "rt_math.h"

View File

@ -1,5 +1,7 @@
#include "cieimage.h"
#include <memory.h>
#include <new>
#include <cstring>
namespace rtengine
{
@ -10,7 +12,6 @@ CieImage::CieImage (int w, int h) : fromImage(false), W(w), H(h)
M_p = new float*[H];
C_p = new float*[H];
sh_p = new float*[H];
// ch_p = new float*[H];
h_p = new float*[H];
// Initialize the pointers to zero
@ -98,9 +99,6 @@ CieImage::CieImage (int w, int h) : fromImage(false), W(w), H(h)
++c;
// for (int i=0; i<H; i++)
// ch_p[i] = data[c] + i*W;
// ++c;
for (int i = 0; i < H; i++) {
h_p[i] = data[c] + i * W;
}

View File

@ -16,10 +16,8 @@
* You should have received a copy of the GNU General Public License
* along with RawTherapee. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef _CIEIMAGE_H_
#define _CIEIMAGE_H_
#pragma once
#include "image16.h"
#include "noncopyable.h"
namespace rtengine
@ -39,7 +37,6 @@ public:
float** M_p;
float** C_p;
float** sh_p;
// float** ch_p;
float** h_p;
CieImage (int w, int h);
@ -50,4 +47,3 @@ public:
};
}
#endif

View File

@ -17,6 +17,8 @@
* You should have received a copy of the GNU General Public License
* along with RawTherapee. If not, see <https://www.gnu.org/licenses/>.
*/
#include "cieimage.h"
#include "curves.h"
#include "dcrop.h"
#include "mytime.h"

View File

@ -20,6 +20,8 @@
#include <cstddef>
#include <cmath>
#include "cieimage.h"
#include "improcfun.h"
#include "array2D.h"
#include "rt_math.h"

View File

@ -17,6 +17,7 @@
* along with RawTherapee. If not, see <https://www.gnu.org/licenses/>.
*/
#include "improccoordinator.h"
#include "cieimage.h"
#include "curves.h"
#include "mytime.h"
#include "refreshmap.h"

View File

@ -24,6 +24,7 @@
#endif
#include "alignedbuffer.h"
#include "cieimage.h"
#include "rtengine.h"
#include "improcfun.h"
#include "curves.h"

View File

@ -26,7 +26,6 @@
#include "coord2d.h"
#include "color.h"
#include "labimage.h"
#include "cieimage.h"
#include "LUT.h"
#include "lcp.h"
#include "dcp.h"
@ -36,7 +35,7 @@
namespace rtengine
{
class CieImage;
class wavelet_decomposition;
namespace procparams

View File

@ -18,6 +18,7 @@
*/
#include "improcfun.h"
#include "cieimage.h"
#include "gauss.h"
#include "bilateral2.h"
#include "jaggedarray.h"

View File

@ -16,6 +16,7 @@
* You should have received a copy of the GNU General Public License
* along with RawTherapee. If not, see <https://www.gnu.org/licenses/>.
*/
#include "cieimage.h"
#include "rtengine.h"
#include "rtthumbnail.h"
#include "../rtgui/options.h"

View File

@ -16,6 +16,7 @@
* You should have received a copy of the GNU General Public License
* along with RawTherapee. If not, see <https://www.gnu.org/licenses/>.
*/
#include "cieimage.h"
#include "rtengine.h"
#include "colortemp.h"
#include "imagesource.h"