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
b3cd2448
Commit
b3cd2448
authored
Jun 26, 2017
by
Maksim Shabunin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8985 from alalek:update_videoio
parents
c60b7d76
d7597a86
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
5 deletions
+6
-5
videoio.hpp
modules/videoio/include/opencv2/videoio.hpp
+1
-1
videoio_c.h
modules/videoio/include/opencv2/videoio/videoio_c.h
+1
-2
gen_dict.json
modules/videoio/misc/gen_dict.json
+2
-0
cap.cpp
modules/videoio/src/cap.cpp
+0
-0
cap_aravis.cpp
modules/videoio/src/cap_aravis.cpp
+1
-1
precomp.hpp
modules/videoio/src/precomp.hpp
+1
-1
No files found.
modules/videoio/include/opencv2/videoio.hpp
View file @
b3cd2448
...
@@ -115,7 +115,7 @@ enum VideoCaptureAPIs {
...
@@ -115,7 +115,7 @@ enum VideoCaptureAPIs {
CAP_FFMPEG
=
1900
,
//!< Open and record video file or stream using the FFMPEG library
CAP_FFMPEG
=
1900
,
//!< Open and record video file or stream using the FFMPEG library
CAP_IMAGES
=
2000
,
//!< OpenCV Image Sequence (e.g. img_%02d.jpg)
CAP_IMAGES
=
2000
,
//!< OpenCV Image Sequence (e.g. img_%02d.jpg)
CAP_ARAVIS
=
2100
,
//!< Aravis SDK
CAP_ARAVIS
=
2100
,
//!< Aravis SDK
CAP_O
CV_MJPEG
=
2200
,
//!< Built-in
MotionJPEG codec
CAP_O
PENCV_MJPEG
=
2200
,
//!< Built-in OpenCV
MotionJPEG codec
CAP_INTEL_MFX
=
2300
//!< Intel MediaSDK
CAP_INTEL_MFX
=
2300
//!< Intel MediaSDK
};
};
...
...
modules/videoio/include/opencv2/videoio/videoio_c.h
View file @
b3cd2448
...
@@ -124,8 +124,7 @@ enum
...
@@ -124,8 +124,7 @@ enum
CV_CAP_FFMPEG
=
1900
,
// FFMPEG
CV_CAP_FFMPEG
=
1900
,
// FFMPEG
CV_CAP_IMAGES
=
2000
,
// OpenCV Image Sequence (e.g. img_%02d.jpg)
CV_CAP_IMAGES
=
2000
,
// OpenCV Image Sequence (e.g. img_%02d.jpg)
CV_CAP_ARAVIS
=
2100
,
// Aravis GigE SDK
CV_CAP_ARAVIS
=
2100
// Aravis GigE SDK
CV_CAP_OCV_MJPEG
=
2200
// Built-in MotionJPEG codec
};
};
/** @brief start capturing frames from camera: index = camera_index + domain_offset (CV_CAP_*)
/** @brief start capturing frames from camera: index = camera_index + domain_offset (CV_CAP_*)
...
...
modules/videoio/misc/gen_dict.json
View file @
b3cd2448
{
{
"const_ignore_list"
:
[
"const_ignore_list"
:
[
"CV_CAP_OPENNI"
,
"CV_CAP_OPENNI"
,
"CV_CAP_OPENNI2"
,
"CV_CAP_PROP_OPENNI_"
,
"CV_CAP_PROP_OPENNI_"
,
"CV_CAP_INTELPERC"
,
"CV_CAP_INTELPERC"
,
"CV_CAP_PROP_INTELPERC_"
,
"CV_CAP_PROP_INTELPERC_"
,
...
@@ -20,6 +21,7 @@
...
@@ -20,6 +21,7 @@
"CV_CAP_UNICAP"
,
"CV_CAP_UNICAP"
,
"CV_CAP_DSHOW"
,
"CV_CAP_DSHOW"
,
"CV_CAP_PVAPI"
,
"CV_CAP_PVAPI"
,
"CV_CAP_ARAVIS"
,
"CV_CAP_PROP_DC1394_OFF"
,
"CV_CAP_PROP_DC1394_OFF"
,
"CV_CAP_PROP_DC1394_MODE_MANUAL"
,
"CV_CAP_PROP_DC1394_MODE_MANUAL"
,
"CV_CAP_PROP_DC1394_MODE_AUTO"
,
"CV_CAP_PROP_DC1394_MODE_AUTO"
,
...
...
modules/videoio/src/cap.cpp
View file @
b3cd2448
This diff is collapsed.
Click to expand it.
modules/videoio/src/cap_aravis.cpp
View file @
b3cd2448
...
@@ -109,7 +109,7 @@ public:
...
@@ -109,7 +109,7 @@ public:
virtual
IplImage
*
retrieveFrame
(
int
);
virtual
IplImage
*
retrieveFrame
(
int
);
virtual
int
getCaptureDomain
()
virtual
int
getCaptureDomain
()
{
{
return
CV_
CAP_ARAVIS
;
return
cv
::
CAP_ARAVIS
;
}
}
protected
:
protected
:
...
...
modules/videoio/src/precomp.hpp
View file @
b3cd2448
...
@@ -90,7 +90,7 @@ struct CvCapture
...
@@ -90,7 +90,7 @@ struct CvCapture
virtual
bool
setProperty
(
int
,
double
)
{
return
0
;
}
virtual
bool
setProperty
(
int
,
double
)
{
return
0
;
}
virtual
bool
grabFrame
()
{
return
true
;
}
virtual
bool
grabFrame
()
{
return
true
;
}
virtual
IplImage
*
retrieveFrame
(
int
)
{
return
0
;
}
virtual
IplImage
*
retrieveFrame
(
int
)
{
return
0
;
}
virtual
int
getCaptureDomain
()
{
return
CV_CAP_ANY
;
}
// Return the type of the capture object: CV_
CAP_VFW, etc...
virtual
int
getCaptureDomain
()
{
return
cv
::
CAP_ANY
;
}
// Return the type of the capture object:
CAP_VFW, etc...
};
};
/*************************** CvVideoWriter structure ****************************/
/*************************** CvVideoWriter structure ****************************/
...
...
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