- 09 Apr, 2014 1 commit
-
-
Ilya Lavrenov authored
-
- 08 Apr, 2014 1 commit
-
-
Ilya Lavrenov authored
Conflicts: modules/core/src/stat.cpp
-
- 27 Mar, 2014 1 commit
-
-
Nicolas Gryman authored
-
- 25 Mar, 2014 1 commit
-
-
Nicolas Gryman authored
-
- 23 Mar, 2014 2 commits
-
-
Alessandro Trebbi authored
-
Ilya Lavrenov authored
-
- 21 Mar, 2014 1 commit
-
-
Alexander Smorkalov authored
Fixed constant value for focus mode FOCUS_MODE_CONTINUES_PHOTO; Add setters and getters for exposure lock and white balance lock flags; Excluded camera restart for all setters except frame size.
-
- 07 Mar, 2014 1 commit
-
-
vbystricky authored
Move declaration of IVideoCapture class into precomp.hpp, make some methods of IVideoCapture pure virtual
-
- 05 Mar, 2014 3 commits
-
-
vbystricky authored
-
vbystricky authored
-
Dave Hughes authored
v4l2_scan_controls_enumerate_menu is unused and causes ioctl error on RaspberryPi and possibly other Video4Linux variants. See http://www.raspberrypi.org/forum/viewtopic.php?f=43&t=65026 for more detail.
-
- 04 Mar, 2014 1 commit
-
-
Ilya Lavrenov authored
-
- 03 Mar, 2014 1 commit
-
-
GregoryMorse authored
Add support for WinRT in the MF capture framework by removing the disallowed calls to enumerate devices and create a sample grabber sink and adding framework for the MediaCapture interface and a custom sink which interfaces with the sample grabber callback interface. The change requires discussion for making it completely functional as redundancy is required given that if the source is a video file, the old code pathways must be used. Otherwise all IMFMediaSession, IMFMediaSource, and IMFActivate code must use a MediaCapture code path and all sink code must use the CMediaSink custom sink. Support for the custom sink is extended to non-WinRT not for compatibility as Windows Vista client is a minimum regardless, but because it offers more flexibility, could be faster and is able to be used as an optionally different code path during sink creation based on a future configuration parameter. My discussion and proposal to finish this change: Devices are so easily enumerated through WinRT Windows.Devices namespace that wrapping the calls in a library is quite a chore for little benefit though to get the various modes and formats could still be a worthwhile project. For now conditional compilation to remove videodevices and any offending non-video file related activity in videodevice. In my opinion, this is a different , far less fundamental and important change which can possibly be done as a future project and also much more easily implemented in C++/CX. ImageGrabber has the IMFSampleGrabberSinkCallback replaced with a base class (SharedSampleGrabber) which also be is base class for ImageGrabberRT. This change is necessary as the custom sink does not require a thread to pump events which is done through MediaCapture already. IMFSampleGrabberSinkCallback is the common element between both models and that piece can be shared. Initializing the new ImageGrabberRT is as simple as passing an already initialized MediaCapture object and any video format/encoding parameters. The concurrency event is necessary to wait for completion and is the way the underlying, IAsyncAction wrappers in the task library work as well. Native WIN32 event objects would be an option if HAVE_CONCURRENCY is not defined. I could even imagine doing it with sleep/thread yield and InterlockedCompareExchange yet I am not enthusiastic about that approach either. Since there is a specific compiler HAVE_ for concurrency, I do not like pulling it in though I think for WinRT it is safe to say we will always have it available though should probably conditionally compile with the Interlocked option as WIN32 events would require HAVE_WIN32. It looks like C++/CX cannot be used for the IMediaExtension sink (which should not be a problem) as using COM objects requires WRL and though deriving from IMediaExtension can be done, there is little purpose without COM. Objects from C++/CX can be swapped to interact with objects from native C++ as Inspectable* can reinterpret_cast to the ref object IInspectable^ and vice-versa. A solution to the COM class with C++/CX would be great so we could have dual support. Also without #define for every WRL object in use, the code will get quite muddy given that the */^ would need to be ifdef'd everywhere. Update cap_msmf.cpp Fixed bugs and completed the change. I believe the new classes need to be moved to a header file as the file has become to large and more classes need to be added for handling all the asynchronous problems (one wrapping IAsyncAction in a task and another for making a task out of IAsyncAction). Unfortunately, blocking on the UI thread is not an option in WinRT so a synchronous architecture is considered "illegal" by Microsoft's standards even if implementable (C++/CX ppltasks library throws errors if you try it). Worse, either by design or a bug in the MF MediaCapture class with Custom Sinks causes a crash if stop/start previewing without reinitializing (spPreferredPreviewMediaType is fatally nulled). After decompiling Windows.Media.dll, I worked around this in my own projects by using an activate-able custom sink ID which strangely assigns 1 to this pointer allowing it to be reinitialized in what can only be described as a hack by Microsoft. This would add additional overhead to the project to implement especially for static libraries as it requires IDL/DLL exporting followed by manifest declaration. Better to document that it is not supported. Furthermore, an additional class for IMFAttributes should be implemented to make clean architecture for passing around attributes as opposed to directly calling non-COM interface calls on the objects and making use of SetProperties which would also be a set up for an object that uses the RuntimeClass activation ID. The remaining changes are not difficult and will be complete soon along with debug tracing messages. Update cap_msmf.cpp Create cap_msmf.h Update cap_msmf.cpp Update cap_msmf.h Update cap_msmf.cpp Update cap_msmf.h Update and rename cap_msmf.h to cap_msmf.hpp Update cap_msmf.cpp Update CMakeLists.txt Update cap_msmf.hpp Update cap_msmf.cpp Update cap_msmf.cpp Update cap_msmf.cpp Update cap_msmf.hpp Update cap_msmf.hpp Update cap_msmf.cpp Successful test - samples are grabbed Update cap_msmf.cpp Update cap_msmf.hpp Update cap_msmf.cpp Update cap_msmf.hpp Update cap_msmf.hpp Update cap_msmf.cpp Update cap_msmf.hpp Update cap_msmf.cpp Update cap_msmf.hpp Update cap_msmf.cpp Update cap_msmf.hpp Create ppltasks_winrt.h Update cap_msmf.hpp Update cap_msmf.hpp Update cap_msmf.cpp Update ppltasks_winrt.h Library updated and cleaned up with comments, marshaling, exceptions and linker settings Update ppltasks_winrt.h Fixed trailing whitespace
-
- 02 Mar, 2014 1 commit
-
-
Ilya Lavrenov authored
-
- 25 Feb, 2014 2 commits
-
-
vbystricky authored
Remove implementation of CvCapture interface for Intel PerC camera. Add IVideoCapture interface and implementation of this one for Intel PerC camera
-
Alexander Smorkalov authored
Last changes in test leads to SIGKILL on Android. SIGKILL is called by out of memory killer.
-
- 21 Feb, 2014 1 commit
-
-
Matti Picus authored
-
- 20 Feb, 2014 2 commits
-
-
Matti Picus authored
-
Matti Picus authored
-
- 18 Feb, 2014 1 commit
-
-
Alexander Shishkov authored
-
- 17 Feb, 2014 2 commits
-
-
Alexander Shishkov authored
-
Marijan Vukcevich authored
AVCaptureVideoPreviewLayer setOrientation is depricated. This fixes the warning and provides backward compatibility.
-
- 12 Feb, 2014 2 commits
-
-
Stuart Cunningham authored
-
Stuart Cunningham authored
Use correct integer types for arguments to TIFFGetField to avoid corruption of values and failed loads of TIFF file when using cv::imread(). Added test where both big and little endian TIFF files are read using imread(). Fixed build of 3rdparty libtiff on big endian hosts. Reduced memory required during decode_tile16384x16384 test by not converting large grayscale test image to color image during read.
-
- 31 Jan, 2014 1 commit
-
-
Alexander Smorkalov authored
Useless output to console fixed; Test output files moved from cwd to temp folder.
-
- 24 Jan, 2014 1 commit
-
-
Matti Picus authored
-
- 21 Jan, 2014 1 commit
-
-
Alexander Smorkalov authored
-
- 19 Jan, 2014 2 commits
-
-
Anatoly Baksheev authored
-
Anatoly Baksheev authored
-
- 17 Jan, 2014 1 commit
-
-
Ilya Lavrenov authored
-
- 16 Jan, 2014 5 commits
-
-
Adi Shavit authored
-
Adi Shavit authored
-
Adi Shavit authored
-
Nick D'Ademo authored
-
Adi Shavit authored
-
- 14 Jan, 2014 4 commits
-
-
Adi Shavit authored
-
Adi Shavit authored
To be used in the mouse callback like this: if (CV_EVENT_MOUSEWHEEL == CV_GET_MOUSEWHEEL_EVENT(event)) { int delta= CV_GET_WHEEL_DELTA(event); // use delta... }
-
Adi Shavit authored
Small fix for extracting mouse coordinates on Windows, in a way that will always work with multiple monitors. This is the way recommended by Microsoft.
-
Nick D'Ademo authored
Added "PVAPI_" prefix to FrameStartTriggerMode definition
-
- 13 Jan, 2014 1 commit
-
-
Nick D'Ademo authored
-