Maksim Shabunin
e0393f8557
Fixed some issues found by static analysis (4th round)
8 years ago
Maksim Shabunin
a769d69a9d
Fixed several issues found by static analysis
8 years ago
Alexander Alekhin
a87d6b098f
videoio: synchronize ffmpeg open() call
8 years ago
Maksim Shabunin
32d4af36e2
Fixing some static analysis issues
8 years ago
Alexander Alekhin
006966e629
trace: initial support for code trace
8 years ago
Alexander Alekhin
d7597a8610
videoio: do not mix `CV_CAP` and `CAP_` APIs enum values
8 years ago
Alexander Alekhin
460e9bf0af
videoio: drop changes from legacy C-API header
8 years ago
Alexander Alekhin
23f4bff742
videoio: update VideoWriter apiPreference parameter position
8 years ago
Alexander Alekhin
35a2f2fef9
videoio(macosx): fix array access exception in AVFoundation
8 years ago
Maksim Shabunin
87b569d812
Rewritten some tests in videoio and imgcodecs modules
...
general:
- all iterative tests have been replaced with parameterized tests
- old-style try..catch tests have been modified to use EXPECT_/ASSERT_ gtest macros
- added temporary files cleanup
- modified MatComparator error message formatting
imgcodecs:
- test_grfmt.cpp split to test_jpg.cpp, test_png.cpp, test_tiff.cpp, etc.
videoio:
- added public HAVE_VIDEO_INPUT, HAVE_VIDEO_OUTPUT definitions to cvconfig.h
- built-in MotionJPEG codec could not be tested on some platforms (read_write test was disabled if ffmpeg is off, encoding/decoding was handled by ffmpeg otherwise).
- image-related tests moved to imgcodecs (Videoio_Image)
- several property get/set tests have been combined into one
- added MotionJPEG test video to opencv_extra
8 years ago
Maksim Shabunin
c06f3d63e8
Initial version of MediaSDK integration:
...
- cmake dependencies search (WITH_MFX option)
- raw H264, H265, MPEG2 encoding and decoding
- tests for supported formats
8 years ago
Vladislav Sovrasov
f1c16f42b4
video: add one more constructor for VideoWriter
8 years ago
Maksim Shabunin
7cefb52fda
V4L: do not return frame if it can not be retrieved
8 years ago
kvaghel1
6fd9edc50f
Fix frame timestamp in VideoCapture::get
8 years ago
Neio Zhou
7faf8cd06e
Aravis: support Bayer GR 8 raw format.
8 years ago
Arek
9edcd9b4ef
Merge pull request #8711 from ArkadiuszRaj:aravis_autoexposure_correction
...
Aravis: Use of std::fabs, added support for 16-bit mono files and exposure compensation (#8711 )
* Use of std::fabs, added support for 16-bit mono files
* Correction in priority2 stage & adding exposure compensation
8 years ago
Matthias Grundmann
0e64e68d31
Update cap_mjpeg_encoder.cpp
...
Avoid shifting by 32bits; undefined behavior according to c - standard
8 years ago
brian-armstrong-discord
9e054d3880
Merge pull request #8492 from brian-armstrong-discord:exif_inmemory
...
autorotate in-memory jpegs (#8492 )
* autorotate in-memory jpegs
* correct indentation (4 spaces)
* imgcodecs: don't apply EXIF rotation for unloaded images
* videoio: don't try to rotate MJPEG stream
* imgcodecs: ByteStreamBuffer::seekoff support all seek "dir"
* imgcodecs: fix condition: "off == egptr() - eback()" is valid offset
8 years ago
orisano
550ca10ec6
Remove stdout log when destructor called.
8 years ago
Pavel Rojtberg
d92d82d194
cap_v4l: SetProperty - do not return false while setting video size
8 years ago
abratchik
276e47afae
fix #7833
8 years ago
ziggy90127
d69b3e385e
Add AVMediaTypeMuxed capture devices to AVFoundation, just as QTKit does.
8 years ago
ziggy90127
0aadab0941
Add AVMediaTypeMuxed capture devices to AVFoundation, just as QTKit does.
8 years ago
ionut
a41d877fe6
Change the value of bit/pixel from channels to 8*channels because videos encoded
...
by cap_mjpeg_encoder.cpp don't play on windows media player.
Issue number #8113
8 years ago
berak
d7240d1a28
fix leaking handle in cap_dshow.cpp
8 years ago
PkLab
ece3fac7ef
Merge pull request #8112 from PkLab:Fix_7898
...
CoInitialize/CoUninitialize in VFW classes (#8112 )
8 years ago
chacha21
166d75e3c5
Fix for unhandled error cases when using Media Foundation
...
Some function calls to Media Foundation can fail and retrun null
pointers. They should be checked before being dereferenced to avoid a
crash.
8 years ago
Alexander Alekhin
39ff8a0d26
cmake: cleanup ffmpeg detection
8 years ago
mshabunin
695c518384
Updated TBB search script and code checks
8 years ago
Alexander Alekhin
e547bbbc3f
videoio: preserve conflict with common properties
...
Usage:
writer.set(cv::CAP_PROP_IMAGES_BASE + cv::IMWRITE_JPEG_QUALITY, 80);
8 years ago
Alexander Alekhin
c560ff23ad
videoio: images: fix buffer overflow problem
8 years ago
Tsukasa Sugiura
e4985f604a
Add support image save parameters in VideoWriter
...
Add support image save parameters in cv::VideoWriter.
This change will become available setting same parameters as
cv::imwrite() to cv::VideoWriter::set( cv::IMWRITE_*, value ).
8 years ago
Simmo Saan
6c524e8444
Allow V4L, V4L2 to be used as preferred capture API
8 years ago
Arek
866f8eb1e7
Merge pull request #7695 from ArkadiuszRaj:aravis-release-bug-fix
...
* Aravis: fixing releasing object when no communication with camera is possible
* Removing unnecessary include
8 years ago
Alexander Alekhin
40aa8aa862
ffmpeg: check return value
8 years ago
sourin
94b5a74067
Fixed with review comments.
8 years ago
panxiaochun
bec3479f9e
fix the problem:repeatedly stop cause app crash
8 years ago
panxiaochun
f888f47102
remove self. in release method
8 years ago
panxiaochun
03a9fd46c7
fix the problem: leak memory when repeatedly start and stop
8 years ago
Arek
e77bc24b96
Merge pull request #7518 from ArkadiuszRaj:aravis-buffer-status
...
Aravis several updates
* Fix adressing camera with id=0
* Aravis buffer property control & status added
* Modify of autoexposure algorith, ream frame ID from aravis + new properites
* Change of macro name
* VideoCapture now returns no frame on camera disconnecion
* Allow aravis-0.4 usage, proper camera object release.
8 years ago
Sean McBride
943ac96526
Eliminated use of obsolete 'register' keyword
...
Fixes clang warnings about uses of this obsolete keyword.
8 years ago
Jake Kesinger
bd50553149
videoio: Fix for valgrind warning in icvGetPropertyCAM_V4L
...
https://github.com/opencv/opencv/issues/7380
8 years ago
Guillaume Jacob
df2b591896
videoio: fix segfault if CONVERT_RGB is false (issue #7465 )
8 years ago
Arek
4ea27061ee
Merge pull request #7472 from ArkadiuszRaj:aravis-autoexposure
...
Aravis SDK: Basic software based autoexposure control
* Basic software based autoexposure control
* Aravis autoexposure: skip frame taken while changing exposure setup
8 years ago
ArkadiuszRaj
19bc3f4d17
Chenge arv_camera_abort_acquisition to arv_camera_stop_acquisition
8 years ago
ArkadiuszRaj
8bd595acfe
fourcc support, improved buffer handling, check if exposure, gain & fps properties are available
8 years ago
ArkadiuszRaj
48ae99ecef
Support for MONO8 & MONO12 pixel formats
8 years ago
ArkadiuszRaj
d80fd0c85c
Missing declaration
8 years ago
ArkadiuszRaj
70c12e5407
Basic support for GigE cameras via Aravis SDK
8 years ago
Vadim Pisarevsky
83f2eb79f1
make sure that the empty mat is copied to UMat properly - i.e. UMat becomes empty. Before the patch such copy operation crashed
8 years ago