summaryrefslogtreecommitdiff
path: root/include/uapi/linux/videodev2.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2015-05-15 15:29:07 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-30 17:38:21 +0300
commitaddad1050827136e4f8d22c5c81df42f88f44651 (patch)
tree781bb498fabd8e8aeff1e405b9725baadc06e33b /include/uapi/linux/videodev2.h
parentda0c211bb6670c5e8aa9cac7437948e3e6d00ce3 (diff)
downloadlinux-addad1050827136e4f8d22c5c81df42f88f44651.tar.xz
[media] videodev2.h: add COLORSPACE_RAW
V4L2_COLORSPACE_RAW is added for raw image formats where the picture is minimally processed and is in the internal colorspace of the sensor. This is typically used in digital cameras where the image processing is done later. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/uapi/linux/videodev2.h')
-rw-r--r--include/uapi/linux/videodev2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index c5e89ab21cd9..81045aaabec9 100644
--- a/include/uapi/linux/videodev2.h
+++ b/include/uapi/linux/videodev2.h
@@ -226,6 +226,9 @@ enum v4l2_colorspace {
/* BT.2020 colorspace, used for UHDTV. */
V4L2_COLORSPACE_BT2020 = 10,
+
+ /* Raw colorspace: for RAW unprocessed images */
+ V4L2_COLORSPACE_RAW = 11,
};
enum v4l2_ycbcr_encoding {