kurenai
c61f4e8863
return false from VideoCapture::grabFrame when camera is disconneted
9 years ago
Michael Shtutman
3f2ab5d3b5
Fix bug #6682 (Can't change resolution for YUY2 camera with DShow)
9 years ago
Maksim Shabunin
771af4f32d
Some changes to support mingw-w64
...
- IPP is disabled by default when compiler is mingw (couldn't make it
work)
- fixed some warnings
- fixed some `__GNUC__` version checks (for correctness and convenience)
- removed UTF-8 BOM from hough.cpp (fixes #5253 )
10 years ago
Martijn Liem
7e6947a940
Bugfix for bug #3767
...
Fixed a memory leak in cap_dshow.cpp in videoInput::setVideoSettingCamera(). The leak was caused by not releasing an IBaseFilter object created in a call to getDevice(). Tho object is now properly released.
Conflicts:
modules/highgui/src/cap_dshow.cpp
10 years ago
Prof. Dr. Rudolf Haussmann
9f1eb70dbc
Changes to be committed:
...
(use "git reset HEAD <file>..." to unstage)
modified: modules/java/generator/gen_java.py
modified: modules/videoio/include/opencv2/videoio.hpp
modified: modules/videoio/include/opencv2/videoio/videoio_c.h
modified: modules/videoio/src/cap_dshow.cpp
modified: modules/videoio/src/cap_pvapi.cpp
Following changes have been made:
1. Some minor bugs have been removed.
2. In the PvAPI module the option CAP_PROP_MONOCROME has been removed because
this option does not make sense and causes an error if a color camera is used.
3. Instead the new option CAP_PROP_PVAPI_PIXELFORMAT has been added which allows
to activate the different pixel formats (color modes) of an AVT camera.
4. Since there were two identical defines
CAP_PROP_MONOCROME = 19
CAP_PROP_MONOCHROME = 19
which were also used in the other module DSHOW, the first one with an orthographic
error has been removed in favor of the second one.
10 years ago
Artur Wieczorek
01717c83d7
Don't define destructors for COM-based interfaces.
10 years ago
Artur Wieczorek
854a722c70
Implement VideoCapture::get, CvCapture::getProperty, IVideoCapture::getProperty as constant methods.
10 years ago
Artur Wieczorek
dcbe797980
Include strsafe.h to compile successfully under MinGW in Debug mode.
10 years ago
Artur Wieczorek
ec93d103b7
Refactored code responsible for printing debug messages in DShow video capture module to reduce footprint in Release mode.
...
Replace printf function used for diagnostic purposes with dedicated DebugPrintOut function to output debug messages. This function is effective only in Debug mode and its body becomes empty in Release mode to reduce footprint.
10 years ago
Artur Wieczorek
c54928e003
Fixed getting CV_CAP_PROP_FOURCC property value
...
Save selected FCC in order to return proper CV_CAP_PROP_FOURCC property value (currently FCC for RGB24 is always returned).
10 years ago
Artur Wieczorek
efd237b8b8
Fixed media type guid for I420 in DShow capture.
...
FOURCC code bytes should be placed in the reverse order.
10 years ago
Artur Wieczorek
de0b46a765
Fixed selecting media type in DShow video capture.
...
Set correct value of sample size when calling IAMStreamConfig::SetFormat function. For non-RGB media type it can be set to zero value.
(See http://msdn.microsoft.com/en-us/library/windows/desktop/dd373477%28v=vs.85%29.aspx )
10 years ago
PhilLab
a0e4600364
VideoCapture did not detect an unopened camera
11 years ago
vbystricky
d58f736935
Split highgui module to videoio and highgui
11 years ago
vbystricky
7fe7facfee
Remove unused variable
11 years ago
vbystricky
eb8366bb0a
DShow camera as IVideoCapture object
11 years ago
WonderRico
d067749c21
fix _index / index
12 years ago
WonderRico
a048387376
fix formating
12 years ago
WonderRico
7e7fb0b75d
Bug #3201 fix
12 years ago
Alexander Smorkalov
956d8027ef
Bug #3044 cap_dshow.cpp forgotten validity check fixed.
12 years ago
Alexander Smorkalov
4703f4552a
Experimental MS Media Foundation API support added
12 years ago
Andrey Kamaev
3890a74565
Drop outdated definitions from internal.hpp
...
This also fixes few clang build errors
12 years ago
Andrey Kamaev
0cd8684ade
Fix setting of FPS after frame width and height with DShow cameras
...
Issue #2114
12 years ago
Andrey Kamaev
2d6253609c
Fix truncation of fourcc value in dshow capture property setter (bug #2535 )
...
Added test checking that all valid fourcc values are converted properly
12 years ago
Vadim Pisarevsky
40d5b026c7
fixed verbose mode in highgui's DirectShow wrapper (bug #2350 )
13 years ago
Andrey Kamaev
b368f99d03
Merged the trunk r8852:8880
13 years ago
Andrey Kamaev
27c23b557c
Merged few small fixes from 2.4 branch
13 years ago
Andrey Kamaev
f666bd221f
Merged the trunk r8595:8668 (except iOS and new gpu functionality)
13 years ago
Andrey Kamaev
bd0e0b5800
Merged the trunk r8589:8653 - all changes related to build warnings
13 years ago
Andrey Kamaev
16c94d643f
Fixed #2053
13 years ago
Andrey Kamaev
c5aba337e9
Fixed number of warnings. Fixed mingw64 build.
13 years ago
Andrey Kamaev
f62028dc16
Fixed mingw build.
13 years ago
Andrey Kamaev
81a5988015
Merged the trunk r8467:8507 (inclusive) (big bunch of documentation fixes)
13 years ago
Andrey Kamaev
c492dc6a83
Fixed property names in cap_dshow #1993
13 years ago
Vadim Pisarevsky
2fd1e2ea57
merged all the latest changes from 2.4 to trunk
13 years ago
Andrey Kamaev
7cc7a3f37d
Suppressed hundreds of useless MSVC warnings (can be reenabled setting cmake variable ENABLE_NOISY_WARNINGS to ON). Fixed some of remaining warnings.
13 years ago
Alexander Shishkov
e04cd1b0cf
fixed #227 , added support I420 format
13 years ago
Vadim Pisarevsky
1e5a600d13
fixed video capturing on Mac running Windows (ticket #988 )
13 years ago
Vadim Pisarevsky
f309bafe9e
another fix for cap_dshow.cpp; fixed warning in facerec_demo
13 years ago
Andrey Kamaev
7a017973bf
Fixed Windows build (MSVC 10 Win32)
...
internal CV_CAP_PROP_ZOOM is renamed to CV_CAP_PROP_ZOOM_DSHOW
internal CV_CAP_PROP_FOCUS is renamed to CV_CAP_PROP_FOCUS_DSHOW
13 years ago
Vadim Pisarevsky
f0b8b81caa
applied big patch #1281 by Martin Beckett (various direct show video capture enhancements)
13 years ago
Vadim Pisarevsky
8513ed08d0
probably fixed multi-threaded capturing from DShow cameras (ticket #1470 )
13 years ago
Vadim Pisarevsky
ff5e97c8e4
added COVAR_ and SORT_ enums to core.hpp; fixed many, many VS2005, VS2010 and MinGW (GCC 4.5.2) warnings
14 years ago
Vadim Pisarevsky
f8e1e88ce2
we do not need strmiids.lib anymore
14 years ago
Vadim Pisarevsky
6c8a2b8888
propagated fixes in docs and cap_dshow to trunk
14 years ago
Vadim Pisarevsky
49467947ac
propagated some fixes from 2.3 to trunk
14 years ago
Vadim Pisarevsky
108fc3f4fe
fixed problem with non 4:3 cameras (ticket #142 )
14 years ago
Vadim Pisarevsky
17b18de531
added missing evcode.h; made videoinput optional (ticket #1142 )
14 years ago
Vadim Pisarevsky
412e7a835f
videoInput is now integrated into highgui and built from sources
14 years ago
Alexander Shishkov
8b43e90e7f
fixed ticket #675
14 years ago