Peter Johnson
883fd5b062
For property events, provide property name rather than source name.
...
This is much more useful.
2017-01-02 23:17:00 -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
88afefe464
Avoid crash in SourceImpl constructor.
...
The Frame constructor calls back into SourceImpl (the passed this reference),
and when in-place constructed in the SourceImpl constructor, SourceImpl
is only partially constructed.
2016-12-21 10:56:40 -08:00
Peter Johnson
80abf6bf24
Support per-stream resolution settings.
...
The code now automatically resizes as required.
This change also disconnects camera resolution settings from MJPEG
stream connections; setting the camera resolution can now only be done
via code.
2016-12-20 20:48:31 -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
9a8f66e3e5
SourceImpl: Add no-copy PutFrame.
2016-12-04 21:45:37 -08:00
Peter Johnson
ec8c0eb3c2
Fix FPS setting and crash in reapplying settings.
2016-11-18 19:23:35 -08:00
Peter Johnson
791cabbc26
Rename Type to Kind.
2016-11-18 12:41:08 -08:00
Peter Johnson
7e0e8286eb
SourceImpl: Refactor frame allocation into AllocFrame.
2016-11-18 12:40:31 -08:00
Peter Johnson
5ae1162378
Move MJPEG DHT insertion from SourceImpl to MJPEGServerImpl.
...
OpenCV imdecode supports images with no DHT, so it's not necessary to
add it on the source side.
2016-11-18 12:40:31 -08:00
Peter Johnson
254b88bdbe
Start adding support for non-MJPEG frame types.
...
Not yet supported by MJPEGServer.
2016-11-18 12:40:31 -08:00
Peter Johnson
46085824ae
Add DHT data to MJPEG source images if not present.
2016-11-02 21:32:13 -07:00
Peter Johnson
a5f63c3ae3
SourceImpl::GetNextFrame(): Avoid spurious wakeups.
2016-10-26 23:31:18 -07:00
Peter Johnson
7ea13f7e03
Refactor properties from USBCameraImpl to SourceImpl.
2016-10-23 18:20:56 -07:00
Peter Johnson
1f6b386325
Implement frame timestamps and use wpi::Now() for generation.
2016-10-22 22:09:47 -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
9bb37d5df0
Remove support for multiple channels.
2016-09-18 17:15:27 -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
85be299da1
Start implementation.
2016-09-08 00:07:20 -07:00