[libcamera-devel,0/2] Use a generic converter interface in simple pipeline.
mbox series

Message ID 20221010131744.513261-1-xavier.roumegue@oss.nxp.com
Headers show
Series
  • Use a generic converter interface in simple pipeline.
Related show

Message

Xavier Roumegue Oct. 10, 2022, 1:17 p.m. UTC
From: Xavier Roumegue <xavier.roumegue@oss.nxp.com>

Hi,

This patch set is a follow up on the dewarp support on simple and rkisp1
pipelines series ("Add dw100 dewarper support to simple/rkisp1 pipeline").

I isolated the patches introducing a generic converter interface aiming to offer
an abstract base class for concrete implementation on top of a subsystem.

The converter implementation of the simple pipeline handler has been spread out
in two parts:
- Generic interface class definition
- V4L2 M2M concrete implementation

There are no functional changes.

Regards,
 Xavier

Xavier Roumegue (2):
  libcamera: Declare generic converter interface
  libcamera: pipeline: simple: converter: Use generic converter
    interface

 include/libcamera/internal/converter.h        | 108 ++++++
 .../internal/converter/converter_v4l2_m2m.h   |  18 +-
 .../libcamera/internal/converter/meson.build  |   5 +
 include/libcamera/internal/meson.build        |   3 +
 src/libcamera/converter.cpp                   | 337 ++++++++++++++++++
 .../converter_v4l2_m2m.cpp}                   | 149 +++++---
 src/libcamera/converter/meson.build           |   5 +
 src/libcamera/meson.build                     |   2 +
 src/libcamera/pipeline/simple/meson.build     |   1 -
 src/libcamera/pipeline/simple/simple.cpp      |   6 +-
 10 files changed, 566 insertions(+), 68 deletions(-)
 create mode 100644 include/libcamera/internal/converter.h
 rename src/libcamera/pipeline/simple/converter.h => include/libcamera/internal/converter/converter_v4l2_m2m.h (83%)
 create mode 100644 include/libcamera/internal/converter/meson.build
 create mode 100644 src/libcamera/converter.cpp
 rename src/libcamera/{pipeline/simple/converter.cpp => converter/converter_v4l2_m2m.cpp} (69%)
 create mode 100644 src/libcamera/converter/meson.build

--
2.37.3