Pārlūkot izejas kodu

[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>
Hans Verkuil 10 gadi atpakaļ
vecāks
revīzija
addad10508
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      include/uapi/linux/videodev2.h

+ 3 - 0
include/uapi/linux/videodev2.h

@@ -226,6 +226,9 @@ enum v4l2_colorspace {
 
 
 	/* BT.2020 colorspace, used for UHDTV. */
 	/* BT.2020 colorspace, used for UHDTV. */
 	V4L2_COLORSPACE_BT2020        = 10,
 	V4L2_COLORSPACE_BT2020        = 10,
+
+	/* Raw colorspace: for RAW unprocessed images */
+	V4L2_COLORSPACE_RAW           = 11,
 };
 };
 
 
 enum v4l2_ycbcr_encoding {
 enum v4l2_ycbcr_encoding {