James Bowley
daa308f81c
Update obsolete flag in Intel video decoder.
...
Old flag resulted in software implementation being selected when the Intel decoder is not the primary adapter.
2019-06-26 12:32:20 +03:00
Maksim Shabunin
46205a7235
videoio: fix GStreamer plugin build
2019-06-24 13:56:43 +03:00
Alexander Alekhin
442bc80cd7
pre: OpenCV 4.1.1 (version++)
2019-06-21 19:18:50 +03:00
Alexander Alekhin
f33f88de31
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-06-21 17:27:14 +03:00
Alexander Alekhin
6b32bd5f15
Merge pull request #14834 from alalek:videoio_gstreamer_issues
2019-06-21 13:38:34 +00:00
Alexander Alekhin
2b2633c11f
videoio(gstreamer): port changes from 14834
2019-06-21 14:42:58 +03:00
Alexander Alekhin
8ab6efb8c0
videoio: refactor GStreamer backend
...
- exception safe smart pointers, fixed many memory leaks
- fixed errors handling
- fixed strings handling
- fixed file existence check
- fixed toFraction() implementation
- add 'drop=true' for v4l2 input
- avoid overriding custom pipelines sink's 'max-buffers' value
- updated valgrind supression rules
- added support for GStreamer native leaks tracking (via gst_deinit() call)
- repaired capturing through GStreamer0.10 (fixed CV_8UC1)
2019-06-20 17:48:18 +03:00
Alexander Alekhin
ab24325df3
videoio(test): avoid raw ptr in ffmpeg tests
...
causes leaks if FFmpeg is disabled through OPENCV_VIDEOIO_PRIORITY_FFMPEG=0
2019-06-20 17:48:18 +03:00
Alexander Alekhin
baf372ad3d
videoio(test): add extra videoio tests
2019-06-20 17:48:18 +03:00
Alexander Alekhin
95d9cfb5c3
static analysis issues
2019-06-20 13:55:20 +03:00
Alexander Alekhin
26dfa5e77c
ffmpeg: win32 wrapper update
2019-06-16 16:20:40 +00:00
Alexander Alekhin
7b099e0fe2
videoio: plugins support on Win32
2019-06-16 15:25:25 +00:00
Alexander Alekhin
cf9bddcb89
Merge pull request #14805 from alalek:fix_valgrind_issues
2019-06-14 14:15:01 +00:00
Alexander Alekhin
3af1b6ecdc
valgrind: fix issues
2019-06-14 14:31:38 +03:00
Maksim Shabunin
ae31115017
Improved MediaSDK detection mechanism
2019-06-14 12:37:49 +03:00
Maksim Shabunin
5015829ce8
Fixed plugin installation location on Windows
2019-06-13 16:06:06 +03:00
Maksim Shabunin
f99f58d99f
Allow setting IS_PART_OF_WORLD in command line, fix videoio plugin linking
2019-06-10 14:13:54 +03:00
Alexander Alekhin
ddcf388270
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-06-07 19:02:55 +03:00
Ahmed Ashour
5c56b8ce92
java: generated code to have javadoc
2019-06-05 12:44:03 +02:00
David Carlier
9fd95b93f7
FreeBSD build fix
2019-06-02 20:25:42 +01:00
Alexander Alekhin
43467a2ac7
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-05-28 18:29:48 +00:00
Alexey Nikolaev
05563f5bc4
Merge pull request #14592 from aleksey-nikolaev:master
...
VideoCapture Direct Show. Added getter for CV_CAP_PROP_CONVERT_RGB, CAP_PROP_CHANNEL properties. (#14592 )
* Added getter for CV_CAP_PROP_CONVERT_RGB, CAP_PROP_CHANNEL properties.
Some refactoring.
* One space less.
2019-05-27 19:18:36 +03:00
David Carlier
a6144b8e1a
OpenBSD build fix
2019-05-25 10:18:34 +01:00
Alexander Alekhin
22701f0c27
imgcodecs(CAP_IMAGES): fix handling of input pattern
2019-05-24 22:13:25 +03:00
Alexander Alekhin
8bf9dda604
Merge pull request #14514 from mshabunin:fix-videoio-docs
2019-05-22 18:15:43 +00:00
Maksim Shabunin
bcf7286ad9
Docs: updated videoio module overview
2019-05-22 15:35:34 +03:00
Maksim Shabunin
6fc6207e93
Added videoio plugin for MediaSDK
2019-05-17 17:24:53 +03:00
Maksim Shabunin
9a81ff7315
Backported AVFoundation fixes from master branch
2019-05-07 13:57:44 +03:00
Alexander Alekhin
e28e3c9491
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-05-01 08:27:45 +00:00
Alexander Alekhin
2da00161c5
Merge pull request #14446 from mshabunin:old-v4l
2019-04-30 10:41:33 +00:00
Maksim Shabunin
683acd9ae2
Support very old V4L
2019-04-29 18:14:58 +03:00
Alexander Alekhin
c9f3f4d1d3
cmake: fix pkg-config handling
...
Avoid non-intentional call of "include(FindPkgConfig)"
It should be handled in the root CMakeLists.txt (safely for cross-compiling)
2019-04-26 18:19:03 +03:00
Alexander Alekhin
c024edb9a8
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-04-19 15:43:58 +03:00
Alexander Alekhin
0d747daf47
cmake: use absolute library paths from 'pkgconfig'
...
- drop legacy check_module() macro
- drop 'ALIASOF_'
2019-04-15 22:11:49 +00:00
Alexander Alekhin
4635356435
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-04-13 20:00:54 +00:00
Alexander Alekhin
a9ddf12187
Merge pull request #14078 from alalek:test_python_from_modules
2019-04-12 11:39:12 +00:00
Alexander Alekhin
d68e722b71
Merge pull request #11748 from paroj:cap_except
2019-04-12 11:36:17 +00:00
Maksim Shabunin
5cb0eded64
Merge pull request #14278 from mshabunin:fix-osx-camera-auth-rt
...
* AVFoundation: Use runtime check for camera authorization
2019-04-11 19:16:50 +03:00
Alexander Alekhin
7621b91769
Merge pull request #14292 from alalek:issue_14291
...
* macosx: fix C++11 build
backporting commit c3cf35ab63
* macosx: eliminate build warning
2019-04-11 17:46:28 +03:00
kiwixz
c8056b3e27
Merge pull request #14276 from kiwixz:pr/fix_compound
...
Do not use compound literals (fix MSVC C4576) (#14276 )
* do not use compound literals (compat cpp98)
* only fix msvc path
* remove unnecessary cplusplus check
2019-04-11 17:44:28 +03:00
Alexander Alekhin
a0a1fb5fec
python: discover tests from module/misc/python/test paths
2019-04-10 18:35:35 +00:00
Pavel Rojtberg
15bb0b86ce
VideoCapture: add exception error mode similar to fstream + test
2019-04-10 13:41:57 +02:00
Maksim Shabunin
aa1359dc19
Merge pull request #14267 from mshabunin:fix-osx-camera-auth
...
* Added authorization request to AVFoundation camera backend (OSX 10.14+)
2019-04-05 21:58:01 +03:00
Maksim Shabunin
52cd1dacbf
Merge pull request #14156 from mshabunin:videowriter-bad-test
...
* videoio: added bad parameters handling to VideoWriter
* AVFoundation/Writer: support UTF-8, check input parameters
2019-03-29 17:52:22 +03:00
Giles Payne
0d1a0b126b
Merge pull request #14005 from komakai:android-video-cap
...
* Add Android Media NDK video i/o file capture back-end
* Fix failing test
* Improve error handling/prevent resource leaks
* Add license text
* Modify default for WITH_ANDROID_MEDIANDK option
* Fix spelling of deleter_AMediaExtractor
2019-03-19 21:28:45 +03:00
Alexander Alekhin
26087e28ad
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-03-15 22:42:57 +00:00
Maksim Shabunin
e4a4f93b72
Removed obsolete functions from cap_dc1394_v2.cpp
2019-03-14 12:08:16 +03:00
Alexander Alekhin
bd1fd59fc1
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-03-13 19:13:13 +00:00
Josh Veitch-Michaelis
2143f7cee1
release frame after disabling convert rgb
2019-03-12 12:42:07 +00:00
Alexander Alekhin
8c0b0714e7
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-03-11 19:20:22 +00:00
Christopher N. Hesse
796b0fec7d
videoio: gst: Fix gst assertion on null msg
...
According to the gstreamer docs [1], the GstMessage pointer returned by
gst_bus_pop() is nullable, meaning NULL is a valid return value.
Previously, gst_is_missing_plugin_message would throw an assert when its
message object parameter would fail the GST_IS_MESSAGE macro check,
crashing the entire process (unless running in a try-catch block of course).
Instead of relying on valid messages, check if the message object itself is
valid before passing it to other gstreamer functions.
[1] https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstBus.html#gst-bus-pop
Signed-off-by: Christopher N. Hesse <raymanfx@gmail.com>
2019-03-06 17:37:02 +01:00
Alexander Alekhin
332c37f332
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-03-06 11:43:16 +03:00
Alexander Alekhin
89c106b29e
Merge pull request #13945 from alalek:backport_bindings_generator
2019-03-05 12:45:21 +00:00
Alexander Alekhin
b46fa2e556
Merge pull request #13970 from alalek:videoio_plugins_update
2019-03-05 11:48:39 +00:00
Alexander Alekhin
25a9a32f8e
videoio: plugins, add strict checks
2019-03-05 13:22:52 +03:00
Alexander Alekhin
11fd9e5fdc
videoio: revert registry chages, update cap.cpp
2019-03-04 21:37:20 +00:00
Alexander Alekhin
403f11fdbf
videoio: update plugin API
2019-03-04 21:36:22 +00:00
Alexander Alekhin
b4cba524d3
videoio: move backend.cpp -> backend_plugin.cpp
2019-03-04 20:06:19 +00:00
Alexander Alekhin
93dab9e1e9
videoio(v4l): fix build due missing defines
...
- V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_HEIGHT
- V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_WIDTH
2019-03-04 18:46:56 +03:00
Alexander Alekhin
9a6f2630b2
cmake: +opencv_videoio_plugins virtual target
...
- support comma-separated list in VIDEOIO_PLUGIN_LIST
- opencv tests/samples depend on plugins virtual target
2019-03-02 09:19:08 +00:00
Alexander Alekhin
f5b58e5fc9
bindings: backport generator from OpenCV 4.x
...
- better handling of enum arguments
- less merge conflicts
2019-03-01 20:18:48 +00:00
Alexander Alekhin
c3cf35ab63
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-02-26 17:34:42 +03:00
Maksim Shabunin
9702987209
Framework for dynamic videoio backends, FFmpeg and GStreamer plugins
2019-02-26 13:50:30 +03:00
Maksim Shabunin
8c1e0537ec
Merge pull request #13889 from mshabunin:enable-narrowing-warning
...
* Enabled -Wnarrowing warning
* Fixed type narrowing issues
* Cast python constants
* Use long long for python constants
* Use int for python constants with fallback to long
* Update cv2.cpp
2019-02-26 13:15:59 +03:00
klemens
5d9c6723ee
spelling fixes
...
backport 997b7b18af
2019-02-11 15:35:10 +03:00
klemens
997b7b18af
spelling fixes
2019-02-09 22:29:54 +01:00
Maksim Shabunin
9c4eb20221
AVFoundation on Mac: fixed frame count and unsupported format handling
2019-01-24 16:15:08 +03:00
Maksim Shabunin
eeb6f7726e
AVFoundation on Mac: fixed frame count and unsupported format handling
2019-01-24 16:12:38 +03:00
Maksim Shabunin
a8fb72a807
Fixed standalone FFmpeg search with pkg-config
2018-12-27 14:40:44 +03:00
Maksim Shabunin
73959fed45
Merge pull request #13422 from mshabunin:split-videoio-cmake
...
* Split videoio dependencies search into pieces, removed obsolete backends
2018-12-26 15:50:20 +03:00
Alexander Alekhin
1dee705074
Merge branch '3.4' into merge-3.4
2018-12-22 05:40:15 +00:00
Alexander Alekhin
6c1638b132
Merge pull request #13487 from alalek:videoio_test_frame_size_changing
2018-12-21 12:17:06 +00:00
Alexander Alekhin
37a63ca02b
Merge pull request #13488 from alalek:fix_videoio_v4l2_build
2018-12-21 09:07:38 +00:00
Alexander Alekhin
8456d096d2
videoio(v4l2): fix build due missing V4L2_CID_ISO_SENSITIVITY
2018-12-20 16:28:12 +03:00
Alexander Alekhin
a3a3670027
videoio(test): test V4L frame size changing manual test
2018-12-20 15:14:20 +03:00
Vasiliy Sorokin
b6a72826dd
videio: Fix new frame size appling in v4l.
2018-12-20 14:59:39 +03:00
Alexander Alekhin
7fb70e1701
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2018-12-18 19:07:43 +00:00
Alexander Alekhin
eb1f3733ee
videoio(dc1394): use lazy initialization on demand
2018-12-15 07:58:39 +00:00
Pavel Rojtberg
d7f60f69f1
videoio: fix CAP_IMAGES
...
broken in 11eafca3e2
2018-12-14 15:32:33 +01:00
Alexander Alekhin
0c16d8f6c3
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2018-12-13 15:12:26 +03:00
Alexander Alekhin
b7bb79c7c8
videoio(MSMF): backport WITH_MSMF_DXVA flag
2018-12-13 14:56:20 +03:00
Alexander Alekhin
cea3289bd4
Merge pull request #13420 from ThadHouse:Windows7shlwapi
2018-12-12 14:58:51 +00:00
Thad House
857fba0878
Remove MinCore_Downlevel, replace with Shlwapi
...
On windows 7, MinCore_Downlevel does not work correctly. However, the only API used was QISearch, which can be found in Shlwapi.
Closes #12010
2018-12-11 17:06:01 -08:00
Tsukasa Sugiura
09b3dcb6db
Merge pull request #13341 from UnaNancyOwen:fix_librealsense
...
* videoio(librealsense): fix pipeline start with config
fix to apply pipeline settings by passing config to start.
* videoio(librealsense): add support get props
add support get some props.
2018-12-05 20:12:25 +03:00
Alexander Alekhin
2e0150e601
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2018-12-03 18:38:27 +03:00
Alexander Alekhin
26d2095dd6
videoio(v4l): initialize members in ctor
2018-12-03 15:22:20 +03:00
Alexander Alekhin
c0016d7fe9
Merge pull request #13253 from alalek:fix_13201
...
* cmake: install 'legacy/constants_c.h' files
* samples: add compatibility test code
2018-11-23 20:02:46 +03:00
Alexander Alekhin
a574788e89
move legacy C-API constants into separate files
2018-11-17 23:47:51 +00:00
Pavel Rojtberg
846a500fb4
videoio: drop VideoCaptureModes enum in favour of fourcc
2018-11-13 17:20:24 +01:00
Alexander Alekhin
65fb8ae33e
Merge pull request #13137 from alalek:videoio_v4l_disable_normalization
2018-11-12 22:15:00 +03:00
Alexander Alekhin
fc3fc6005e
Merge pull request #13126 from mshabunin:remove_libv4l
2018-11-12 22:10:49 +03:00
Alexander Alekhin
e0e828ef5c
videoio: remove using of HAVE_CAMV4L
2018-11-12 18:53:19 +00:00
Maksim Shabunin
ab65b9745b
Repair V4L backend
2018-11-12 20:04:33 +03:00
Alexander Alekhin
4e3ab026fe
videoio(v4l): turn off normalization of V4L properties
2018-11-12 19:10:13 +03:00
Alexander Alekhin
f5b212a9d4
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2018-11-12 17:58:45 +03:00
Pavel Rojtberg
0d65397ae7
videoio: remove cap_libv4l in favour of cap_v4l
...
cap_libv4l depends on an external library (libv4l) yet is still larger
(1966 loc vs 1822 loc).
It was initially introduced copy pasting cap_v4l in order to offload
various color conversions to libv4l.
However nowadays we handle most of the needed color conversions inside
OpenCV. Our own implementation is better tested and (probably) also
better performing. (as it can optionally leverage IPP/ OpenCL)
Currently cap_v4l is better maintained and generally the code is in
better shape. There is however an API
difference in getting unconverted frames:
* on cap_libv4l one need to set `CV_CAP_MODE_GRAY=1` or
`CV_CAP_MODE_YUYV=1`
* on cap_v4l one needs to set `CV_CAP_PROP_CONVERT_RGB=0`
the latter is more flexible though as it also allows accessing undecoded
JPEG images.
fixes #4563
2018-11-12 13:38:59 +03:00
Alexander Alekhin
801c943009
fix coverity reports
2018-11-11 13:51:47 +00:00
Alexander Alekhin
1913482cf5
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2018-11-10 20:50:26 +00:00
Alexander Alekhin
8675a8c743
Merge pull request #12878 from tompollok:3.4
2018-11-09 19:54:17 +00:00
Pavel Rojtberg
afa0f80c61
videoio: add manual white-balance and implement it for V4L2
2018-11-09 17:14:33 +01:00