[v1,0/1] Add Task and Scheduler
mbox series

Message ID 20240826193159.1503757-1-chenghaoyang@google.com
Headers show
Series
  • Add Task and Scheduler
Related show

Message

Cheng-Hao Yang Aug. 26, 2024, 7:26 p.m. UTC
Hi folks,

This is mostly the Task and Scheduler used in pipeline handler mtkisp7.
All operations of mtkisp7 are wrapped in Tasks and executed by the
Scheduler.

Laurent mentioned that they have another scheduler design in mind.
Please share your thoughts in the email thread, or upload a POC patch
that we can compare the two different designs. Thanks!

BR,
Harvey

Harvey Yang (1):
  libcamera: Introduce scheduler and task for complex pipeline data flow

 include/libcamera/internal/meson.build      |   1 +
 include/libcamera/internal/task_scheduler.h | 116 ++++++++
 src/libcamera/meson.build                   |   1 +
 src/libcamera/task_scheduler.cpp            | 301 ++++++++++++++++++++
 4 files changed, 419 insertions(+)
 create mode 100644 include/libcamera/internal/task_scheduler.h
 create mode 100644 src/libcamera/task_scheduler.cpp