summaryrefslogtreecommitdiff
path: root/include/uapi/linux/v4l2-common.h
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@iki.fi>2014-10-15 13:38:15 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-12-04 12:37:01 -0200
commit0b4bc768dc289731983ba5223555ffabe08eefdd (patch)
tree7e4e154b997af40cb897cb58555758009e8a15ea /include/uapi/linux/v4l2-common.h
parent6936d74fb511b2d75720d6c15e8296d65988aaa2 (diff)
downloadlwn-0b4bc768dc289731983ba5223555ffabe08eefdd.tar.gz
lwn-0b4bc768dc289731983ba5223555ffabe08eefdd.zip
[media] v4l: Add V4L2_SEL_TGT_NATIVE_SIZE selection target
The V4L2_SEL_TGT_NATIVE_SIZE target is used to denote e.g. the size of a sensor's pixel array. Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/uapi/linux/v4l2-common.h')
-rw-r--r--include/uapi/linux/v4l2-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/v4l2-common.h b/include/uapi/linux/v4l2-common.h
index 2f6f8cafe773..15273987093e 100644
--- a/include/uapi/linux/v4l2-common.h
+++ b/include/uapi/linux/v4l2-common.h
@@ -43,6 +43,8 @@
#define V4L2_SEL_TGT_CROP_DEFAULT 0x0001
/* Cropping bounds */
#define V4L2_SEL_TGT_CROP_BOUNDS 0x0002
+/* Native frame size */
+#define V4L2_SEL_TGT_NATIVE_SIZE 0x0003
/* Current composing area */
#define V4L2_SEL_TGT_COMPOSE 0x0100
/* Default composing area */