[v1,0/2] imx8-isi: Use MediaPipeline
mbox series

Message ID 20251113100414.535550-1-antoine.bouyer@nxp.com
Headers show
Series
  • imx8-isi: Use MediaPipeline
Related show

Message

Antoine Bouyer Nov. 13, 2025, 10:04 a.m. UTC
Submit this imx8-isi rework on behalf of Andrei. This series is about
using libcamera MediaPipeline class to simplify imx8-isi pipeline
configuration.

Instead of going over each pipeline subdevices during imx8-isi match(),
all is handled by MediaPipeline class. It helps supporting complex
topologies, where subdevice(s) could be optional, typically on i.MX95
SoC which has a formatter, while other i.MX SoCs don't have it.

It reuses the simple pipeline's locateSensors method, so external ISP are
also supported then. ISP is considered as the 'sensor' element.

Tested on i.MX8MP SoC.

---
Andrei Gansari (2):
  libamera: media_pipeline: Move entities list to public
  pipeline: imx8-isi: Integrating MediaPipeline class

 include/libcamera/internal/media_pipeline.h  |   4 +-
 src/libcamera/pipeline/imx8-isi/imx8-isi.cpp | 159 ++++++++++++-------
 2 files changed, 101 insertions(+), 62 deletions(-)