summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLiu Ying <b17645@freescale.com>2009-03-17 11:37:45 +0800
committerRob Herring <ra7055@ra7055-linux.sigmatel.com>2009-03-24 06:00:09 -0500
commitf04f02bed595ff6d517621de1098ff69042d0b3e (patch)
tree7cc2666756403955f82fd33f187047b346536640 /include
parent42f5027038bd4ce505c73fd48329902bf3ee1264 (diff)
ENGR00109658 V4l2 capture:Add seperate VF and ENC rotation ioctls
Add seperate VF and ENC rotation controls for IPUv1 and IPUv3. This prevents capture task and preview task from impacting on each other when doing rotation. Signed-off-by: Liu Ying <b17645@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mxc_v4l2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mxc_v4l2.h b/include/linux/mxc_v4l2.h
index b89737499c4f..a94074eb9610 100644
--- a/include/linux/mxc_v4l2.h
+++ b/include/linux/mxc_v4l2.h
@@ -22,8 +22,13 @@
#ifndef __ASM_ARCH_MXC_V4L2_H__
#define __ASM_ARCH_MXC_V4L2_H__
+/*
+ * For IPUv1 and IPUv3, V4L2_CID_MXC_ROT means encoder ioctl ID.
+ * And V4L2_CID_MXC_VF_ROT is viewfinder ioctl ID only for IPUv1 and IPUv3.
+ */
#define V4L2_CID_MXC_ROT (V4L2_CID_PRIVATE_BASE + 0)
#define V4L2_CID_MXC_FLASH (V4L2_CID_PRIVATE_BASE + 1)
+#define V4L2_CID_MXC_VF_ROT (V4L2_CID_PRIVATE_BASE + 2)
#define V4L2_MXC_ROTATE_NONE 0
#define V4L2_MXC_ROTATE_VERT_FLIP 1