Peter Johnson
29d8d1d74c
Implement listener interfaces.
2016-11-05 13:19:02 -07:00
Peter Johnson
8d2efb2838
Improve listener interface.
...
Now a structure is passed back, enabling combining the existing source
and sink listeners and adding property listeners as well.
2016-11-05 13:19:02 -07:00
Peter Johnson
c66a55d81a
Implement CvSink.
...
* Make CvSink constructor explicit.
* Add SetDescription function.
2016-10-26 23:37:00 -07:00
Peter Johnson
9a44a38141
Fix source and sink refcounting.
2016-10-26 23:34:44 -07:00
Peter Johnson
511d551546
Implement most CvSource functionality.
2016-10-24 20:27:00 -07:00
Peter Johnson
9142cbb820
CvSource: Update interface functions.
...
- Add SetDescription
- Supply minimum, maximum, step, defaultValue, and value to CreateProperty
- Add SetEnumPropertyChoices
2016-10-23 08:43:06 -07:00
Peter Johnson
1f6b386325
Implement frame timestamps and use wpi::Now() for generation.
2016-10-22 22:09:47 -07:00
Peter Johnson
218718a063
Add OpenCV dependency and update OpenCV interfaces.
...
This requires the wpilibsuite/opencv packages with PRs 1-3 applied.
2016-10-22 09:57:33 -07:00
Peter Johnson
9caa0af4d9
USBCamera, HTTPCamera: Name functions consistent with classes.
2016-10-15 23:07:28 -07:00
Peter Johnson
417545d521
Finish most of USBCameraImpl.
...
The main thing not yet fully implemented is video mode setting.
Also fix a handful of bugs in HTTPSinkImpl.
2016-10-13 00:16:24 -07:00
Peter Johnson
70616c48e3
Add support for enumerating and changing USB camera video mode.
2016-09-29 00:04:16 -07:00
Peter Johnson
d5e5755ff4
Collapse boolean/double/enum properties into just integer.
2016-09-20 22:17:12 -07:00
Peter Johnson
dad44cc928
Add status parameter to property functions.
2016-09-19 23:50:47 -07:00
Peter Johnson
2c80587d11
Start implementing USBCamera.
2016-09-19 22:11:37 -07:00
Peter Johnson
80eb056432
Fix property handles (and allocate more bits to the property index).
2016-09-19 22:04:45 -07:00
Peter Johnson
c606671d27
Consistently name property max/min functions and add step/default.
2016-09-18 17:25:21 -07:00
Peter Johnson
9bb37d5df0
Remove support for multiple channels.
2016-09-18 17:15:27 -07:00
Peter Johnson
052f746c68
Use StringRef and ArrayRef return values when buf passed.
...
For functions where a SmallVector is passed to be used as a stack buffer for
the return value, have the return value be the appropriate StringRef or
ArrayRef type. This allows for both more natural usage and enables directly
returning (rather than copying) a permanently stored or constant string.
2016-09-10 21:30:39 -07:00
Peter Johnson
e415ca66b6
Initial HTTPSink implementation. Untested.
2016-09-08 00:07:20 -07:00
Peter Johnson
85be299da1
Start implementation.
2016-09-08 00:07:20 -07:00
Peter Johnson
ec080118f4
Clean up odd special case of GetSourceProperty().
2016-08-26 09:24:18 -07:00
Peter Johnson
0fbb2e8a14
Add methods to get property name and enumerate properties.
...
Also add method to remove property by handle.
2016-08-26 08:51:23 -07:00
Peter Johnson
0158fd35f0
Continue implementing C wrappers.
...
Implement non-OO C++ EnumerateUSBCameras().
2016-08-26 07:04:33 -07:00
Peter Johnson
7c1da2dfcd
Split classes in cameraserver_cpp.h out to cameraserver_oo.h.
2016-08-26 00:08:02 -07:00
Peter Johnson
aec16a934f
Revamp API again and start implementing C and Java wrapper shells.
2016-08-25 23:13:48 -07:00
Peter Johnson
b2831347bc
Revamp API.
2016-08-19 23:05:28 -07:00