summaryrefslogtreecommitdiff
path: root/src/cam/main.cpp
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/main.cpp
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/main.cpp')
-rw-r--r--src/cam/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cam/main.cpp b/src/cam/main.cpp
index 53c2ffde..c4e18a13 100644
--- a/src/cam/main.cpp
+++ b/src/cam/main.cpp
@@ -144,6 +144,8 @@ int CamApp::parseOptions(int argc, char *argv[])
"to write files, using the default file name. Otherwise it sets the\n"
"full file path and name. The first '#' character in the file name\n"
"is expanded to the camera index, stream name and frame sequence number.\n"
+ "If the file name ends with '.dng', then the frame will be written to\n"
+ "the output file(s) in DNG format.\n"
"The default file name is 'frame-#.bin'.",
"file", ArgumentOptional, "filename", false,
OptCamera);