Clean-up.
[GPU.git] / WCudaMSE / Student_OMP_Image / src / cpp / core / 01_Rippling / b_moo / RipplingMOO.cpp
index 18f672d..18f7e3b 100755 (executable)
@@ -49,10 +49,10 @@ RipplingMOO::~RipplingMOO(void)
 
 void RipplingMOO::process(uchar4* ptrTabPixels, int w, int h) // Pourquoi w et h ne sont pas utilisé??
     {
-    if (this->isEntrelacement)x
-       this->entrelacementOMP(ptrTabPixels); // Plus lent
+    if (this->isEntrelacement)
+       this->entrelacementOMP(ptrTabPixels); // Plus lent.
     else
-       this->forAutoOMP(ptrTabPixels); // Plus rapide
+       this->forAutoOMP(ptrTabPixels); // Plus rapide.
 
     this->isEntrelacement = ! this->isEntrelacement; // Pour tester que les deux implementations fonctionnent
     }
@@ -109,14 +109,12 @@ void RipplingMOO::forAutoOMP(uchar4* ptrTabPixels)
 
 #pragma omp parallel for
     for (int i = 0; i < h; i++)
-       {
        for (int j = 0; j < w; j++)
            {
            // int s = i * W + j;
            const int s = IndiceTools::toS(w, i, j);    // i[0,H[ j[0,W[  --> s[0,W*H[
            ripplingMath.colorIJ(&ptrTabPixels[s], i, j,t);
            }
-       }
     }
 
 /*----------------------------------------------------------------------*\