Commit Graph

13 Commits

Author SHA1 Message Date
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
52c8743b36 Finish rename of EnumerateSinks to EnumerateSinkHandles.
And similarly for EnumerateSources to EnumerateSourceHandles.
2016-09-09 23:28:57 -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
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
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
151c89fb5d Rename FrameGrab to GrabFrame. 2016-08-26 00:30:45 -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
e1515299c2 Initial commit. 2016-08-14 12:38:13 -07:00