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
4ce684e6
Commit
4ce684e6
authored
Dec 30, 2013
by
Roman Donchenko
Committed by
OpenCV Buildbot
Dec 30, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2087 from ilya-lavrenov:remap_sse2_cond
parents
6811d2ab
5db1754d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
imgwarp.cpp
modules/imgproc/src/imgwarp.cpp
+3
-3
No files found.
modules/imgproc/src/imgwarp.cpp
View file @
4ce684e6
...
...
@@ -2201,15 +2201,15 @@ struct RemapVec_8u
int
operator
()(
const
Mat
&
_src
,
void
*
_dst
,
const
short
*
XY
,
const
ushort
*
FXY
,
const
void
*
_wtab
,
int
width
)
const
{
int
cn
=
_src
.
channels
();
int
cn
=
_src
.
channels
()
,
x
=
0
,
sstep
=
(
int
)
_src
.
step
;
if
(
(
cn
!=
1
&&
cn
!=
3
&&
cn
!=
4
)
||
!
checkHardwareSupport
(
CV_CPU_SSE2
)
)
if
(
(
cn
!=
1
&&
cn
!=
3
&&
cn
!=
4
)
||
!
checkHardwareSupport
(
CV_CPU_SSE2
)
||
sstep
>
0x8000
)
return
0
;
const
uchar
*
S0
=
_src
.
data
,
*
S1
=
_src
.
data
+
_src
.
step
;
const
short
*
wtab
=
cn
==
1
?
(
const
short
*
)
_wtab
:
&
BilinearTab_iC4
[
0
][
0
][
0
];
uchar
*
D
=
(
uchar
*
)
_dst
;
int
x
=
0
,
sstep
=
(
int
)
_src
.
step
;
__m128i
delta
=
_mm_set1_epi32
(
INTER_REMAP_COEF_SCALE
/
2
);
__m128i
xy2ofs
=
_mm_set1_epi32
(
cn
+
(
sstep
<<
16
));
__m128i
z
=
_mm_setzero_si128
();
...
...
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