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
d041b0a5
Commit
d041b0a5
authored
6 years ago
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
videoio: fix capture modes
parent
b2cff440
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
videoio_registry.cpp
modules/videoio/src/videoio_registry.cpp
+8
-8
No files found.
modules/videoio/src/videoio_registry.cpp
View file @
d041b0a5
...
...
@@ -70,7 +70,7 @@ static const struct VideoBackendInfo builtin_backends[] =
// Windows
#ifdef WINRT_VIDEO
DECLARE_BACKEND
(
CAP_WINRT
,
"WINRT"
,
MODE_CAPTURE_BY_
FILENAME
),
DECLARE_BACKEND
(
CAP_WINRT
,
"WINRT"
,
MODE_CAPTURE_BY_
INDEX
),
#endif
#ifdef HAVE_MSMF
DECLARE_BACKEND
(
CAP_MSMF
,
"MSMF"
,
MODE_CAPTURE_ALL
|
MODE_WRITER
),
...
...
@@ -79,7 +79,7 @@ static const struct VideoBackendInfo builtin_backends[] =
DECLARE_BACKEND
(
CAP_VFW
,
"VFW"
,
MODE_CAPTURE_ALL
|
MODE_WRITER
),
#endif
#ifdef HAVE_DSHOW
DECLARE_BACKEND
(
CAP_DSHOW
,
"DSHOW"
,
MODE_CAPTURE_
ALL
),
DECLARE_BACKEND
(
CAP_DSHOW
,
"DSHOW"
,
MODE_CAPTURE_
BY_INDEX
),
#endif
// Linux, some Unix
...
...
@@ -98,7 +98,7 @@ static const struct VideoBackendInfo builtin_backends[] =
DECLARE_BACKEND
(
CAP_OPENNI2
,
"OPENNI2"
,
MODE_CAPTURE_ALL
),
#endif
#ifdef HAVE_INTELPERC
DECLARE_BACKEND
(
CAP_INTELPERC
,
"INTEL_PERC"
,
MODE_CAPTURE_
ALL
),
DECLARE_BACKEND
(
CAP_INTELPERC
,
"INTEL_PERC"
,
MODE_CAPTURE_
BY_INDEX
),
#endif
// OpenCV file-based only
...
...
@@ -107,23 +107,23 @@ static const struct VideoBackendInfo builtin_backends[] =
// special interfaces / stereo cameras / other SDKs
#if defined(HAVE_DC1394_2) || defined(HAVE_DC1394) || defined(HAVE_CMU1394)
DECLARE_BACKEND
(
CAP_FIREWIRE
,
"FIREWIRE"
,
MODE_CAPTURE_
ALL
),
DECLARE_BACKEND
(
CAP_FIREWIRE
,
"FIREWIRE"
,
MODE_CAPTURE_
BY_INDEX
),
#endif
// GigE
#ifdef HAVE_PVAPI
DECLARE_BACKEND
(
CAP_PVAPI
,
"PVAPI"
,
MODE_CAPTURE_
ALL
),
DECLARE_BACKEND
(
CAP_PVAPI
,
"PVAPI"
,
MODE_CAPTURE_
BY_INDEX
),
#endif
#ifdef HAVE_XIMEA
DECLARE_BACKEND
(
CAP_XIAPI
,
"XIMEA"
,
MODE_CAPTURE_ALL
),
#endif
#ifdef HAVE_GIGE_API
DECLARE_BACKEND
(
CAP_GIGANETIX
,
"GIGANETIX"
,
MODE_CAPTURE_
ALL
),
DECLARE_BACKEND
(
CAP_GIGANETIX
,
"GIGANETIX"
,
MODE_CAPTURE_
BY_INDEX
),
#endif
#ifdef HAVE_ARAVIS_API
DECLARE_BACKEND
(
CAP_ARAVIS
,
"ARAVIS"
,
MODE_CAPTURE_
ALL
),
DECLARE_BACKEND
(
CAP_ARAVIS
,
"ARAVIS"
,
MODE_CAPTURE_
BY_INDEX
),
#endif
#ifdef HAVE_UNICAP
DECLARE_BACKEND
(
CAP_UNICAP
,
"UNICAP"
,
MODE_CAPTURE_BY_
FILENAME
),
DECLARE_BACKEND
(
CAP_UNICAP
,
"UNICAP"
,
MODE_CAPTURE_BY_
INDEX
),
#endif
#ifdef HAVE_GPHOTO2
...
...
This diff is collapsed.
Click to expand it.
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