[media] videodev2.h: add COLORSPACE_RAW
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 15 May 2015 12:29:07 +0000 (09:29 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 30 May 2015 14:38:21 +0000 (11:38 -0300)
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>
include/uapi/linux/videodev2.h

index c5e89ab21cd9cfac74013b2e329a8f230b8ac994..81045aaabec908c99b30d75ff55a8df66a5f219d 100644 (file)
@@ -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 {