summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/v4l2-common.h
diff options
context:
space:
mode:
authorSakari Ailus2014-10-15 18:38:15 +0200
committerMauro Carvalho Chehab2014-12-04 15:37:01 +0100
commit0b4bc768dc289731983ba5223555ffabe08eefdd (patch)
tree7e4e154b997af40cb897cb58555758009e8a15ea /include/uapi/linux/v4l2-common.h
parent[media] v4l: Clean up sub-device format documentation (diff)
downloadkernel-qcow2-linux-0b4bc768dc289731983ba5223555ffabe08eefdd.tar.gz
kernel-qcow2-linux-0b4bc768dc289731983ba5223555ffabe08eefdd.tar.xz
kernel-qcow2-linux-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 */