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>
This commit is contained in:
Jacopo Mondi
2019-10-25 13:05:16 +02:00
committed by Laurent Pinchart
parent 2a8bf04227
commit 448716d8f7
7 changed files with 58 additions and 46 deletions
+4 -2
View File
@@ -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 */