/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2020, Google Inc. * * libcamera camera test helper to create FrameBuffers */ #pragma once #include #include "libcamera/internal/media_device.h" #include "libcamera/internal/v4l2_videodevice.h" class BufferSource { public: BufferSource(); ~BufferSource(); int allocate(const libcamera::StreamConfiguration &config); const std::vector> &buffers(); private: std::shared_ptr media_; std::vector> buffers_; }; ref='/'>index : libcamera/libcamera.git
libcamera official repositorygit repository hosting on libcamera.org
summaryrefslogtreecommitdiff
blob: cea49e2dbb1727f18f7da9432106499a050441a4 (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