mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-24 00:55:07 +03:00
libcamera: stream: Add and use toString() method to StreamConfiguration
Add a toString() method to the StreamConfiguration class, and replace all manually coded implementations through the source code. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
8cf52e378d
commit
0af0fb9ca9
5 changed files with 27 additions and 15 deletions
|
@ -7,6 +7,8 @@
|
|||
#ifndef __LIBCAMERA_STREAM_H__
|
||||
#define __LIBCAMERA_STREAM_H__
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <libcamera/buffer.h>
|
||||
#include <libcamera/geometry.h>
|
||||
|
||||
|
@ -20,6 +22,8 @@ struct StreamConfiguration {
|
|||
unsigned int pixelFormat;
|
||||
|
||||
unsigned int bufferCount;
|
||||
|
||||
std::string toString() const;
|
||||
};
|
||||
|
||||
class StreamUsage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue