diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-05-18 16:35:10 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-05-19 18:08:27 +0300 |
commit | dfa25e18334c9dc68b1939c62d6b711ece153f92 (patch) | |
tree | </* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2019, Google Inc. * * viewfinder.h - qcam - Viewfinder */ #ifndef __QCAM_VIEWFINDER_H__ #define __QCAM_VIEWFINDER_H__ #include <stddef.h> #include <QIcon> #include <QList> #include <QImage> #include <QMutex> #include <QSize> #include <QWidget> #include <libcamera/buffer.h> #include <libcamera/pixel_format.h> #include "format_converter.h" class QImage; struct MappedBuffer { void *memory; size_t size; }; class ViewFinder : public QWidget { Q_OBJECT public: ViewFinder(QWidget *parent); ~ViewFinder();