summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-06-28 00:42:18 +0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-22 03:12:53 +0400
commit9e9e3927ea76c95873f153c19b7c0d7f319dabc4 (patch)
treeb56f89e5ffe1f11ec3977d0abd7854dc7f1b117c /include/uapi
parent0c4348ada001181637b8f73482242166ba2fb56e (diff)
downloadlinux-9e9e3927ea76c95873f153c19b7c0d7f319dabc4.tar.xz
[media] v4l: uapi: add SDR format RU12LE
V4L2_SDR_FMT_RU12LE - Real unsigned 12-bit little endian sample inside 16-bit (2 byte). V4L2 FourCC: RU12. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/videodev2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index 1f1a65c1fe8e..e8f01cd8a17d 100644
--- a/include/uapi/linux/videodev2.h
+++ b/include/uapi/linux/videodev2.h
@@ -453,6 +453,7 @@ struct v4l2_pix_format {
/* SDR formats - used only for Software Defined Radio devices */
#define V4L2_SDR_FMT_CU8 v4l2_fourcc('C', 'U', '0', '8') /* IQ u8 */
#define V4L2_SDR_FMT_CU16LE v4l2_fourcc('C', 'U', '1', '6') /* IQ u16le */
+#define V4L2_SDR_FMT_RU12LE v4l2_fourcc('R', 'U', '1', '2') /* real u12le */
/* priv field value to indicates that subsequent fields are valid. */
#define V4L2_PIX_FMT_PRIV_MAGIC 0xfeedcafe