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
57bff43a
Commit
57bff43a
authored
Jul 31, 2015
by
Vladimir Dudnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed not initialized nv12_cpu_copy surface, remove odd code
parent
157c94c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
d3d11_interop.cpp
samples/directx/d3d11_interop.cpp
+1
-0
d3dsample.hpp
samples/directx/d3dsample.hpp
+4
-4
No files found.
samples/directx/d3d11_interop.cpp
View file @
57bff43a
...
...
@@ -111,6 +111,7 @@ public:
m_pSurfaceRGBA
=
0
;
m_pSurfaceNV12
=
0
;
m_pSurfaceNV12_cpu_copy
=
0
;
D3D11_TEXTURE2D_DESC
desc_rgba
;
...
...
samples/directx/d3dsample.hpp
View file @
57bff43a
...
...
@@ -175,10 +175,10 @@ static const char* keys =
template
<
typename
TApp
>
int
d3d_app
(
int
argc
,
char
**
argv
,
std
::
string
&
title
)
{
cv
::
CommandLineParser
parser
(
argc
,
argv
,
keys
);
\
bool
useCamera
=
parser
.
has
(
"camera"
);
\
string
file
=
parser
.
get
<
string
>
(
"file"
);
\
bool
showHelp
=
parser
.
get
<
bool
>
(
"help"
);
\
cv
::
CommandLineParser
parser
(
argc
,
argv
,
keys
);
bool
useCamera
=
parser
.
has
(
"camera"
);
string
file
=
parser
.
get
<
string
>
(
"file"
);
bool
showHelp
=
parser
.
get
<
bool
>
(
"help"
);
if
(
showHelp
)
help
();
...
...
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