Files
external_libcamera/include/libcamera/stream.h
Niklas Söderlund 4a5febd7dd libcamera: streams: extend stream configuration with buffer count
The camera needs to be configured with the number of buffers required to
satisfy the applications use case. While the application can request any
number of buffers, the pipeline must take the constraints of the Linux
driver into consideration.

Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2019-02-04 20:21:19 +01:00

27 lines
441 B
C++

/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2019, Google Inc.
*
* stream.h - Video stream for a Camera
*/
#ifndef __LIBCAMERA_STREAM_H__
#define __LIBCAMERA_STREAM_H__
namespace libcamera {
class Stream final
{
};
struct StreamConfiguration {
unsigned int width;
unsigned int height;
unsigned int pixelFormat;
unsigned int bufferCount;
};
} /* namespace libcamera */
#endif /* __LIBCAMERA_STREAM_H__ */