libcamera: Add a poll-based event dispatcher

Provide a poll-based event dispatcher implementation as convenience for
applications that don't need a custom event loop. The poll-based
dispatcher is automatically instantiated if the application doesn't
provide its own dispatcher.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Laurent Pinchart 2019-01-04 21:26:14 +02:00
parent 1a57bcb8d1
commit 8356f8a6ab
5 changed files with 302 additions and 5 deletions

View file

@ -10,5 +10,6 @@
#include <libcamera/camera.h>
#include <libcamera/camera_manager.h>
#include <libcamera/event_dispatcher.h>
#include <libcamera/event_dispatcher_poll.h>
#endif /* __LIBCAMERA_LIBCAMERA_H__ */