summaryrefslogtreecommitdiff
path: root/src/apps/common/dng_writer.h
blob: aaa8a852b30732bacb6c75e6afab2672582f701f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
 * Copyright (C) 2020, Raspberry Pi Ltd
 *
 * DNG writer
 */

#pragma once

#ifdef HAVE_TIFF

#include <libcamera/camera.h>
#include <libcamera/controls.h>
#include <libcamera/framebuffer.h>
#include <libcamera/stream.h>

class DNGWriter
{
public:
	static int write(const char *filename, const libcamera::Camera *camera,
			 const libcamera::StreamConfiguration &config,
			 const libcamera::ControlList &metadata,
			 const libcamera::FrameBuffer *buffer, const void *data);
};

#endif /* HAVE_TIFF */