Reduce image16.h dependencies

This commit is contained in:
Ingo Weyrich
2019-10-28 21:03:45 +01:00
parent 20726d5bfe
commit 54b6b53e12
7 changed files with 5 additions and 10 deletions

View File

@@ -22,7 +22,6 @@
#include "rtengine.h" #include "rtengine.h"
#include "improcfun.h" #include "improcfun.h"
#include "image8.h" #include "image8.h"
#include "image16.h"
#include "imagesource.h" #include "imagesource.h"
#include "procevents.h" #include "procevents.h"
#include "pipettebuffer.h" #include "pipettebuffer.h"

View File

@@ -16,11 +16,12 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with RawTherapee. If not, see <https://www.gnu.org/licenses/>. * along with RawTherapee. If not, see <https://www.gnu.org/licenses/>.
*/ */
#include <cstdio>
#include "image16.h" #include "image16.h"
#include "imagefloat.h" #include "imagefloat.h"
#include "image8.h" #include "image8.h"
#include <cstdio> #include "rt_math.h"
#include "rtengine.h"
namespace namespace
{ {

View File

@@ -19,11 +19,9 @@
// //
// A class representing a 16 bit rgb image with separate planes and 16 byte aligned data // A class representing a 16 bit rgb image with separate planes and 16 byte aligned data
// //
#ifndef _IMAGE16_ #pragma once
#define _IMAGE16_
#include "imageio.h" #include "imageio.h"
#include "rtengine.h"
namespace rtengine namespace rtengine
{ {
@@ -109,4 +107,3 @@ public:
}; };
} }
#endif

View File

@@ -26,7 +26,6 @@
#include "colortemp.h" #include "colortemp.h"
#include "coord2d.h" #include "coord2d.h"
#include "dcp.h" #include "dcp.h"
#include "image16.h"
#include "image8.h" #include "image8.h"
#include "imagedata.h" #include "imagedata.h"
#include "LUT.h" #include "LUT.h"

View File

@@ -24,7 +24,6 @@
#include "rtengine.h" #include "rtengine.h"
#include "improcfun.h" #include "improcfun.h"
#include "image8.h" #include "image8.h"
#include "image16.h"
#include "imagesource.h" #include "imagesource.h"
#include "procevents.h" #include "procevents.h"
#include "dcrop.h" #include "dcrop.h"

View File

@@ -19,7 +19,6 @@
#ifndef _IMPROCFUN_H_ #ifndef _IMPROCFUN_H_
#define _IMPROCFUN_H_ #define _IMPROCFUN_H_
#include "image16.h"
#include "image8.h" #include "image8.h"
#include "shmap.h" #include "shmap.h"
#include "coord2d.h" #include "coord2d.h"

View File

@@ -21,6 +21,7 @@
#include "color.h" #include "color.h"
#include "curves.h" #include "curves.h"
#include "iccstore.h" #include "iccstore.h"
#include "image16.h"
#include "imagefloat.h" #include "imagefloat.h"
#include "imageio.h" #include "imageio.h"
#include "mytime.h" #include "mytime.h"