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
35014a97
Commit
35014a97
authored
Feb 02, 2016
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6048 from philippefoubert:ximea_bugfix
parents
e0baa021
43a1874e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
cap_ximea.cpp
modules/videoio/src/cap_ximea.cpp
+7
-7
No files found.
modules/videoio/src/cap_ximea.cpp
View file @
35014a97
...
...
@@ -2,7 +2,7 @@
#include "precomp.hpp"
#ifdef WIN32
#include
"xiApi.h"
#include
<xiApi.h>
#else
#include <m3api/xiApi.h>
#endif
...
...
@@ -19,7 +19,7 @@ public:
virtual
bool
open
(
int
index
);
virtual
void
close
();
virtual
double
getProperty
(
int
);
virtual
double
getProperty
(
int
)
const
;
virtual
bool
setProperty
(
int
,
double
);
virtual
bool
grabFrame
();
virtual
IplImage
*
retrieveFrame
(
int
);
...
...
@@ -27,9 +27,9 @@ public:
private
:
void
init
();
void
errMsg
(
const
char
*
msg
,
int
errNum
);
void
errMsg
(
const
char
*
msg
,
int
errNum
)
const
;
void
resetCvImage
();
int
ocvParamtoXimeaParam
(
int
value
);
int
ocvParamtoXimeaParam
(
int
value
)
const
;
IplImage
*
frame
;
HANDLE
hmv
;
...
...
@@ -284,7 +284,7 @@ void CvCaptureCAM_XIMEA::resetCvImage()
/**********************************************************************************/
int
CvCaptureCAM_XIMEA
::
ocvParamtoXimeaParam
(
int
property_id
)
int
CvCaptureCAM_XIMEA
::
ocvParamtoXimeaParam
(
int
property_id
)
const
{
XI_RETURN
stat
=
XI_OK
;
switch
(
property_id
)
...
...
@@ -963,7 +963,7 @@ bool CvCaptureCAM_XIMEA::setProperty( int property_id, double value )
/**********************************************************************************/
double
CvCaptureCAM_XIMEA
::
getProperty
(
int
property_id
)
double
CvCaptureCAM_XIMEA
::
getProperty
(
int
property_id
)
const
{
XI_RETURN
stat
=
XI_OK
;
double
getPropVal
=
0
;
...
...
@@ -1572,7 +1572,7 @@ double CvCaptureCAM_XIMEA::getProperty( int property_id )
/**********************************************************************************/
void
CvCaptureCAM_XIMEA
::
errMsg
(
const
char
*
msg
,
int
errNum
)
void
CvCaptureCAM_XIMEA
::
errMsg
(
const
char
*
msg
,
int
errNum
)
const
{
// with XI_OK there is nothing to report
if
(
errNum
==
XI_OK
)
return
;
...
...
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