diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2019-10-25 13:05:16 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-10-28 17:04:20 +0200 |
commit | 448716d8f75185795d9b01164440d0753850a80a (patch) | |
tree | be19233b0fa0e29b607e52dd62ea10d255dde36a /src/libcamera/pixelformats.cpp | |
parent | 2a8bf04227811b29bc94b942e78f1567afd8874b (diff) |
libcamera: Switch PixelFormat to DRM FourCC values
Use DRM FourCC values for the newly defined PixelFormat.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/libcamera/pixelformats.cpp')
-rw-r--r-- | src/libcamera/pixelformats.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libcamera/pixelformats.cpp b/src/libcamera/pixelformats.cpp index 9377fb5e..c0333540 100644 --- a/src/libcamera/pixelformats.cpp +++ b/src/libcamera/pixelformats.cpp @@ -19,8 +19,10 @@ namespace libcamera { * \brief libcamera image pixel format * * The PixelFormat type describes the format of images in the public libcamera - * API. It stores a FourCC value in a 32-bit unsigned integer. The values are - * defined in the Linux kernel V4L2 API (see linux/videodev2.h). + * API. It stores a FourCC value as a 32-bit unsigned integer. The values are + * defined in the Linux kernel DRM/KMS API (see linux/drm_fourcc.h). + * + * \todo Add support for format modifiers */ } /* namespace libcamera */ |