summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2019-10-25 15:18:23 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-10-28 13:04:47 +0200
commit9db0ed5e206545c5db389df298601fe2d06e58f4 (patch)
treeb692cfc193c1ce938731fc07f3790931c83e3623 /include/linux
parent5353b69ce53a24f9c87904733677b0685e0a9d22 (diff)
include: drm_fourcc: Add Motion-JPEG FourCC
Add a FourCC for Motion-JPEG compressed format. This is a temporary addition until the format gets merged in the upstream kernel. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/drm_fourcc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/drm_fourcc.h b/include/linux/drm_fourcc.h
index 3feeaa3f..4bb1bfe9 100644
--- a/include/linux/drm_fourcc.h
+++ b/include/linux/drm_fourcc.h
@@ -285,6 +285,8 @@ extern "C" {
#define DRM_FORMAT_YUV444 fourcc_code('Y', 'U', '2', '4') /* non-subsampled Cb (1) and Cr (2) planes */
#define DRM_FORMAT_YVU444 fourcc_code('Y', 'V', '2', '4') /* non-subsampled Cr (1) and Cb (2) planes */
+/* Compressed formats */
+#define DRM_FORMAT_MJPEG fourcc_code('M', 'J', 'P', 'G') /* Motion-JPEG */
/*
* Format Modifiers: