6a31a8d8e2
libcamera names header files based on the classes they define. The buffer.h file is an exception. Rename it to framebuffer.h. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
32 lines
664 B
C++
32 lines
664 B
C++
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
/*
|
|
* Copyright (C) 2020, Raspberry Pi (Trading) Ltd.
|
|
*
|
|
* dng_writer.h - DNG writer
|
|
*/
|
|
#ifndef __QCAM_DNG_WRITER_H__
|
|
#define __QCAM_DNG_WRITER_H__
|
|
|
|
#ifdef HAVE_TIFF
|
|
#define HAVE_DNG
|
|
|
|
#include <libcamera/camera.h>
|
|
#include <libcamera/controls.h>
|
|
#include <libcamera/framebuffer.h>
|
|
#include <libcamera/stream.h>
|
|
|
|
using namespace libcamera;
|
|
|
|
class DNGWriter
|
|
{
|
|
public:
|
|
static int write(const char *filename, const Camera *camera,
|
|
const StreamConfiguration &config,
|
|
const ControlList &metadata,
|
|
const FrameBuffer *buffer, const void *data);
|
|
};
|
|
|
|
#endif /* HAVE_TIFF */
|
|
|
|
#endif /* __QCAM_DNG_WRITER_H__ */
|