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
769d2f4c
Commit
769d2f4c
authored
Mar 28, 2019
by
smirnov-alexey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix valgrind issue in NV12 test
parent
332c37f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
gapi_imgproc_tests_inl.hpp
modules/gapi/test/common/gapi_imgproc_tests_inl.hpp
+2
-0
No files found.
modules/gapi/test/common/gapi_imgproc_tests_inl.hpp
View file @
769d2f4c
...
@@ -564,6 +564,7 @@ TEST_P(NV12toRGBTest, AccuracyTest)
...
@@ -564,6 +564,7 @@ TEST_P(NV12toRGBTest, AccuracyTest)
// Additional mat for uv
// Additional mat for uv
cv
::
Mat
in_mat_uv
(
cv
::
Size
(
sz
.
width
/
2
,
sz
.
height
/
2
),
CV_8UC2
);
cv
::
Mat
in_mat_uv
(
cv
::
Size
(
sz
.
width
/
2
,
sz
.
height
/
2
),
CV_8UC2
);
cv
::
randn
(
in_mat_uv
,
cv
::
Scalar
::
all
(
127
),
cv
::
Scalar
::
all
(
40.
f
));
cv
::
GComputation
c
(
cv
::
GIn
(
in_y
,
in_uv
),
cv
::
GOut
(
out
));
cv
::
GComputation
c
(
cv
::
GIn
(
in_y
,
in_uv
),
cv
::
GOut
(
out
));
c
.
apply
(
cv
::
gin
(
in_mat1
,
in_mat_uv
),
cv
::
gout
(
out_mat_gapi
),
std
::
move
(
compile_args
));
c
.
apply
(
cv
::
gin
(
in_mat1
,
in_mat_uv
),
cv
::
gout
(
out_mat_gapi
),
std
::
move
(
compile_args
));
...
@@ -594,6 +595,7 @@ TEST_P(NV12toBGRTest, AccuracyTest)
...
@@ -594,6 +595,7 @@ TEST_P(NV12toBGRTest, AccuracyTest)
// Additional mat for uv
// Additional mat for uv
cv
::
Mat
in_mat_uv
(
cv
::
Size
(
sz
.
width
/
2
,
sz
.
height
/
2
),
CV_8UC2
);
cv
::
Mat
in_mat_uv
(
cv
::
Size
(
sz
.
width
/
2
,
sz
.
height
/
2
),
CV_8UC2
);
cv
::
randn
(
in_mat_uv
,
cv
::
Scalar
::
all
(
127
),
cv
::
Scalar
::
all
(
40.
f
));
cv
::
GComputation
c
(
cv
::
GIn
(
in_y
,
in_uv
),
cv
::
GOut
(
out
));
cv
::
GComputation
c
(
cv
::
GIn
(
in_y
,
in_uv
),
cv
::
GOut
(
out
));
c
.
apply
(
cv
::
gin
(
in_mat1
,
in_mat_uv
),
cv
::
gout
(
out_mat_gapi
),
std
::
move
(
compile_args
));
c
.
apply
(
cv
::
gin
(
in_mat1
,
in_mat_uv
),
cv
::
gout
(
out_mat_gapi
),
std
::
move
(
compile_args
));
...
...
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