summaryrefslogtreecommitdiff
path: root/src/cam/meson.build
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2022-10-17 20:33:23 +0900
committerPaul Elder <paul.elder@ideasonboard.com>2022-10-19 21:05:49 +0900
commit6404b163bcbb021508b0b09c36c12b516dcb9a36 (patch)
tree3cba44ffb2fb937b514f0423373bb2366d17fd61 /src/cam/meson.build
parentbb394442abf0f1bcb70fa6a48e3949da79703a71 (diff)
cam: file_sink: Add support for DNG output
Add support for outputting buffers in DNG format. It reuses the DNG writer that we had previously in qcam. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/cam/meson.build')
-rw-r--r--src/cam/meson.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cam/meson.build b/src/cam/meson.build
index 9c766221..06dbea06 100644
--- a/src/cam/meson.build
+++ b/src/cam/meson.build
@@ -52,6 +52,13 @@ if libsdl2.found()
endif
endif
+if libtiff.found()
+ cam_cpp_args += ['-DHAVE_TIFF']
+ cam_sources += files([
+ 'dng_writer.cpp',
+ ])
+endif
+
cam = executable('cam', cam_sources,
dependencies : [
libatomic,
@@ -60,6 +67,7 @@ cam = executable('cam', cam_sources,
libevent,
libjpeg,
libsdl2,
+ libtiff,
libyaml,
],
cpp_args : cam_cpp_args,