Maksim Shabunin
cbb1e867e5
More issues found by static analysis
6 years ago
Maksim Shabunin
e0603bb45f
Fixed several issues found by static analysis tools
6 years ago
Teng Yiliang
dadde75ef0
use struct member width_set/height_set to replace static width/height.
...
the static variables will cause race-condition when operating in
multithread scenarios.
Signed-off-by: Teng Yiliang <ylteng@outlook.com>
Signed-off-by: Teng Yiliang <yiliang.teng@weimob.com>
6 years ago
Alexander Alekhin
270cc3bcbc
videoio: add routines to query information about backends API
...
into cv::videoio_registry namespace
7 years ago
Maksim Shabunin
a2a9a01e05
AVI container: verbose error messages
7 years ago
Maksim Shabunin
53eb27f508
AVI container: use C++ streams for file operations, check some operations for overflow
7 years ago
Alexander Alekhin
b09a4a98d4
opencv: Use cv::AutoBuffer<>::data()
7 years ago
Alexander Alekhin
f545aee66d
videoio(VFW): lower priority (after DSHOW)
7 years ago
Alexander Alekhin
b3578710cf
videoio(MSMF): fix 32-bit build crash
7 years ago
Alexander Alekhin
2dbaba077a
videoio(msmf): avoid using of C++11 code
...
build fails with MSVS 2012 without additional flags
7 years ago
Alexander Alekhin
7a2448672c
videoio(MSMF): avoid OpenCV load failure on Win7 machines
...
OpenCV binaries are compiled on Win10 environment
7 years ago
Alexander Alekhin
c3a90ccbad
videoio(MSMF): remove "always true" check
7 years ago
Florian Echtler
17888ce0fd
add support for 8-bit greyscale format
7 years ago
Vitaly Tuzov
67b67003c5
Disable MSMF VideoCapture fallback to existing camera in case provided index is out of range.
7 years ago
Rostislav Vasilikhin
18bc2a1a93
Kinect2 support added to OpenNI2 backend ( #11794 )
...
* Kinect2 support added to OpenNI2 backend
* more fixes for OpenNI2 backend
* whitespace fixed
* libfreenect2 support added
* const cast added
* mutable removed
7 years ago
Pavel Rojtberg
2047abd9c3
videoio: realsense - add cvtColor as the pixel-format is only a hint
7 years ago
Adam Rankin
ecf4b639e1
Adding the ability to toggle autofocus on/off for DirectShow webcams
7 years ago
Alexander Alekhin
9629af1aa9
videoio: MSMF async reader for camera stream
...
Synchronized reading from camera with heavy frame processing
provides bad effects (huge frame latency, processing frames from the past).
Generally, there is no way to process each frame and some frames will be dropped.
Allow preventive frame dropping to reduce lag of processed frames.
This mode is applied to cameras only (opened by 'index').
7 years ago
Alexander Alekhin
2bb5d1bca3
videoio(msmf): cleanup unused methods from ComPtr wrapper
...
Use Win32 TRUE/FALSE in SetUINT32() calls for bool parameters
7 years ago
Alexander Alekhin
09c63e4f00
videoio(msmf): fix reopen condition in configureHW()
...
`camid` value is always -1 after close().
7 years ago
Alexander Alekhin
0d249c7448
videoio(msmf): replace custom debug print function
7 years ago
Pavel Rojtberg
bfc227b8d4
videoio: update librealsense to API 2.0
...
this enables the usage of current sensors, while dropping support for
legacy devices, see:
https://github.com/IntelRealSense/librealsense#overview
Given limited resources, and that the legacy sensors where not that
great, I think we should focus on v2.
7 years ago
Vitaly Tuzov
cb4b6bb2dc
Fixed setting of frame size properties for MSMF-based VideoCapture
7 years ago
Alexander Alekhin
c64f6b3c22
videoio(MSMF): refactor grabFrame() / retrieveFrame() methods
...
- no behavior changes in grabFrame()
- added Lock2D() support into retrieveFrame()
7 years ago
Alexander Alekhin
277e9279cc
videoio(gstreamer): support dumping of VideoWriter pipeline
7 years ago
Alexander Alekhin
d041b0a599
videoio: fix capture modes
7 years ago
Alexander Alekhin
2628662586
videoio(ffmpeg): cleanup, remove dead code
7 years ago
Alexander Alekhin
5d68c8dbe7
videoio(test): fixup information dump
7 years ago
Alexander Alekhin
b934702c7f
cmake: support find_package(FFMPEG)
...
Use "OPENCV_FFMPEG_USE_FIND_PACKAGE" variable to specify find_package() parameters
7 years ago
Alexander Alekhin
c94fe0c7e7
videoio(v4l): eliminate global variable
7 years ago
Alexander Alekhin
83d915eca1
videoio(v4l): don't pre-scan or cache list of available cameras
7 years ago
Alexander Alekhin
22f435ff4d
videoio(v4l): fix code indentation, tabs
7 years ago
Alexander Alekhin
ddba772297
videoio: fix isOpened() method for legacy APIs, fix "index" API list
7 years ago
Alexander Alekhin
83ec0f526c
videoio(ffmpeg): add option to enable debug logs
7 years ago
Alexander Alekhin
cd9e43704e
videoio: backends priority list
7 years ago
Alexander Alekhin
5128c1ff1f
videoio(ffmpeg): specify stream->time_base
...
Using codec->time_base is deprecated to specify muxer settings.
Resolves issue with FPS value for AVI files with FFmpeg 4.0.
Related FFmpeg commits:
- 194be1f43e
- 91736025b2
7 years ago
Vitaly Tuzov
9622ca0e37
MSMF-based VideoCapture and VideoWriter backend changed to C++ interface
7 years ago
Alexander Alekhin
39b60f9b17
fix build warnings
7 years ago
Maksim Shabunin
1a15136536
GStreamer backend: fixed memory leak and version check
7 years ago
Alexander Alekhin
e21c01708a
videoio: fix lifetime management of data of input frames
7 years ago
Pavel Rojtberg
936d2963a2
videoio: add rudimentary librealsense 1.x support
...
it is reusing CAP_INTELPERC* enums as Intel PerC is deprecated and
librealsense replaces it.
7 years ago
Vitaly Tuzov
aeed43ec90
FFMPEG-based VideoCapture and VideoWriter backend changed to C++ interface
7 years ago
shengyu
70455a959d
tab to space
7 years ago
Damien Picard
ba000bf8ea
Fixes 11480 : allow to force the video codec used to read videos
...
with the ffmpeg backend
7 years ago
Vitaly Tuzov
1dc73281f8
Added precise seek to MSMF-based VideoCapture::set(CAP_PROP_POS_FRAMES)
7 years ago
Alexander Alekhin
8e15c6fd78
videoio(openni2): fix CV_CAP_PROP_OPENNI2_SYNC property
7 years ago
Alexander Alekhin
84db82a329
build: fix warnings
7 years ago
Alexander Alekhin
ef2548778c
build: -Wimplicit-fallthrough warning for GCC 7+ only
7 years ago
Alexander Alekhin
6b581c4e51
build: unreachable code after CV_Error() (part 2)
7 years ago
Vitaly Tuzov
80600e5cdc
Added DXVA hardware acceleration to MSMF-based VideoCapture
7 years ago