blob: 917713e6100161715ee119f2d03761bde32ae32f (
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
27
|
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2020, Raspberry Pi Ltd
*
* DNG writer
*/
#pragma once
#ifdef HAVE_TIFF
#define HAVE_DNG
#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 */
|