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
8eadc49a
Commit
8eadc49a
authored
Jun 09, 2012
by
Marina Kolpakova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed another one thousand warnings about uninitialized anomimnomous
parent
1e14d840
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
1 deletion
+29
-1
color_detail.hpp
modules/gpu/src/opencv2/gpu/device/detail/color_detail.hpp
+29
-1
No files found.
modules/gpu/src/opencv2/gpu/device/detail/color_detail.hpp
View file @
8eadc49a
...
...
@@ -780,6 +780,8 @@ namespace cv { namespace gpu { namespace device
return
dst
;
}
__device__
__forceinline__
RGB2XYZ
()
:
unary_function
<
typename
TypeVec
<
T
,
scn
>::
vec_type
,
typename
TypeVec
<
T
,
dcn
>::
vec_type
>
(){}
__device__
__forceinline__
RGB2XYZ
(
const
RGB2XYZ
&
other_
)
:
unary_function
<
typename
TypeVec
<
T
,
scn
>::
vec_type
,
typename
TypeVec
<
T
,
dcn
>::
vec_type
>
(){}
};
template
<
int
bidx
>
struct
RGB2XYZ
<
uchar
,
4
,
4
,
bidx
>
:
unary_function
<
uint
,
uint
>
{
...
...
@@ -787,6 +789,8 @@ namespace cv { namespace gpu { namespace device
{
return
RGB2XYZConvert
<
bidx
>
(
src
);
}
__device__
__forceinline__
RGB2XYZ
()
:
unary_function
<
uint
,
uint
>
(){}
__device__
__forceinline__
RGB2XYZ
(
const
RGB2XYZ
&
other_
)
:
unary_function
<
uint
,
uint
>
(){}
};
}
...
...
@@ -847,13 +851,18 @@ namespace cv { namespace gpu { namespace device
return
dst
;
}
__device__
__forceinline__
XYZ2RGB
()
:
unary_function
<
typename
TypeVec
<
T
,
scn
>::
vec_type
,
typename
TypeVec
<
T
,
dcn
>::
vec_type
>
(){}
__device__
__forceinline__
XYZ2RGB
(
const
XYZ2RGB
&
other_
)
:
unary_function
<
typename
TypeVec
<
T
,
scn
>::
vec_type
,
typename
TypeVec
<
T
,
dcn
>::
vec_type
>
(){}
};
template
<
int
bidx
>
struct
XYZ2RGB
<
uchar
,
4
,
4
,
bidx
>
:
unary_function
<
uint
,
uint
>
{
__device__
__forceinline__
uint
operator
()(
uint
src
)
const
{
return
XYZ2RGBConvert
<
bidx
>
(
src
);
}
__device__
__forceinline__
XYZ2RGB
()
:
unary_function
<
uint
,
uint
>
(){}
__device__
__forceinline__
XYZ2RGB
(
const
XYZ2RGB
&
other_
)
:
unary_function
<
uint
,
uint
>
(){}
};
}
...
...
@@ -977,13 +986,18 @@ namespace cv { namespace gpu { namespace device
return
dst
;
}
__device__
__forceinline__
RGB2HSV
()
:
unary_function
<
typename
TypeVec
<
T
,
scn
>::
vec_type
,
typename
TypeVec
<
T
,
dcn
>::
vec_type
>
(){}
__device__
__forceinline__
RGB2HSV
(
const
RGB2HSV
&
other_
)
:
unary_function
<
typename
TypeVec
<
T
,
scn
>::
vec_type
,
typename
TypeVec
<
T
,
dcn
>::
vec_type
>
(){}
};
template
<
int
bidx
,
int
hr
>
struct
RGB2HSV
<
uchar
,
4
,
4
,
bidx
,
hr
>
:
unary_function
<
uint
,
uint
>
{
__device__
__forceinline__
uint
operator
()(
uint
src
)
const
{
return
RGB2HSVConvert
<
bidx
,
hr
>
(
src
);
}
__device__
__forceinline__
RGB2HSV
()
:
unary_function
<
uint
,
uint
>
(){}
__device__
__forceinline__
RGB2HSV
(
const
RGB2HSV
&
other_
)
:
unary_function
<
uint
,
uint
>
(){}
};
}
...
...
@@ -1103,13 +1117,18 @@ namespace cv { namespace gpu { namespace device
return
dst
;
}
__device__
__forceinline__
HSV2RGB
()
:
unary_function
<
typename
TypeVec
<
T
,
scn
>::
vec_type
,
typename
TypeVec
<
T
,
dcn
>::
vec_type
>
(){}
__device__
__forceinline__
HSV2RGB
(
const
HSV2RGB
&
other_
)
:
unary_function
<
typename
TypeVec
<
T
,
scn
>::
vec_type
,
typename
TypeVec
<
T
,
dcn
>::
vec_type
>
(){}
};
template
<
int
bidx
,
int
hr
>
struct
HSV2RGB
<
uchar
,
4
,
4
,
bidx
,
hr
>
:
unary_function
<
uint
,
uint
>
{
__device__
__forceinline__
uint
operator
()(
uint
src
)
const
{
return
HSV2RGBConvert
<
bidx
,
hr
>
(
src
);
}
__device__
__forceinline__
HSV2RGB
()
:
unary_function
<
uint
,
uint
>
(){}
__device__
__forceinline__
HSV2RGB
(
const
HSV2RGB
&
other_
)
:
unary_function
<
uint
,
uint
>
(){}
};
}
...
...
@@ -1228,13 +1247,18 @@ namespace cv { namespace gpu { namespace device
return
dst
;
}
__device__
__forceinline__
RGB2HLS
()
:
unary_function
<
typename
TypeVec
<
T
,
scn
>::
vec_type
,
typename
TypeVec
<
T
,
dcn
>::
vec_type
>
(){}
__device__
__forceinline__
RGB2HLS
(
const
RGB2HLS
&
other_
)
:
unary_function
<
typename
TypeVec
<
T
,
scn
>::
vec_type
,
typename
TypeVec
<
T
,
dcn
>::
vec_type
>
(){}
};
template
<
int
bidx
,
int
hr
>
struct
RGB2HLS
<
uchar
,
4
,
4
,
bidx
,
hr
>
:
unary_function
<
uint
,
uint
>
{
__device__
__forceinline__
uint
operator
()(
uint
src
)
const
{
return
RGB2HLSConvert
<
bidx
,
hr
>
(
src
);
}
__device__
__forceinline__
RGB2HLS
()
:
unary_function
<
uint
,
uint
>
(){}
__device__
__forceinline__
RGB2HLS
(
const
RGB2HLS
&
other_
)
:
unary_function
<
uint
,
uint
>
(){}
};
}
...
...
@@ -1360,14 +1384,18 @@ namespace cv { namespace gpu { namespace device
return
dst
;
}
__device__
__forceinline__
HLS2RGB
()
:
unary_function
<
typename
TypeVec
<
T
,
scn
>::
vec_type
,
typename
TypeVec
<
T
,
dcn
>::
vec_type
>
(){}
__device__
__forceinline__
HLS2RGB
(
const
HLS2RGB
&
other_
)
:
unary_function
<
typename
TypeVec
<
T
,
scn
>::
vec_type
,
typename
TypeVec
<
T
,
dcn
>::
vec_type
>
(){}
};
template
<
int
bidx
,
int
hr
>
struct
HLS2RGB
<
uchar
,
4
,
4
,
bidx
,
hr
>
:
unary_function
<
uint
,
uint
>
{
__device__
__forceinline__
uint
operator
()(
uint
src
)
const
{
return
HLS2RGBConvert
<
bidx
,
hr
>
(
src
);
}
__device__
__forceinline__
HLS2RGB
()
:
unary_function
<
uint
,
uint
>
(){}
__device__
__forceinline__
HLS2RGB
(
const
HLS2RGB
&
other_
)
:
unary_function
<
uint
,
uint
>
(){}
};
}
...
...
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