[PATCH v2 0/1] cam: Add support for pnm output format

Milan Zamazal mzamazal at redhat.com
Tue Mar 12 16:41:45 CET 2024


This is to make cam file output directly usable, without the need to explore the file format and to
convert it to something usable using home-made converters.

v2: No change, just rebased on current master.

Milan Zamazal (1):
  apps: cam: Add support for pnm output format

 src/apps/cam/file_sink.cpp     | 11 +++++++
 src/apps/cam/main.cpp          |  2 ++
 src/apps/common/meson.build    |  1 +
 src/apps/common/pnm_writer.cpp | 54 ++++++++++++++++++++++++++++++++++
 src/apps/common/pnm_writer.h   | 18 ++++++++++++
 5 files changed, 86 insertions(+)
 create mode 100644 src/apps/common/pnm_writer.cpp
 create mode 100644 src/apps/common/pnm_writer.h

-- 
2.42.0



More information about the libcamera-devel mailing list