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
fd7b058b
Commit
fd7b058b
authored
Nov 18, 2010
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DataType::generic renamed to DataType::generic_type (ticket #681)
parent
11c0c5bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
21 deletions
+21
-21
core.hpp
modules/core/include/opencv2/core/core.hpp
+21
-21
No files found.
modules/core/include/opencv2/core/core.hpp
View file @
fd7b058b
...
@@ -973,7 +973,7 @@ public:
...
@@ -973,7 +973,7 @@ public:
typedef
value_type
channel_type
;
typedef
value_type
channel_type
;
typedef
value_type
vec_type
;
typedef
value_type
vec_type
;
enum
{
generic
=
1
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
1
,
enum
{
generic
_type
=
1
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
1
,
fmt
=
DataDepth
<
channel_type
>::
fmt
,
fmt
=
DataDepth
<
channel_type
>::
fmt
,
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
};
};
...
@@ -985,7 +985,7 @@ public:
...
@@ -985,7 +985,7 @@ public:
typedef
int
work_type
;
typedef
int
work_type
;
typedef
value_type
channel_type
;
typedef
value_type
channel_type
;
typedef
value_type
vec_type
;
typedef
value_type
vec_type
;
enum
{
generic
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
1
,
enum
{
generic
_type
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
1
,
fmt
=
DataDepth
<
channel_type
>::
fmt
,
fmt
=
DataDepth
<
channel_type
>::
fmt
,
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
};
};
...
@@ -997,7 +997,7 @@ public:
...
@@ -997,7 +997,7 @@ public:
typedef
int
work_type
;
typedef
int
work_type
;
typedef
value_type
channel_type
;
typedef
value_type
channel_type
;
typedef
value_type
vec_type
;
typedef
value_type
vec_type
;
enum
{
generic
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
1
,
enum
{
generic
_type
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
1
,
fmt
=
DataDepth
<
channel_type
>::
fmt
,
fmt
=
DataDepth
<
channel_type
>::
fmt
,
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
};
};
...
@@ -1009,7 +1009,7 @@ public:
...
@@ -1009,7 +1009,7 @@ public:
typedef
int
work_type
;
typedef
int
work_type
;
typedef
value_type
channel_type
;
typedef
value_type
channel_type
;
typedef
value_type
vec_type
;
typedef
value_type
vec_type
;
enum
{
generic
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
1
,
enum
{
generic
_type
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
1
,
fmt
=
DataDepth
<
channel_type
>::
fmt
,
fmt
=
DataDepth
<
channel_type
>::
fmt
,
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
};
};
...
@@ -1021,7 +1021,7 @@ public:
...
@@ -1021,7 +1021,7 @@ public:
typedef
int
work_type
;
typedef
int
work_type
;
typedef
value_type
channel_type
;
typedef
value_type
channel_type
;
typedef
value_type
vec_type
;
typedef
value_type
vec_type
;
enum
{
generic
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
1
,
enum
{
generic
_type
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
1
,
fmt
=
DataDepth
<
channel_type
>::
fmt
,
fmt
=
DataDepth
<
channel_type
>::
fmt
,
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
};
};
...
@@ -1033,7 +1033,7 @@ public:
...
@@ -1033,7 +1033,7 @@ public:
typedef
int
work_type
;
typedef
int
work_type
;
typedef
value_type
channel_type
;
typedef
value_type
channel_type
;
typedef
value_type
vec_type
;
typedef
value_type
vec_type
;
enum
{
generic
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
1
,
enum
{
generic
_type
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
1
,
fmt
=
DataDepth
<
channel_type
>::
fmt
,
fmt
=
DataDepth
<
channel_type
>::
fmt
,
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
};
};
...
@@ -1045,7 +1045,7 @@ public:
...
@@ -1045,7 +1045,7 @@ public:
typedef
int
work_type
;
typedef
int
work_type
;
typedef
value_type
channel_type
;
typedef
value_type
channel_type
;
typedef
value_type
vec_type
;
typedef
value_type
vec_type
;
enum
{
generic
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
1
,
enum
{
generic
_type
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
1
,
fmt
=
DataDepth
<
channel_type
>::
fmt
,
fmt
=
DataDepth
<
channel_type
>::
fmt
,
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
};
};
...
@@ -1057,7 +1057,7 @@ public:
...
@@ -1057,7 +1057,7 @@ public:
typedef
value_type
work_type
;
typedef
value_type
work_type
;
typedef
value_type
channel_type
;
typedef
value_type
channel_type
;
typedef
value_type
vec_type
;
typedef
value_type
vec_type
;
enum
{
generic
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
1
,
enum
{
generic
_type
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
1
,
fmt
=
DataDepth
<
channel_type
>::
fmt
,
fmt
=
DataDepth
<
channel_type
>::
fmt
,
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
};
};
...
@@ -1069,7 +1069,7 @@ public:
...
@@ -1069,7 +1069,7 @@ public:
typedef
value_type
work_type
;
typedef
value_type
work_type
;
typedef
value_type
channel_type
;
typedef
value_type
channel_type
;
typedef
value_type
vec_type
;
typedef
value_type
vec_type
;
enum
{
generic
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
1
,
enum
{
generic
_type
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
1
,
fmt
=
DataDepth
<
channel_type
>::
fmt
,
fmt
=
DataDepth
<
channel_type
>::
fmt
,
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
};
};
...
@@ -1081,7 +1081,7 @@ public:
...
@@ -1081,7 +1081,7 @@ public:
typedef
value_type
work_type
;
typedef
value_type
work_type
;
typedef
value_type
channel_type
;
typedef
value_type
channel_type
;
typedef
value_type
vec_type
;
typedef
value_type
vec_type
;
enum
{
generic
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
1
,
enum
{
generic
_type
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
1
,
fmt
=
DataDepth
<
channel_type
>::
fmt
,
fmt
=
DataDepth
<
channel_type
>::
fmt
,
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
};
};
...
@@ -1093,7 +1093,7 @@ public:
...
@@ -1093,7 +1093,7 @@ public:
typedef
Vec
<
typename
DataType
<
_Tp
>::
work_type
,
cn
>
work_type
;
typedef
Vec
<
typename
DataType
<
_Tp
>::
work_type
,
cn
>
work_type
;
typedef
_Tp
channel_type
;
typedef
_Tp
channel_type
;
typedef
value_type
vec_type
;
typedef
value_type
vec_type
;
enum
{
generic
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
cn
,
enum
{
generic
_type
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
cn
,
fmt
=
((
channels
-
1
)
<<
8
)
+
DataDepth
<
channel_type
>::
fmt
,
fmt
=
((
channels
-
1
)
<<
8
)
+
DataDepth
<
channel_type
>::
fmt
,
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
};
};
...
@@ -1104,7 +1104,7 @@ public:
...
@@ -1104,7 +1104,7 @@ public:
typedef
std
::
complex
<
_Tp
>
value_type
;
typedef
std
::
complex
<
_Tp
>
value_type
;
typedef
value_type
work_type
;
typedef
value_type
work_type
;
typedef
_Tp
channel_type
;
typedef
_Tp
channel_type
;
enum
{
generic
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
2
,
enum
{
generic
_type
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
2
,
fmt
=
((
channels
-
1
)
<<
8
)
+
DataDepth
<
channel_type
>::
fmt
,
fmt
=
((
channels
-
1
)
<<
8
)
+
DataDepth
<
channel_type
>::
fmt
,
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
typedef
Vec
<
channel_type
,
channels
>
vec_type
;
typedef
Vec
<
channel_type
,
channels
>
vec_type
;
...
@@ -1116,7 +1116,7 @@ public:
...
@@ -1116,7 +1116,7 @@ public:
typedef
Complex
<
_Tp
>
value_type
;
typedef
Complex
<
_Tp
>
value_type
;
typedef
value_type
work_type
;
typedef
value_type
work_type
;
typedef
_Tp
channel_type
;
typedef
_Tp
channel_type
;
enum
{
generic
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
2
,
enum
{
generic
_type
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
2
,
fmt
=
((
channels
-
1
)
<<
8
)
+
DataDepth
<
channel_type
>::
fmt
,
fmt
=
((
channels
-
1
)
<<
8
)
+
DataDepth
<
channel_type
>::
fmt
,
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
typedef
Vec
<
channel_type
,
channels
>
vec_type
;
typedef
Vec
<
channel_type
,
channels
>
vec_type
;
...
@@ -1128,7 +1128,7 @@ public:
...
@@ -1128,7 +1128,7 @@ public:
typedef
Point_
<
_Tp
>
value_type
;
typedef
Point_
<
_Tp
>
value_type
;
typedef
Point_
<
typename
DataType
<
_Tp
>::
work_type
>
work_type
;
typedef
Point_
<
typename
DataType
<
_Tp
>::
work_type
>
work_type
;
typedef
_Tp
channel_type
;
typedef
_Tp
channel_type
;
enum
{
generic
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
2
,
enum
{
generic
_type
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
2
,
fmt
=
((
channels
-
1
)
<<
8
)
+
DataDepth
<
channel_type
>::
fmt
,
fmt
=
((
channels
-
1
)
<<
8
)
+
DataDepth
<
channel_type
>::
fmt
,
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
typedef
Vec
<
channel_type
,
channels
>
vec_type
;
typedef
Vec
<
channel_type
,
channels
>
vec_type
;
...
@@ -1140,7 +1140,7 @@ public:
...
@@ -1140,7 +1140,7 @@ public:
typedef
Point3_
<
_Tp
>
value_type
;
typedef
Point3_
<
_Tp
>
value_type
;
typedef
Point3_
<
typename
DataType
<
_Tp
>::
work_type
>
work_type
;
typedef
Point3_
<
typename
DataType
<
_Tp
>::
work_type
>
work_type
;
typedef
_Tp
channel_type
;
typedef
_Tp
channel_type
;
enum
{
generic
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
3
,
enum
{
generic
_type
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
3
,
fmt
=
((
channels
-
1
)
<<
8
)
+
DataDepth
<
channel_type
>::
fmt
,
fmt
=
((
channels
-
1
)
<<
8
)
+
DataDepth
<
channel_type
>::
fmt
,
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
typedef
Vec
<
channel_type
,
channels
>
vec_type
;
typedef
Vec
<
channel_type
,
channels
>
vec_type
;
...
@@ -1152,7 +1152,7 @@ public:
...
@@ -1152,7 +1152,7 @@ public:
typedef
Size_
<
_Tp
>
value_type
;
typedef
Size_
<
_Tp
>
value_type
;
typedef
Size_
<
typename
DataType
<
_Tp
>::
work_type
>
work_type
;
typedef
Size_
<
typename
DataType
<
_Tp
>::
work_type
>
work_type
;
typedef
_Tp
channel_type
;
typedef
_Tp
channel_type
;
enum
{
generic
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
2
,
enum
{
generic
_type
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
2
,
fmt
=
((
channels
-
1
)
<<
8
)
+
DataDepth
<
channel_type
>::
fmt
,
fmt
=
((
channels
-
1
)
<<
8
)
+
DataDepth
<
channel_type
>::
fmt
,
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
typedef
Vec
<
channel_type
,
channels
>
vec_type
;
typedef
Vec
<
channel_type
,
channels
>
vec_type
;
...
@@ -1164,7 +1164,7 @@ public:
...
@@ -1164,7 +1164,7 @@ public:
typedef
Rect_
<
_Tp
>
value_type
;
typedef
Rect_
<
_Tp
>
value_type
;
typedef
Rect_
<
typename
DataType
<
_Tp
>::
work_type
>
work_type
;
typedef
Rect_
<
typename
DataType
<
_Tp
>::
work_type
>
work_type
;
typedef
_Tp
channel_type
;
typedef
_Tp
channel_type
;
enum
{
generic
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
4
,
enum
{
generic
_type
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
4
,
fmt
=
((
channels
-
1
)
<<
8
)
+
DataDepth
<
channel_type
>::
fmt
,
fmt
=
((
channels
-
1
)
<<
8
)
+
DataDepth
<
channel_type
>::
fmt
,
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
typedef
Vec
<
channel_type
,
channels
>
vec_type
;
typedef
Vec
<
channel_type
,
channels
>
vec_type
;
...
@@ -1176,7 +1176,7 @@ public:
...
@@ -1176,7 +1176,7 @@ public:
typedef
Scalar_
<
_Tp
>
value_type
;
typedef
Scalar_
<
_Tp
>
value_type
;
typedef
Scalar_
<
typename
DataType
<
_Tp
>::
work_type
>
work_type
;
typedef
Scalar_
<
typename
DataType
<
_Tp
>::
work_type
>
work_type
;
typedef
_Tp
channel_type
;
typedef
_Tp
channel_type
;
enum
{
generic
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
4
,
enum
{
generic
_type
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
4
,
fmt
=
((
channels
-
1
)
<<
8
)
+
DataDepth
<
channel_type
>::
fmt
,
fmt
=
((
channels
-
1
)
<<
8
)
+
DataDepth
<
channel_type
>::
fmt
,
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
typedef
Vec
<
channel_type
,
channels
>
vec_type
;
typedef
Vec
<
channel_type
,
channels
>
vec_type
;
...
@@ -1188,14 +1188,14 @@ public:
...
@@ -1188,14 +1188,14 @@ public:
typedef
Range
value_type
;
typedef
Range
value_type
;
typedef
value_type
work_type
;
typedef
value_type
work_type
;
typedef
int
channel_type
;
typedef
int
channel_type
;
enum
{
generic
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
2
,
enum
{
generic
_type
=
0
,
depth
=
DataDepth
<
channel_type
>::
value
,
channels
=
2
,
fmt
=
((
channels
-
1
)
<<
8
)
+
DataDepth
<
channel_type
>::
fmt
,
fmt
=
((
channels
-
1
)
<<
8
)
+
DataDepth
<
channel_type
>::
fmt
,
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
type
=
CV_MAKETYPE
(
depth
,
channels
)
};
typedef
Vec
<
channel_type
,
channels
>
vec_type
;
typedef
Vec
<
channel_type
,
channels
>
vec_type
;
};
};
////////////////////
Generic
ref-counting pointer class for C/C++ objects ////////////////////////
////////////////////
generic_type
ref-counting pointer class for C/C++ objects ////////////////////////
/*!
/*!
Smart pointer to dynamically allocated objects.
Smart pointer to dynamically allocated objects.
...
@@ -3167,7 +3167,7 @@ public:
...
@@ -3167,7 +3167,7 @@ public:
//@{
//@{
/*!
/*!
specialized variants for 1D, 2D, 3D cases and the generic one for n-D case.
specialized variants for 1D, 2D, 3D cases and the generic
_type
one for n-D case.
return pointer to the matrix element.
return pointer to the matrix element.
<ul>
<ul>
...
...
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