summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/internal/formats.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/libcamera/internal/formats.h b/include/libcamera/internal/formats.h
index b2869c93..5ebc68f9 100644
--- a/include/libcamera/internal/formats.h
+++ b/include/libcamera/internal/formats.h
@@ -54,7 +54,10 @@ public:
/* \todo Add support for non-contiguous memory planes */
const char *name;
PixelFormat format;
- V4L2PixelFormat v4l2Format;
+ struct {
+ V4L2PixelFormat single;
+ V4L2PixelFormat multi;
+ } v4l2Formats;
unsigned int bitsPerPixel;
enum ColourEncoding colourEncoding;
bool packed;