From f46b7fcf86cf7659b6b7ef1d07ca4bc6e262eee4 Mon Sep 17 00:00:00 2001 From: Vladislav Vinogradov Date: Wed, 4 Sep 2013 11:15:18 +0400 Subject: [PATCH] fixed warnings in resize.cu --- modules/cudawarping/src/cuda/resize.cu | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/cudawarping/src/cuda/resize.cu b/modules/cudawarping/src/cuda/resize.cu index 8343feedd..dc91df383 100644 --- a/modules/cudawarping/src/cuda/resize.cu +++ b/modules/cudawarping/src/cuda/resize.cu @@ -194,7 +194,7 @@ namespace cv { namespace cuda { namespace device } template - void call_resize_nearest_tex(const PtrStepSz& src, const PtrStepSz& srcWhole, int yoff, int xoff, const PtrStepSz& dst, float fy, float fx) + void call_resize_nearest_tex(const PtrStepSz& /*src*/, const PtrStepSz& srcWhole, int yoff, int xoff, const PtrStepSz& 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 cuda { namespace device template struct ResizeNearestDispatcher { - static void call(const PtrStepSz& src, const PtrStepSz& srcWhole, int yoff, int xoff, const PtrStepSz& dst, float fy, float fx, cudaStream_t stream) + static void call(const PtrStepSz& src, const PtrStepSz& /*srcWhole*/, int /*yoff*/, int /*xoff*/, const PtrStepSz& dst, float fy, float fx, cudaStream_t stream) { call_resize_nearest_glob(src, dst, fy, fx, stream); } @@ -339,7 +339,7 @@ namespace cv { namespace cuda { namespace device template struct ResizeLinearDispatcher { - static void call(const PtrStepSz& src, const PtrStepSz& srcWhole, int yoff, int xoff, const PtrStepSz& dst, float fy, float fx, cudaStream_t stream) + static void call(const PtrStepSz& src, const PtrStepSz& /*srcWhole*/, int /*yoff*/, int /*xoff*/, const PtrStepSz& dst, float fy, float fx, cudaStream_t stream) { call_resize_linear_glob(src, dst, fy, fx, stream); } @@ -377,7 +377,7 @@ namespace cv { namespace cuda { namespace device template struct ResizeCubicDispatcher { - static void call(const PtrStepSz& src, const PtrStepSz& srcWhole, int yoff, int xoff, const PtrStepSz& dst, float fy, float fx, cudaStream_t stream) + static void call(const PtrStepSz& src, const PtrStepSz& /*srcWhole*/, int /*yoff*/, int /*xoff*/, const PtrStepSz& dst, float fy, float fx, cudaStream_t stream) { call_resize_cubic_glob(src, dst, fy, fx, stream); }