Vadim Levin
373160ce00
Merge pull request #15973 from VadimLevin:dev/vlevin/video_capture_inf_loop
...
* Fix infinite loop when trying to change state of the busy camera
- Add finite number of attempts in tryIoctl functions
10 by default.
* Introduced new flag for ioctl call to handle EBUSY
5 years ago
Alexander Alekhin
3f431a16a3
videoio: fix ffmpeg wrapper build
5 years ago
cudawarped
aff8c9bd28
videoio: retrieve encoded frames through FFmpeg backend
...
- backport 15290
- add extra test case
5 years ago
Alexander Alekhin
7ec91aefc1
python: force using of ArgInfo
5 years ago
Maksim Shabunin
fccf284088
Fixed relative paths handling in cap_gstreamer:
5 years ago
Elms
8b483a91bc
dshow: Add ability to save direct show graph
5 years ago
Maksim Shabunin
f10fce9ab4
AVFoundation: backported runtime authorization check from master
5 years ago
Maksim Shabunin
aaad238c6e
AVFoundation: fix authorization request not being shown
5 years ago
luz.paz
fcc7d8dd4e
Fix modules/ typos
...
Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
backporting of commit: ec43292e1e
5 years ago
Jake Howard
76b40a37e7
Merge pull request #15111 from RealOrangeOne:patch-1
...
* Remove unavoidable print of CV error
The return value covers whether the device exists.
This might be better hidden behind a debug flag, but I couldn't work out how to do that nicely.
* Use `CV_LOG_WARNING` macro to log rather than removing it entirely
5 years ago
Alexander Alekhin
a77275e650
videoio(test): skip unstable MSMF tests (3)
5 years ago
Douwe Gelling
96a27f4266
allow forcing the input format for ffmpeg backend with env var
5 years ago
fishjam
26ac5a3bdc
try to fix VideoCapture different time stamp
5 years ago
Alexander Alekhin
a4b4432015
videoio(test): skip unstable MSMF tests (2)
5 years ago
Victor Romero
987bb2ca61
Fix build for UWP
...
backport of commit: f18cbd036a
5 years ago
Alexander Alekhin
406313bbc5
videoio(test): skip unstable MSMF tests
5 years ago
Maksim Shabunin
b231e91d87
Fix for building with old V4L
5 years ago
Alexander Alekhin
61f589ddd0
videoio(gstreamer): more .get() checks
5 years ago
Alexander Alekhin
228af2d617
videoio: fix debug message
5 years ago
Tomasz Gorochowik
4997a6bf06
V4L2: Add V4L2_PIX_FMT_Y10 (10 bit grey) support
5 years ago
Alexander Alekhin
07fe1cd6b8
videoio: eliminate build warnings (clang)
5 years ago
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.
6 years ago
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)
6 years ago
Alexander Alekhin
ab24325df3
videoio(test): avoid raw ptr in ffmpeg tests
...
causes leaks if FFmpeg is disabled through OPENCV_VIDEOIO_PRIORITY_FFMPEG=0
6 years ago
Alexander Alekhin
baf372ad3d
videoio(test): add extra videoio tests
6 years ago
Alexander Alekhin
95d9cfb5c3
static analysis issues
6 years ago
Ahmed Ashour
5c56b8ce92
java: generated code to have javadoc
6 years ago
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.
6 years ago
Alexander Alekhin
22701f0c27
imgcodecs(CAP_IMAGES): fix handling of input pattern
6 years ago
Maksim Shabunin
9a81ff7315
Backported AVFoundation fixes from master branch
6 years ago
Maksim Shabunin
683acd9ae2
Support very old V4L
6 years ago
Alexander Alekhin
0d747daf47
cmake: use absolute library paths from 'pkgconfig'
...
- drop legacy check_module() macro
- drop 'ALIASOF_'
6 years ago
Alexander Alekhin
7621b91769
Merge pull request #14292 from alalek:issue_14291
...
* macosx: fix C++11 build
backporting commit c3cf35ab63
* macosx: eliminate build warning
6 years ago
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
6 years ago
Alexander Alekhin
a0a1fb5fec
python: discover tests from module/misc/python/test paths
6 years ago
Maksim Shabunin
e4a4f93b72
Removed obsolete functions from cap_dc1394_v2.cpp
6 years ago
Josh Veitch-Michaelis
2143f7cee1
release frame after disabling convert rgb
6 years ago
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>
6 years ago
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
6 years ago
Alexander Alekhin
f5b58e5fc9
bindings: backport generator from OpenCV 4.x
...
- better handling of enum arguments
- less merge conflicts
6 years ago
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
6 years ago
klemens
5d9c6723ee
spelling fixes
...
backport 997b7b18af
6 years ago
Maksim Shabunin
9c4eb20221
AVFoundation on Mac: fixed frame count and unsupported format handling
6 years ago
Alexander Alekhin
8456d096d2
videoio(v4l2): fix build due missing V4L2_CID_ISO_SENSITIVITY
6 years ago
Alexander Alekhin
a3a3670027
videoio(test): test V4L frame size changing manual test
6 years ago
Vasiliy Sorokin
b6a72826dd
videio: Fix new frame size appling in v4l.
6 years ago
Alexander Alekhin
eb1f3733ee
videoio(dc1394): use lazy initialization on demand
6 years ago
Alexander Alekhin
b7bb79c7c8
videoio(MSMF): backport WITH_MSMF_DXVA flag
6 years ago
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
6 years ago
Alexander Alekhin
26d2095dd6
videoio(v4l): initialize members in ctor
6 years ago