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
824ed8a3
Commit
824ed8a3
authored
Apr 03, 2014
by
vbystricky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix errors
parent
1b3651d8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
34 deletions
+1
-34
imgwarp.cpp
modules/imgproc/src/imgwarp.cpp
+0
-33
sumpixels.cpp
modules/imgproc/src/sumpixels.cpp
+1
-1
No files found.
modules/imgproc/src/imgwarp.cpp
View file @
824ed8a3
...
...
@@ -1929,7 +1929,6 @@ public:
dstSize
.
width
=
dst
.
cols
;
dstSize
.
height
=
dst
.
rows
;
<<<<<<<
HEAD
switch
(
type
)
{
case
CV_8UC1
:
SET_IPP_RESIZE_PTR
(
8u
,
C1
);
break
;
...
...
@@ -1981,38 +1980,6 @@ public:
if
(
func
(
pSrc
,
(
int
)
src
.
step
[
0
],
pDst
,
(
int
)
dst
.
step
[
0
],
dstOffset
,
dstSize
,
ippBorderRepl
,
0
,
pSpec
,
bufptr
)
<
0
)
*
ok
=
false
;
}
=======
~
IPPresizeInvoker
()
{
}
virtual
void
operator
()
(
const
Range
&
range
)
const
{
if
(
*
ok
==
false
)
return
;
int
cn
=
src
.
channels
();
int
dsty
=
min
(
cvRound
(
range
.
start
*
inv_scale_y
),
dst
.
rows
);
int
dstwidth
=
min
(
cvRound
(
src
.
cols
*
inv_scale_x
),
dst
.
cols
);
int
dstheight
=
min
(
cvRound
(
range
.
end
*
inv_scale_y
),
dst
.
rows
);
IppiPoint
dstOffset
=
{
0
,
dsty
},
srcOffset
=
{
0
,
0
};
IppiSize
dstSize
=
{
dstwidth
,
dstheight
-
dsty
};
int
bufsize
=
0
,
itemSize
=
(
int
)
src
.
elemSize1
();
CHECK_IPP_STATUS
(
getBufferSizeFunc
(
pSpec
,
dstSize
,
cn
,
&
bufsize
));
CHECK_IPP_STATUS
(
getSrcOffsetFunc
(
pSpec
,
dstOffset
,
&
srcOffset
));
Ipp8u
*
pSrc
=
(
Ipp8u
*
)
src
.
data
+
(
int
)
src
.
step
[
0
]
*
srcOffset
.
y
+
srcOffset
.
x
*
cn
*
itemSize
;
Ipp8u
*
pDst
=
(
Ipp8u
*
)
dst
.
data
+
(
int
)
dst
.
step
[
0
]
*
dstOffset
.
y
+
dstOffset
.
x
*
cn
*
itemSize
;
AutoBuffer
<
uchar
>
buf
(
bufsize
+
64
);
uchar
*
bufptr
=
alignPtr
((
uchar
*
)
buf
,
32
);
if
(
func
(
pSrc
,
(
int
)
src
.
step
[
0
],
pDst
,
(
int
)
dst
.
step
[
0
],
dstOffset
,
dstSize
,
ippBorderRepl
,
0
,
pSpec
,
bufptr
)
<
0
)
*
ok
=
false
;
}
>>>>>>>
Prepare
codes
for
ippicv
library
private
:
const
Mat
&
src
;
Mat
&
dst
;
...
...
modules/imgproc/src/sumpixels.cpp
View file @
824ed8a3
...
...
@@ -362,7 +362,7 @@ void cv::integral( InputArray _src, OutputArray _sum, OutputArray _sqsum, Output
sqsum
=
_sqsum
.
getMat
();
};
#if defined (HAVE_IPP) && (IPP_VERSION_MAJOR >= 7)
&& 0
#if defined (HAVE_IPP) && (IPP_VERSION_MAJOR >= 7)
if
(
(
depth
==
CV_8U
)
&&
(
sdepth
==
CV_32F
||
sdepth
==
CV_32S
)
&&
(
!
_tilted
.
needed
()
)
&&
(
!
_sqsum
.
needed
()
||
sqdepth
==
CV_64F
)
&&
(
cn
==
1
)
)
{
IppStatus
status
=
ippStsErr
;
...
...
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