mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-23 16:45:07 +03:00
libcamera: stream: Construct a stream
Construct a stream object with a default internal pool. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
parent
468176fa07
commit
1b7051b492
2 changed files with 26 additions and 0 deletions
|
@ -7,10 +7,18 @@
|
|||
#ifndef __LIBCAMERA_STREAM_H__
|
||||
#define __LIBCAMERA_STREAM_H__
|
||||
|
||||
#include <libcamera/buffer.h>
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
class Stream final
|
||||
{
|
||||
public:
|
||||
Stream();
|
||||
BufferPool &bufferPool() { return bufferPool_; }
|
||||
|
||||
private:
|
||||
BufferPool bufferPool_;
|
||||
};
|
||||
|
||||
struct StreamConfiguration {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue