Pavel Rojtberg
c0fe522c9d
allow changing FPS and Image Size using V4L2
...
use logic similar to cap_libv4l: replace icvSetVideoSize by v4l2_reset
as it was not used for V4L1, the actual frame format is negotiated in
try_palette_v4l2 and the stream has to restarted anyway.
10 years ago
Pavel Rojtberg
18034a5138
allow icvGetPropertyCAM_V4L to return zero
...
now icvGetPropertyCAM_V4L behaves the same as in cap_libv4l. This also
fixes passing boolean values.
10 years ago
Pavel Rojtberg
f7981a8ae8
support setting focus and autofocus with V4L2
...
also refactor property range handling and opencv property to V4L2
translation.
10 years ago
alexander barakin (aka sash-kan)
0d821f04fd
fix icvCloseCAM_V4L wrong order of code blocks
...
this patch fixes bug http://code.opencv.org/issues/2822 .
based on disussion (in russian):
http://ru.stackoverflow.com/a/428398/178576
Signed-off-by: alexander barakin (aka sash-kan) <alex@barak.in>
10 years ago
Dikay900
7ca0557b40
typos in comments
10 years ago
Artur Wieczorek
854a722c70
Implement VideoCapture::get, CvCapture::getProperty, IVideoCapture::getProperty as constant methods.
10 years ago
Yusuke Suzuki
9cd08c662c
add V4L2_PIX_FMT_RGB24 convert code
11 years ago
vbystricky
d58f736935
Split highgui module to videoio and highgui
11 years ago
unknown
ade46bd428
Fixed typos in comments
11 years ago
Dave Hughes
b184d7f27b
Fix for #3554
...
v4l2_scan_controls_enumerate_menu is unused and causes ioctl error on
RaspberryPi and possibly other Video4Linux variants. See
http://www.raspberrypi.org/forum/viewtopic.php?f=43&t=65026 for more
detail.
11 years ago
Alexander Smorkalov
8cb0921252
pr #1464 reverted as breaking the build for Linux without libv4l library.
12 years ago
StevenPuttemans
1b1fb131b3
Attempt at fixing bug 3186
12 years ago
Roman Donchenko
ad52dd37a9
Revert "Merge pull request #1376 from StevenPuttemans:bugfix_3186"
...
This reverts commit 41b8479d03
, reversing
changes made to 531471b0aa
.
Reason: breaks the build.
12 years ago
StevenPuttemans
e7921c3fe7
Added changes suggested by bug #3186 : fixing the unplugging of webcam
12 years ago
Roman Donchenko
f55740da70
Deleted all trailing whitespace.
12 years ago
Kirill Kornyakov
cbed07bc18
Removed references to YG from samples
12 years ago
dave
8db1a73102
Added v4l2 support for getting capture property CV_CAP_PROP_POS_MSEC
12 years ago
Ivan Korolev
eaa5012163
fix v4l yes-yes build
12 years ago
Andrey Kamaev
287fb2c611
Fix build warning
12 years ago
Andrey Kamaev
cf407c2ec0
Don't check for EINTR and replace xioctl with ioctl
...
This should be safe todo unless we are writing a signal handler.
12 years ago
Patrick Welche
1a84bcc565
NetBSD video(4) support, patch 3 of 3
...
xioctl() assumes that ioctl takes int request. Cope with
int ioctl(int d, unsigned long request, ...)
to avoid "invalid argument".
12 years ago
Patrick Welche
681ffd9a21
NetBSD video(4) support, patch 2 of 3
...
* Decouple Video4Linux2 support from Video4Linux as existence of
v4l2 on a system does not imply support for v4l.
* Don't use V4L's struct video_window in V4L2 code.
* Removed __USE_GNU as comment says:
/* support for MJPEG is only available with libjpeg and gcc,
because it's use libjepg and fmemopen()
so replace with test for fmemopen() if found necessary.
12 years ago
Patrick Welche
d90b8d615c
NetBSD video(4) support, patch 1 of 3
...
The video(4) driver provides a Video4Linux2 compatible API for
various video peripherals. This patch propagates HAVE_VIDEOIO if
the sys/videoio.h include file is found, which is the signature of
video(4).
12 years ago
OpenCV Buildbot
81f826db2b
Normalize line endings and whitespace
13 years ago
OpenCV Buildbot
04384a71e4
Normalize line endings and whitespace
13 years ago
Evgeny Talanin
5dd1ec98f7
#720 patch apply
13 years ago
Vadim Pisarevsky
420dd22258
fixed a few warnings reported by Oleg; restored SSE2 optimization in FAST
13 years ago
Andrey Kamaev
bd0e0b5800
Merged the trunk r8589:8653 - all changes related to build warnings
13 years ago
Marina Kolpakova
f273e54be3
fixed part of shadow warnings
13 years ago
Marina Kolpakova
09d4d69100
minor warning fixes
13 years ago
Alexander Reshetnikov
2a68228b66
changed icvSetVideoSize function (ticket #1067 )
13 years ago
Vadim Pisarevsky
3d92d4c0bc
fixed compile errors on Ubuntu 11.04
14 years ago
Vadim Pisarevsky
feb0de80e1
avoid use of writable global variables in V4L capturing module (thanks to fjmadrid for the patch! - see the ticket #384 )
15 years ago
Vadim Pisarevsky
3510b4c81e
fixed "undefined cvCreateCameraCapture_V4L" linker errors on some linux distros (thanks to miguelinux for the patch)
15 years ago
Vadim Pisarevsky
127d6649a1
"atomic bomb" commit. Reorganized OpenCV directory structure
15 years ago