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
fd93ae08
Commit
fd93ae08
authored
Apr 05, 2017
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8523 from mshabunin:fix-cvtcolor-ocl
parents
bd786f3b
ce50df56
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
cvtcolor.cl
modules/imgproc/src/opencl/cvtcolor.cl
+1
-7
No files found.
modules/imgproc/src/opencl/cvtcolor.cl
View file @
fd93ae08
...
...
@@ -132,16 +132,10 @@ enum
#
define
R_COMP
z
#
define
G_COMP
y
#
define
B_COMP
x
#
el
if
bidx
==
2
#
el
se
#
define
R_COMP
x
#
define
G_COMP
y
#
define
B_COMP
z
#
elif
bidx
==
3
//
The
only
kernel
that
uses
bidx
==
3
doesn
't
use
these
macros.
//
But
we
still
need
to
make
the
compiler
happy.
#
define
R_COMP
w
#
define
G_COMP
w
#
define
B_COMP
w
#
endif
#
ifndef
uidx
...
...
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