blob: d4899f4533455c13a930370546ef5278ab6de5f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2022, Google Inc.
*
* HAL Frame Buffer Handling
*/
#include "hal_framebuffer.h"
#include <hardware/camera3.h>
HALFrameBuffer::HALFrameBuffer(std::unique_ptr<Private> d,
buffer_handle_t handle)
: FrameBuffer(std::move(d)), handle_(handle)
{
}
HALFrameBuffer::HALFrameBuffer(const std::vector<Plane> &planes,
buffer_handle_t handle)
: FrameBuffer(planes), handle_(handle)
{
}
|