summaryrefslogtreecommitdiff
path: root/src/qcam/dng_writer.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-02 21:45:21 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-03 04:32:46 +0300
commit585252eae349ab2871c95a4e37c1e573d0d0d0a3 (patch)
treed897ab71743657d38eb140c1b64e1a198241369e /src/qcam/dng_writer.h
parent3d42c67aab49be609d871dc6980537557c0a7fe1 (diff)
qcam: Pass request metadata to DNG writer
The DNG writer will use the metadata to populate DNG tags. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/qcam/dng_writer.h')
-rw-r--r--src/qcam/dng_writer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qcam/dng_writer.h b/src/qcam/dng_writer.h
index 88b21875..d74d73d0 100644
--- a/src/qcam/dng_writer.h
+++ b/src/qcam/dng_writer.h
@@ -12,6 +12,7 @@
#include <libcamera/buffer.h>
#include <libcamera/camera.h>
+#include <libcamera/controls.h>
#include <libcamera/stream.h>
using namespace libcamera;
@@ -21,6 +22,7 @@ class DNGWriter
public:
static int write(const char *filename, const Camera *camera,
const StreamConfiguration &config,
+ const ControlList &metadata,
const FrameBuffer *buffer, const void *data);
};