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
460e9bf0
Commit
460e9bf0
authored
Jun 25, 2017
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
videoio: drop changes from legacy C-API header
parent
23f4bff7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
videoio.hpp
modules/videoio/include/opencv2/videoio.hpp
+1
-1
videoio_c.h
modules/videoio/include/opencv2/videoio/videoio_c.h
+1
-2
cap.cpp
modules/videoio/src/cap.cpp
+1
-1
No files found.
modules/videoio/include/opencv2/videoio.hpp
View file @
460e9bf0
...
...
@@ -115,7 +115,7 @@ enum VideoCaptureAPIs {
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_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
};
...
...
modules/videoio/include/opencv2/videoio/videoio_c.h
View file @
460e9bf0
...
...
@@ -124,8 +124,7 @@ enum
CV_CAP_FFMPEG
=
1900
,
// FFMPEG
CV_CAP_IMAGES
=
2000
,
// OpenCV Image Sequence (e.g. img_%02d.jpg)
CV_CAP_ARAVIS
=
2100
,
// Aravis GigE SDK
CV_CAP_OCV_MJPEG
=
2200
// Built-in MotionJPEG codec
CV_CAP_ARAVIS
=
2100
// Aravis GigE SDK
};
/** @brief start capturing frames from camera: index = camera_index + domain_offset (CV_CAP_*)
...
...
modules/videoio/src/cap.cpp
View file @
460e9bf0
...
...
@@ -575,7 +575,7 @@ static Ptr<IVideoWriter> IVideoWriter_create(const String& filename, int apiPref
}
#endif
if
(
(
apiPreference
==
CAP_OCV_MJPEG
||
apiPreference
==
CAP_ANY
)
if
(
(
apiPreference
==
CAP_O
PEN
CV_MJPEG
||
apiPreference
==
CAP_ANY
)
&&
_fourcc
==
CV_FOURCC
(
'M'
,
'J'
,
'P'
,
'G'
)
)
iwriter
=
createMotionJpegWriter
(
filename
,
fps
,
frameSize
,
isColor
);
...
...
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