Fin du TP convolution. (Constant memory + Texture).
[GPU.git] / WCudaMSE / Student_Cuda_Image / src / cpp / core / 06_Convolution / moo / host / Convolution.h
index e67adc2..d952df8 100644 (file)
@@ -6,6 +6,8 @@
 #include "MathTools.h"
 #include "AleaTools.h"
 
+#include "ConvolutionDevice.h"
+
 class Convolution : public Animable_I
     {
     public:
@@ -17,7 +19,6 @@ class Convolution : public Animable_I
 
         int getW() /*override*/;
         int getH() /*override*/;
-
         float getT() /*override*/;
 
         std::string getTitle(void) /*override*/;
@@ -33,7 +34,9 @@ class Convolution : public Animable_I
 
         const std::string title;
 
-        static const float kernel[9][9];
+        uchar4* ptrDevImageSource;
+
+        static const float kernel[KERNEL_SIZE][KERNEL_SIZE];
     };
 
 #endif