Alexander Alekhin
84db82a329
build: fix warnings
2018-04-24 16:15:22 +03:00
Alexander Alekhin
ef2548778c
build: -Wimplicit-fallthrough warning for GCC 7+ only
2018-04-24 16:03:40 +03:00
Alexander Alekhin
6b581c4e51
build: unreachable code after CV_Error() (part 2)
2018-04-24 16:03:40 +03:00
Vitaly Tuzov
80600e5cdc
Added DXVA hardware acceleration to MSMF-based VideoCapture
2018-04-24 13:42:49 +03:00
Vitaly Tuzov
916f094ce6
Integrated camera and file MSMF-based VideoCaptures and implemented configuration properties get/set
2018-04-24 12:13:20 +03:00
Vitaly Tuzov
b0b2d8de44
Remove unused code
2018-04-24 12:13:19 +03:00
Vitaly Tuzov
44848d3241
MSMF-based CameraCapture reworked to use SourceReader
2018-04-23 17:04:54 +03:00
Vitaly Tuzov
65c46d0cc6
Removed WINRT related code
2018-04-23 17:04:53 +03:00
Maksim Shabunin
5309832308
VideoIO: prettier test console output, gstreamer capture backend changed to C++ interface
2018-04-23 13:21:37 +03:00
Vadim Pisarevsky
9615f8c994
Merge pull request #11358 from mshabunin:enable-xine
2018-04-23 10:09:29 +00:00
Simon Que
705464258e
Merge pull request #11353 from eecsninja:3.4
...
* Fix CV_Asserts with negation of strings
{!"string"} causes some compilers to throw a warning.
The value of the string is not that important -- it's only for printing
the assertion message.
Replace these calls with:
CV_Error(Error::StsError, "string")
to suppress the warning.
* remove unnecessary 'break' after CV_Error()
2018-04-20 15:31:47 +03:00
Maksim Shabunin
a9bdf75c5b
videoio: refactored XINE backend
2018-04-20 15:20:46 +03:00
Alexander Alekhin
12e8e33144
build: enable -Wimplicit-fallthrough warning for OpenCV modules
2018-04-19 19:54:03 +03:00
Alexander Alekhin
d2d9fd6945
build: fix MSVS build problems
...
with 'CL=/permissive-'
2018-04-10 14:50:56 +03:00
Alexander Alekhin
86488ac1bc
Merge pull request #11130 from allnes:gst_test_pipeline
2018-04-09 18:21:11 +00:00
Alexander Nesterov
c0d6f3d23e
Added tests for gstreamer pipeline
2018-04-10 02:33:26 +03:00
Alexander Alekhin
b76ce0e0a4
Merge pull request #11253 from mshabunin:decrease-tbb-dependency
2018-04-09 16:03:34 +00:00
tlanclos
a2c7afad77
V4L Buffer: Support CV_CAP_PROP_BUFFERSIZE in cap_v4l ( #11047 )
2018-04-09 17:34:00 +03:00
Vitaly Tuzov
24bd44f088
MSMF-based VideoCapture reworked to use SourceReader
2018-04-06 17:39:56 +03:00
Maksim Shabunin
b88609a921
Reduced direct TBB dependencies
2018-04-06 14:21:15 +03:00
Vitaly Tuzov
628f04ae96
Merge pull request #11092 from terfendail:msmf_videocapture
...
Update for MSMF-based VideoCapture and VideoWriter (#11092 )
* MSMF based VideoCapture updated to handle video stream formats different from RGB24
* MSMF based VideoWriter updated to handle video frame top-bottom line ordering regardless of output format
* Fixed race condition in MSMF based VideoCapture
* Refactored MSMF based VideoCapture and VideoWriter
* Disabled frame rate estimation for MP43
* Removed test for unsupported avi container from MSMF VideoWriter tests
* Enabled MSMF-based VideoIO by default
2018-04-05 13:55:42 +03:00
Arkadiusz Raj
619e4c94d5
Protection to not run Eth config when USB camera is connected
2018-04-01 15:37:10 +02:00
Alexander Alekhin
177be2adda
Merge pull request #11174 from corleypc:master
2018-03-29 13:50:44 +00:00
Alexander Alekhin
8f0669c300
videoio: apply CV_OVERRIDE/CV_FINAL
2018-03-28 17:57:59 +03:00
corley
a4b9ce764c
Fixed silent failures in getting and setting properties
2018-03-28 00:05:54 +03:00
corley
f441515357
Fixed a couple of memory leaks in videoInput::getDevice() when multiple devices are present in the system
2018-03-27 00:54:48 +03:00
Anthony Wertz
c6cf7f8080
Sets a higher limit on videoio's AVI container's maximum chunk size, and adds an explanation of the assertion. Closes #11126
2018-03-23 12:03:46 -04:00
miqlas
f3a9f13cb4
Merge pull request #10984 from extrowerk:advanced_haiku_patches
...
* Haiku supporting patches
* Revert uneeded changes
* Whitespace cleanup
2018-03-14 17:09:10 +03:00
Alexander Alekhin
8edc2e5aaf
Merge pull request #10928 from Mehanik:fix_timeout
2018-03-07 12:34:09 +00:00
Eugene Mikhantiev
c790299906
Fix return code in case of timeout
2018-03-07 17:26:34 +07:00
Tomoaki Teshima
a9f3a7de39
add workaround of old gstreamer
2018-03-05 19:27:49 +09:00
Maksim Shabunin
fbb2cabe77
Use fixed size types in AVIContainer structs
2018-02-22 17:11:25 +03:00
Alexander Alekhin
9819ebc095
videoio: add missing CAP_PROP_SAR_NUM/DEN propepties into .hpp file
...
reuse av_guess_sample_aspect_ratio() if available in ffmpeg
2018-02-21 19:14:04 +03:00
Alexander Alekhin
2aa15ab3ff
ffmpeg: fix 'uchar' error
...
> cap_ffmpeg_impl.hpp:1710:11: error: 'uchar' does not name a type
2018-02-20 13:15:41 +03:00
Tomoaki Teshima
bcce25900b
read in gray scale mode when writing a gray scale video
2018-02-19 18:33:05 +09:00
Alexander Nesterov
df8f61877e
Added avi-container with tests
2018-02-15 17:34:49 +03:00
luz.paz
d05714995c
Misc. modules/ cont. pt2
...
Found via `codespell`
2018-02-13 11:28:11 -05:00
Alexander Alekhin
4a297a2443
ts: refactor OpenCV tests
...
- removed tr1 usage (dropped in C++17)
- moved includes of vector/map/iostream/limits into ts.hpp
- require opencv_test + anonymous namespace (added compile check)
- fixed norm() usage (must be from cvtest::norm for checks) and other conflict functions
- added missing license headers
2018-02-03 19:39:47 +00:00
Alexander Alekhin
73316e10a0
java(test): fix test names
2018-01-12 19:14:00 +00:00
Stanislaw Halik
c8794c89c7
modules/videoio: fix PS3Eye camera property window
...
v2: fix stray trailing whitespace
v3: only allow for up to one property window at the time
Opening multiple windows in the same process will just confuse
the camera filter or outright crash.
Suggested-by: @alalek
Also return whether a dialog was opened at the time.
2018-01-11 16:37:02 +01:00
Maksim Shabunin
f0b606ff77
Changed VA device in MediaSDK session initialization
2017-12-28 14:10:36 +03:00
Tomoaki Teshima
fe7b3f1228
clean up the code
...
* disable the warning in CMake, not int the code using pragma
2017-12-22 08:42:21 +09:00
Maksim Shabunin
7349b8f5ce
Build for embedded systems
2017-12-11 13:27:37 +03:00
Alexander Alekhin
66e09bc9a4
Merge pull request #10260 from native-api:ffmpeg_load_from_package
2017-12-08 20:58:17 +00:00
Ivan Pozdeev
4bee238cf8
GetModuleFileName() doesn't reset last error on success
2017-12-08 21:11:41 +03:00
Riyuzakii
8f1345091e
Remove typo/repeated code block
2017-12-08 12:10:00 +05:30
Maksim Shabunin
800294ad4b
Merge pull request #10060 from allnes:videoio_tests_backend
2017-12-01 09:38:19 +00:00
Maksim Shabunin
7eb1065944
Fixed/disabled warnings produced by GCC 7
2017-11-29 17:21:22 +03:00
Vadim Pisarevsky
bc547c4290
Merge pull request #10124 from zhongwuzw:master
2017-11-28 10:53:00 +00:00
Alexander Alekhin
559235ac74
videoio(ffmpeg): more workarounds for sws_scale() crash
...
Prevents access data after the end of input buffer near 4K page boundaries
2017-11-23 18:56:19 +03:00
Maksim Shabunin
6f48dc2482
Fixed GStreamer pipeline building on Ubuntu 17
2017-11-23 15:03:20 +03:00
Alexander Nesterov
8082011546
Update videoio tests
2017-11-23 14:57:38 +03:00
Maksim Shabunin
7628c143f4
videoio: fixed capture open order, added apiPrefernce to FFMPEG tests
2017-11-23 13:33:48 +03:00
zhongwuzw
01b581048d
Fix customPreviewLayer layout issue when rotateVideo is NO in iOS
2017-11-21 12:56:23 +08:00
Jonathan Viney
b1d208891b
Merge pull request #10011 from jviney:master
...
Fix build with FFmpeg master. Some deprecated APIs have been removed. (#10011 )
* Fix build with FFmpeg master.
* ffmpeg: update AVFMT_RAWPICTURE support removal
2017-11-18 21:08:41 +03:00
Alexander Alekhin
981009ac1f
Merge pull request #9999 from mshabunin:fix-gcc72-warnings
2017-11-07 13:37:25 +00:00
Alexander Alekhin
96aebbe7f9
Merge pull request #9970 from mshabunin:media-sdk-convert
2017-11-07 13:37:07 +00:00
Maksim Shabunin
184daa155f
Fixed minor issues reported by GCC 7.2
2017-11-03 18:06:39 +03:00
Alexander Alekhin
b1b2528e50
videoio: improve condition for MJPEG gstreamer sink
2017-11-02 18:27:30 +03:00
Maksim Shabunin
0c79f4a00f
MediaSDK: fixed Linux build, improved BGR<->NV12 conversions
2017-11-01 14:14:45 +03:00
Vitaly Tuzov
ad051cdd99
Fixed CAP_PROP_FORMAT evaluation in case CvCaptureCAM_V4L returns CV_16U image
2017-10-19 20:51:00 +03:00
Maksim Shabunin
83655ba9be
MediaSDK video backend: Windows support
2017-10-11 16:33:37 +03:00
Maksim Shabunin
ef332dc550
Fixed and suppressed warnings produced by GCC 6.3.0
2017-10-09 13:52:07 +03:00
Vadim Pisarevsky
87595a6b3a
Merge pull request #9779 from Lightricks:feature/assetslibrary-remove-link
2017-10-06 11:45:36 +00:00
Yaron Inger
0d979a741b
videoio: remove AssetsLibrary dependency.
...
The entire AssetsLibrary framework is deprecated since iOS 8.0. The code
used in the camera example code can use UIKit to save videos to the
camera instead, which allows to avoid linking with PhotoKit instead to
prevent increasing the iOS deployment target.
2017-10-05 20:22:56 +03:00
Adam Rankin
fb8143d55d
Using environment variable to store capture options ( #9292 )
...
* Using environment variable to store options parsed by av_dict_parse_string(ENV{OPENCV_FFMPEG_CAPTURE_OPTIONS}, ";", "|")
* Adding missing mandatory flags parameter
* Guarding against missing function via LIBAVUTIL version
* Code review fixes
Copy/paste error due to coder mistake reverted
Proper version checking for LIBAVUTIL_BUILD
2017-09-19 13:29:43 +03:00
Vladislav Sovrasov
32bf712102
cmake: disable implicit-fallthrough by default
2017-09-11 16:04:00 +03:00
Maksim Shabunin
235b00b6ee
Fixed MediaSDK tests and build warnings
2017-08-31 16:50:42 +03:00
Alexander Alekhin
80519a0278
Merge pull request #9326 from sovrasov:video_cap_new_check
2017-08-30 14:29:48 +00:00
Vadim Pisarevsky
048feeb3f0
Merge pull request #9416 from eruffaldi:f_9411_mingw_videoio
2017-08-28 20:22:56 +00:00
Vadim Pisarevsky
d861c03366
Merge pull request #9479 from alalek:issue_9477
2017-08-28 20:10:32 +00:00
Alexander Alekhin
52a60526f1
Merge pull request #9492 from paroj:ximea_serial
2017-08-28 19:33:54 +00:00
Pavel Rojtberg
01acb08c7b
videoio: ximea - allow opening capture by serial number
2017-08-28 16:58:22 +02:00
Alexander Alekhin
897b071b97
videoio(v4l): move MJPEG/JPEG to the end of probe list
2017-08-27 10:26:05 +03:00
Emanuele Ruffaldi
588ca5d126
videoio for mingw32: added STRSAFE_NO_DEPRECATE and realpath
2017-08-19 23:51:02 +02:00
Alexander Alekhin
b6949c5088
cmake: CMP0022 NEW
2017-08-19 15:15:05 +00:00
Vladislav Sovrasov
2b8f888ea4
videoio: remove throw lists since they are deprecated in cxx11 (and gcc7 produces a warning)
2017-08-18 12:07:24 +03:00
Vladislav Sovrasov
651a1d2869
videoio: don't pass zero fps to 3rd-party codecs
2017-08-08 15:17:42 +03:00
Alexander Alekhin
c95a97389d
Merge pull request #9235 from sturkmen72:patch-3
2017-08-03 17:04:28 +00:00
Suleyman TURKMEN
89480801b8
some improvements on tutorials
2017-07-29 20:08:19 +03:00
Alexander Alekhin
402a77e7f7
Merge pull request #9237 from alalek:fix_winrt_build
2017-07-26 10:42:49 +00:00
Alexander Alekhin
602f047fe8
build: replace WIN32 => _WIN32
2017-07-25 13:30:48 +03:00
Alexander Alekhin
e45d5446f2
cleanup unused 3rdparty files
2017-07-21 15:20:13 +03:00
Alexander Alekhin
49e1f6b161
Merge pull request #9091 from alalek:update_ffmpeg
2017-07-14 17:25:35 +00:00
Alexander Alekhin
1a4c22fc46
Merge pull request #9095 from alalek:fix_gstreamer
2017-07-14 17:24:14 +00:00
Alexander Alekhin
d07eb9ad60
Merge pull request #9157 from zhmu:opencv-dshow-allow-enable-disable-of-debug-messages
2017-07-14 17:18:31 +00:00
Alexander Alekhin
5a54acef4e
Merge pull request #9130 from alalek:android_define
2017-07-14 17:17:24 +00:00
Satoshi Tanaka
96a3c7954d
Merge pull request #8914 from stnk20:gstreamer_yuv
...
Add gstreamer capture capability for some YUV formats (#8914 )
* Add gstreamer capture capability for some YUV formats.(only for gstreamer-1.0)
* avoid cross initialization error
* add checking if pipeline is manualpipeline, for compatibility.
2017-07-14 17:11:30 +00:00
Rink Springer
df7fb00c21
dshow: Only show debugging messages if environment variable OPENCV_DSHOW_DEBUG is explicitly set to non-zero
...
Based on discussion at: https://github.com/opencv/opencv/pull/9051
2017-07-13 11:44:20 +02:00
Maksim Shabunin
02db592014
Fixed several issues found by static analysis (Windows specific)
2017-07-10 23:14:02 +03:00
Alexander Alekhin
a4a47b538c
build: detect Android via '__ANDROID__' macro
...
https://sourceforge.net/p/predef/wiki/OperatingSystems
2017-07-10 12:43:59 +03:00
Alexander Alekhin
cc862e996e
videoio: fixes for GStreamer support
...
- emulated frame counter (with autodetection of GStreamer broken behavior)
- skip 'seek' tests if seeking is not supported by backend
- update 'fps' and total frames checks (increase error tolerance)
- update synthetic image generation
2017-07-05 16:52:48 +03:00
Alexander Alekhin
6833b46a05
videoio(test): fix message
2017-07-05 13:45:34 +03:00
Maksim Shabunin
638a01a014
Merge pull request #9038 from mshabunin:fix-static-4
2017-06-30 10:39:36 +00:00
Maksim Shabunin
e0393f8557
Fixed some issues found by static analysis (4th round)
2017-06-30 12:26:53 +03:00
Neil Shipp
3f72ff215e
Fix WinRT build breaks in highgui and videoio.
2017-06-29 17:56:09 -07:00
Maksim Shabunin
a769d69a9d
Fixed several issues found by static analysis
2017-06-28 18:06:18 +03:00
Alexander Alekhin
82ec76c123
Merge pull request #8990 from mshabunin:fix-static-2
2017-06-27 14:53:26 +00:00
Alexander Alekhin
a87d6b098f
videoio: synchronize ffmpeg open() call
2017-06-27 16:32:32 +03:00
Maksim Shabunin
32d4af36e2
Fixing some static analysis issues
2017-06-27 14:30:26 +03:00