GPU resize: removed a few parameter names to avoid unused parameter warnings.
authorRoman Donchenko <roman.donchenko@itseez.com>
Fri, 6 Sep 2013 08:46:58 +0000 (12:46 +0400)
committerRoman Donchenko <roman.donchenko@itseez.com>
Fri, 6 Sep 2013 08:46:58 +0000 (12:46 +0400)
modules/gpu/src/cuda/resize.cu

index dc9f462d169aae524df1d4f3ef35423bb313660d..110e62d036e35e2dc337d522e294888af477f60d 100644 (file)
@@ -194,7 +194,7 @@ namespace cv { namespace gpu { namespace device
     }
 
     template <typename T>
-    void call_resize_nearest_tex(const PtrStepSz<T>& src, const PtrStepSz<T>& srcWhole, int yoff, int xoff, const PtrStepSz<T>& dst, float fy, float fx)
+    void call_resize_nearest_tex(const PtrStepSz<T>& /*src*/, const PtrStepSz<T>& srcWhole, int yoff, int xoff, const PtrStepSz<T>& dst, float fy, float fx)
     {
         const dim3 block(32, 8);
         const dim3 grid(divUp(dst.cols, block.x), divUp(dst.rows, block.y));
@@ -301,7 +301,7 @@ namespace cv { namespace gpu { namespace device
 
     template <typename T> struct ResizeNearestDispatcher
     {
-        static void call(const PtrStepSz<T>& src, const PtrStepSz<T>& srcWhole, int yoff, int xoff, const PtrStepSz<T>& dst, float fy, float fx, cudaStream_t stream)
+        static void call(const PtrStepSz<T>& src, const PtrStepSz<T>& /*srcWhole*/, int /*yoff*/, int /*xoff*/, const PtrStepSz<T>& dst, float fy, float fx, cudaStream_t stream)
         {
             call_resize_nearest_glob(src, dst, fy, fx, stream);
         }