Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
8525fb07
Commit
8525fb07
authored
Sep 06, 2013
by
Roman Donchenko
Committed by
OpenCV Buildbot
Sep 06, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1406 from SpecLad:gpu-resize-warn
parents
bfd84dc5
7d62fdc6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
resize.cu
modules/gpu/src/cuda/resize.cu
+2
-2
No files found.
modules/gpu/src/cuda/resize.cu
View file @
8525fb07
...
...
@@ -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);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment