Commit 8525fb07 authored by Roman Donchenko's avatar Roman Donchenko Committed by OpenCV Buildbot

Merge pull request #1406 from SpecLad:gpu-resize-warn

parents bfd84dc5 7d62fdc6
...@@ -194,7 +194,7 @@ namespace cv { namespace gpu { namespace device ...@@ -194,7 +194,7 @@ namespace cv { namespace gpu { namespace device
} }
template <typename T> 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 block(32, 8);
const dim3 grid(divUp(dst.cols, block.x), divUp(dst.rows, block.y)); const dim3 grid(divUp(dst.cols, block.x), divUp(dst.rows, block.y));
...@@ -301,7 +301,7 @@ namespace cv { namespace gpu { namespace device ...@@ -301,7 +301,7 @@ namespace cv { namespace gpu { namespace device
template <typename T> struct ResizeNearestDispatcher 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); call_resize_nearest_glob(src, dst, fy, fx, stream);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment