blob: c044bf8b8162a5adb917f6b8470a2a12da32d55c (
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 (Trading) Ltd.
*
* dng_writer.h - 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 */
|