Valeriy Van
f1dcf71dd7
Merge pull request #7178 from valeriyvan:iosfixes
...
* Changes delegate property from assign to weak
In modern Objective-C delegate should be weak. In very rare conditions you might want delegate be strong.
Assign for delegate is sign of legacy code.
This change prevents crash when you forget nil delegate in dealloc and makes rush with nilling delegate unnecessary.
This change shouldn't break any existing code.
* Adds implementation for setters and getters for weak delegate properties for non ARC Obj-C files
For whatever reason compiler can't synthesize these.
And yes, it's time to convert all Objective-C stuff to ARC.
8 years ago
PkLab.net
be65701908
Large update of videoio doc and samples following mshabunin comments
8 years ago
Alexander Alekhin
f85e33f4af
videoio: refactor AVFoundation code integration
8 years ago
Alexander Alekhin
03767340bb
ffmpeg: fill avg_frame_rate
8 years ago
Alexander Alekhin
6d54abbd0f
ffmpeg: fix get_fps()
8 years ago
Valeriy Van
5a71bde79a
Changes existential NSStringFromSelector(_cmd) for straightforward __FUCNTION__
8 years ago
Valeriy Van
517be4bfa9
Changes [error localizedDescription] for [error description] in NSLog
...
There's no sense to log error messages in user’s locale.
Imagine you’re trying to guess what's going on decrypting logs in hebrew, arabic, slavic. localizedDescription is for end user messages, not for logs.
8 years ago
Valeriy Van
31e790da33
Fixes spelling in NSLog
8 years ago
Valeriy Van
69c7eea694
Cleans up ios stuff declaration removing not needed ivars backing properties
8 years ago
Valeriy Van
f1db065c10
Unifies Obj-C property attributes changing retain to strong
...
strong and retain are synonymous but using strong along with obsolete synonym retain in one file is negligent
8 years ago
Alexander Alekhin
5383a625a7
fix Win build, change default WINNT macro to WinXP
...
Returning to Win2k value is possible via this CMake option:
cmake -DOPENCV_EXTRA_FLAGS="/D_WIN32_WINNT=0x0500" ...
8 years ago
Matthew Self
0882936707
Fix buffer release issue
...
CvVideoWriter_AVFoundation_Mac had a serious buffer release bug.
Also made writeFrame() block until isReadyForMoreMediaData rather than
return an error.
8 years ago
Matthew Self
a92da54e79
Add support for CAP_PROP_MODE
...
Support setting CAP_PROP_MODE to capture grayscale or YUV frames much
faster from CV_CAP_AVFOUNDATION_MAC.
8 years ago
Valeriy Van
574f319c74
Fixes spelling in comment
8 years ago
yoffy
767780a4b2
add VideoCapture / VideoWriter AVFoundation implementation for Mac
8 years ago
Pavel Vlasov
30a6cee2fe
Instrumentation for OpenCV API regions and IPP functions;
8 years ago
PkLab.net
3ea02018b5
Naming some enumerations in videoio
8 years ago
kurenai
c61f4e8863
return false from VideoCapture::grabFrame when camera is disconneted
8 years ago
David Wolever
b42288c2de
Cleaner fix for crash on double-stop of CvVideoCamera
8 years ago
David Wolever
3d19de2b58
Fix crash on double-stop of CvVideoCamera
8 years ago
Alexander Alekhin
daf1879a2e
test: ffmpeg: change resolution for H264 test
8 years ago
Alexander Alekhin
998c43ffea
videoio: ffmpeg: fix get_fps() implementation
9 years ago
Alexander Alekhin
1f26e73478
ffmpeg: try to load ffmpeg wrapper dll from the current module directory
9 years ago
Alexander Alekhin
ddc0b42bc3
migration: github.com/opencv/opencv
9 years ago
Michael Shtutman
3f2ab5d3b5
Fix bug #6682 (Can't change resolution for YUY2 camera with DShow)
9 years ago
PkLab.net
f274c592e4
Use copydoc for the list of valid property identifier in VideoCapture and VideoWriter docs
9 years ago
PkLab.net
6c3d8abe2c
Doxygen documentation for CAP_* enums (using current comments in code)
9 years ago
Dmitry Trifonov
f9e6741807
added support for OpenNI2 IR stream #4366
9 years ago
Adam Rankin
2577194c70
Correcting return type from videoDevice::findType to be int thus allowing detection of failed device init request
9 years ago
Louis Letourneau
c03d778ec7
This fixes the seeking in h264 B-Frame enabled video issue. #4890
9 years ago
Dmitry Trifonov
688ebd8960
add support for multiple OpenNI2 devices
9 years ago
Julien Nabet
a29c814bd8
cppcheck: fix some reports
...
All of these: (performance) Prefer prefix ++/-- operators for non-primitive types.
[modules/calib3d/src/fundam.cpp:1049] -> [modules/calib3d/src/fundam.cpp:1049]: (style) Same expression on both sides of '&&'.
9 years ago
StevenPuttemans
88c0d64b4e
fixing gstreamer cap
9 years ago
Alexander Alekhin
9744073b95
videoio: give chance for all enabled backends
...
"Eat" unexpected backend exceptions
9 years ago
Pavel Rojtberg
91678ff828
cap_v4l: allow manually controlling exposure
9 years ago
Dustin Spicuzza
e489f29d0f
v4l/libv4l: allow opening device by name
...
- Allows using non-default device names such as /dev/v4l/by-path/pci-0000:00:1d.0-usb-0:1.1:1.0-video-index0
9 years ago
Andreas Franek
1b3a967223
Enable directly writing jpeg-encoded streams with GStreamer
...
CvVideoWriter_GStreamer assumes a JPEG encoded stream if the height of
the given frame size is 1.
9 years ago
shengyu
2d41321ca0
fix quote
9 years ago
Alexander Alekhin
7d9a480597
ffmpeg: interrupt callback fix
9 years ago
Pavel Rojtberg
9dc14b3efc
cap_gst: inspect sink instead of videoconvert to find out properties
...
videoconvert might not be present on a manual pipeline, but appsink must
be.
9 years ago
Lucas Solomon
d2d5d32fe0
remove trailing whitespace
9 years ago
Lucas Solomon
688b4d9d7a
return 0 from VideoCapture::read() when cannot connect to camera
9 years ago
Peter Rekdal Sunde
278747ba45
Add support for ffmpeg 3.0.
9 years ago
Dan
da189ce1e0
Fixed regression in cv::VideoCapture with gstreamer back end that prevented viewing of rtsp streams.
9 years ago
Josh Lubawy
1bd8bcbdd9
Remove cstdio debug
9 years ago
Josh Lubawy
f715e5b0b2
Add support for YUV 4:2:0 NV12 frame format in VFW camera capture
9 years ago
Krishnaraj Bhat
9b8013d193
gcc6: fix misleading indentation warning
...
cosmetic changes to fix this warning.
real bugs not found
9 years ago
Pavel Rojtberg
ff77f4d9ef
GStreamer: allow reading raw MJPEG data
9 years ago
Péter Trombitás
410eb30c26
Fix for #6192 (Mismatching delete)
9 years ago
Marian Zajko
e55a053d71
ximea new param
...
- added CAP_PROP_XI_SENSOR_BOARD_TEMP parameter
- added acquisition resetting for paramters that require it
9 years ago