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
d9164bdd
Commit
d9164bdd
authored
Nov 14, 2014
by
StevenPuttemans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added extra BUFFERSIZE doc and getter
parent
eedde323
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
reading_and_writing_images_and_video.rst
modules/highgui/doc/reading_and_writing_images_and_video.rst
+4
-0
cap_dc1394_v2.cpp
modules/highgui/src/cap_dc1394_v2.cpp
+2
-0
No files found.
modules/highgui/doc/reading_and_writing_images_and_video.rst
View file @
d9164bdd
...
...
@@ -410,6 +410,8 @@ Returns the specified ``VideoCapture`` property
* **CV_CAP_PROP_RECTIFICATION** Rectification flag for stereo cameras (note: only supported by DC1394 v 2.x backend currently)
* **CV_CAP_PROP_BUFFERSIZE** Amount of frames stored in internal buffer memory (note: only supported by DC1394 v 2.x backend currently)
**Note**: When querying a property that is not supported by the backend used by the ``VideoCapture`` class, value 0 is returned.
...
...
@@ -465,6 +467,8 @@ Sets a property in the ``VideoCapture``.
* **CV_CAP_PROP_RECTIFICATION** Rectification flag for stereo cameras (note: only supported by DC1394 v 2.x backend currently)
* **CV_CAP_PROP_BUFFERSIZE** Amount of frames stored in internal buffer memory (note: only supported by DC1394 v 2.x backend currently)
:param value: Value of the property.
...
...
modules/highgui/src/cap_dc1394_v2.cpp
View file @
d9164bdd
...
...
@@ -686,6 +686,8 @@ double CvCaptureCAM_DC1394_v2_CPP::getProperty(int propId)
break
;
case
CV_CAP_PROP_ISO_SPEED
:
return
(
double
)
isoSpeed
;
case
CV_CAP_PROP_BUFFERSIZE
:
return
(
double
)
nDMABufs
;
default
:
if
(
propId
<
CV_CAP_PROP_MAX_DC1394
&&
dc1394properties
[
propId
]
!=-
1
&&
dcCam
)
...
...
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