summaryrefslogtreecommitdiff
path: root/src/android/camera_stream.cpp
blob: cd9084aeb51bdbd63da5934354689077a39ffd41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
 * Copyright (C) 2020, Google Inc.
 *
 * camera_stream.cpp - Camera HAL stream
 */

#include "camera_stream.h"

#include "jpeg/encoder.h"

using namespace libcamera;

CameraStream::CameraStream(PixelFormat format, Size size,
			   unsigned int index, Encoder *encoder)
	: format_(format), size_(size), index_(index), encoder_(encoder)
{
}