Thad House
5dd8e4dc7f
Adds defs for the C windows functions, and shims the 5 missing ones ( #38 )
2017-01-03 19:09:11 -08:00
Peter Johnson
7ddbf20108
Create VideoCamera base class and move camera settings functions to it.
...
This makes them available for both UsbCamera and HttpCamera / AxisCamera.
To avoid virtual functions in the public-facing interface, move the
implementation of the camera settings functions to the core library.
2017-01-02 23:17:00 -08:00
Peter Johnson
4c8c41fdc0
CvSink: Support grayscale images.
...
Also support 4-channel BGRx images and provide better error reporting
on bad images passed to PutFrame.
2016-12-23 22:25:11 -08:00
Peter Johnson
3d28275675
UsbCamera: Simplify the message passing implementation.
2016-12-23 10:58:11 -08:00
Peter Johnson
6f41b3cde7
UsbCamera: Implement LifeCam HD-3000 exposure quirk.
...
On Linux, the V4L exposure setting is logarithmic and only accepts
certain exact values.
2016-12-22 23:44:40 -08:00
Peter Johnson
ced2608afd
Move ExtCtrlIoctl to UsbCameraProperty::DeviceQuery.
2016-12-22 22:44:46 -08:00
Peter Johnson
adbca532c0
Break up UsbCameraImpl::DeviceProcessCommands().
2016-12-22 22:36:07 -08:00
Peter Johnson
5e38d8f28a
Refactor UsbCameraProperty.
2016-12-22 22:11:54 -08:00
Peter Johnson
d6ef2c04a5
Start refactoring source property implementations.
2016-12-22 21:19:50 -08:00
Peter Johnson
ce69783871
UsbCamera: Scale some properties to make them constently percentages.
...
The "raw" version of these properties are still available, just prefixed
with "raw_".
2016-12-22 20:51:04 -08:00
Peter Johnson
10b13da3da
Refactor USB vendor/product to product string to UsbUtil.h.
...
Also implement reading of /var/lib/usbutils/usb.ids for systems that
have it (e.g. desktop Linux).
2016-12-21 10:56:40 -08:00
Peter Johnson
c08a489e27
Improve error message for VIDIOC_STREAMON "no space left on device".
2016-12-18 09:13:01 -08:00
Peter Johnson
2b8b8e7403
Improve logging consistency by using source/sink name throughout.
2016-12-18 09:12:59 -08:00
Peter Johnson
7c2f994a66
Refactor source IsConnected() and connected notification.
2016-12-18 09:05:03 -08:00
Peter Johnson
1f93a4ab4f
Change acronym class names to use MixedCase (UsbCamera, MjpegServer). ( #22 )
2016-12-04 00:08:47 -08:00