summaryrefslogtreecommitdiff
path: root/test/media_device
ModeNameSize
-rw-r--r--media_device_acquire.cpp532logplain
-rw-r--r--media_device_link_test.cpp5709logplain
-rw-r--r--media_device_print_test.cpp3274logplain
-rw-r--r--media_device_test.cpp754logplain
-rw-r--r--media_device_test.h678logplain
-rw-r--r--meson.build882logplain
inal : public EventDispatcher { public: EventDispatcherPoll(); ~EventDispatcherPoll(); void registerEventNotifier(EventNotifier *notifier); void unregisterEventNotifier(EventNotifier *notifier); void registerTimer(Timer *timer); void unregisterTimer(Timer *timer); void processEvents(); void interrupt(); private: struct EventNotifierSetPoll { short events() const; EventNotifier *notifiers[3]; }; int poll(std::vector<struct pollfd> *pollfds); void processInterrupt(const struct pollfd &pfd); void processNotifiers(const std::vector<struct pollfd> &pollfds); void processTimers(); std::map<int, EventNotifierSetPoll> notifiers_; std::list<Timer *> timers_; int eventfd_; bool processingEvents_; }; } /* namespace libcamera */