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
c4ceec145a
Enable unit tests.
2016-09-10 13:01:16 -07:00
Peter Johnson
775386d8b3
HTTPSinkImpl: Implement GetDescription.
2016-09-10 12:46:43 -07:00
Peter Johnson
451c08ef7b
Add wpiutil library dependency to builds.
2016-09-10 12:06:18 -07:00
Peter Johnson
52c8743b36
Finish rename of EnumerateSinks to EnumerateSinkHandles.
...
And similarly for EnumerateSources to EnumerateSourceHandles.
2016-09-09 23:28:57 -07:00
Peter Johnson
5c59b9aeb3
Make HTTPCamera constructor public.
2016-09-09 23:06:50 -07:00
Peter Johnson
3e00dabd16
Import gmock.
2016-09-09 22:55:15 -07:00
Peter Johnson
ba241cd7f9
Source: Keep track of how many sinks are connected and enabled.
2016-09-08 23:52:23 -07:00
Peter Johnson
ddb97bfafb
Fix SendStream error handling.
2016-09-08 21:00:23 -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
9dd5bea7a5
Create a common CS_Handle. Add initial status values.
2016-09-08 00:07:20 -07:00
Peter Johnson
e71abedefb
Add logging implementation.
2016-09-08 00:07:20 -07:00
Peter Johnson
6943d14f93
Java: Use wpiutil jni-util.h helpers.
2016-08-28 21:20:40 -07:00
Peter Johnson
e8643600f2
Implement all current JNI native functions.
2016-08-26 10:46:10 -07:00
Peter Johnson
cb7f1f6e3e
Initial .def file real content.
2016-08-26 09:31:58 -07:00
Peter Johnson
af7132be82
Initial CameraServerJNI.cpp commit.
2016-08-26 09:31:42 -07:00
Peter Johnson
ec080118f4
Clean up odd special case of GetSourceProperty().
2016-08-26 09:24:18 -07:00
Peter Johnson
6bcc0e2d82
Correctly prefix CS_EnumerateSourceProperties.
2016-08-26 09:12:55 -07:00
Peter Johnson
2fd81a7e33
Add copyright notices to Java files.
2016-08-26 09:01:54 -07:00
Peter Johnson
2f99f81aa6
Java: Add VideoProperty implementation.
2016-08-26 08:51:28 -07:00
Peter Johnson
97f1f1c9c4
CameraServerJNI: Fix case of a few functions.
2016-08-26 08:51:28 -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
80b15b7fe5
Add a bit of description about how handles work in the C API.
2016-08-26 01:00:38 -07:00
Peter Johnson
2acca6eeb1
cameraserver_cpp.h: Move stdint.h above the C++ includes.
2016-08-26 00:43:03 -07:00
Peter Johnson
151c89fb5d
Rename FrameGrab to GrabFrame.
2016-08-26 00:30:45 -07:00
Peter Johnson
4f22ac4100
Move all non-trivial inline functions to cameraserver_oo.inl.
2016-08-26 00:29:28 -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
b5d32ec844
VideoSource, VideoSink: Move the status flag too.
2016-08-25 23:17:46 -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
c25c62e0af
Update gradle to 3.0.
2016-08-22 20:40:19 -07:00
Peter Johnson
b2831347bc
Revamp API.
2016-08-19 23:05:28 -07:00
Peter Johnson
e1515299c2
Initial commit.
2016-08-14 12:38:13 -07:00