diff options
author | David Plowman <david.plowman@raspberrypi.com> | 2020-06-17 17:44:42 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-06-23 01:39:28 +0300 |
commit | c3ed943c992a09c5fc19e25328dca7aa52691c36 (patch) | |
tree | 83b9846e4f2886d38c7d57b3662f02b5c83ff593 /src/libcamera/formats.yaml | |
parent | 405ba5fd4ab7a53e57eeafe4a458e6db3edf042b (diff) |
libcamera: Add support for planar YUV422 and YUV420 formats
These formats can be helpful when downstream applications or libraries
support them natively (avoiding a costly conversion).
Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Tested-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/libcamera/formats.yaml')
-rw-r--r-- | src/libcamera/formats.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libcamera/formats.yaml b/src/libcamera/formats.yaml index a6841c61..ce06dbc4 100644 --- a/src/libcamera/formats.yaml +++ b/src/libcamera/formats.yaml @@ -53,6 +53,11 @@ formats: - NV42: fourcc: DRM_FORMAT_NV42 + - YUV420: + fourcc: DRM_FORMAT_YUV420 + - YUV422: + fourcc: DRM_FORMAT_YUV422 + - MJPEG: fourcc: DRM_FORMAT_MJPEG |