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
91d80d03
Commit
91d80d03
authored
Jul 15, 2016
by
Maksim Shabunin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6798 from tomoaki0705:featureSSEvideoAcc
parents
63d82904
3c2f7ecc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
accum.cpp
modules/imgproc/src/accum.cpp
+0
-0
test_accum.cpp
modules/video/test/test_accum.cpp
+3
-3
No files found.
modules/imgproc/src/accum.cpp
View file @
91d80d03
This diff is collapsed.
Click to expand it.
modules/video/test/test_accum.cpp
View file @
91d80d03
...
...
@@ -72,11 +72,11 @@ void CV_AccumBaseTest::get_test_array_types_and_sizes( int test_case_idx,
vector
<
vector
<
Size
>
>&
sizes
,
vector
<
vector
<
int
>
>&
types
)
{
RNG
&
rng
=
ts
->
get_rng
();
int
depth
=
cvtest
::
randInt
(
rng
)
%
3
,
cn
=
cvtest
::
randInt
(
rng
)
&
1
?
3
:
1
;
int
accdepth
=
std
::
max
((
int
)(
cvtest
::
randInt
(
rng
)
%
2
+
1
),
depth
);
int
depth
=
cvtest
::
randInt
(
rng
)
%
4
,
cn
=
cvtest
::
randInt
(
rng
)
&
1
?
3
:
1
;
int
accdepth
=
(
int
)(
cvtest
::
randInt
(
rng
)
%
2
+
1
);
int
i
,
input_count
=
(
int
)
test_array
[
INPUT
].
size
();
cvtest
::
ArrayTest
::
get_test_array_types_and_sizes
(
test_case_idx
,
sizes
,
types
);
depth
=
depth
==
0
?
CV_8U
:
depth
==
1
?
CV_32F
:
CV_64F
;
depth
=
depth
==
0
?
CV_8U
:
depth
==
1
?
CV_
16U
:
depth
==
2
?
CV_
32F
:
CV_64F
;
accdepth
=
accdepth
==
1
?
CV_32F
:
CV_64F
;
accdepth
=
MAX
(
accdepth
,
depth
);
...
...
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