summaryrefslogtreecommitdiff
path: root/src/libcamera/include/v4l2_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/include/v4l2_device.h')
-rw-r--r--src/libcamera/include/v4l2_device.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/libcamera/include/v4l2_device.h b/src/libcamera/include/v4l2_device.h
index c67ebbff..c70959e6 100644
--- a/src/libcamera/include/v4l2_device.h
+++ b/src/libcamera/include/v4l2_device.h
@@ -53,6 +53,20 @@ struct V4L2Capability final : v4l2_capability {
}
};
+class V4L2DeviceFormat
+{
+public:
+ uint32_t width;
+ uint32_t height;
+ uint32_t fourcc;
+
+ struct {
+ uint32_t size;
+ uint32_t bpl;
+ } planesFmt[3];
+ unsigned int planes;
+};
+
class MediaEntity;
class V4L2Device
{