summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYuxi Sun <b36102@freescale.com>2011-05-16 14:25:41 +0800
committerYuxi Sun <b36102@freescale.com>2011-05-16 18:40:46 +0800
commit33c7d84b799fa625d1f6f37bba4b9cb02e2ad758 (patch)
tree5b6fdb426819cdc4988519e2f7a9b3ef1197fa2c /include
parentc3e64ec300512231307f684868330ba0a1d06b36 (diff)
ENGR00143324-1 v4l2_capture: add camera rotate function
add four kinds of camera rotate function: rotate_none, rotate_vert rotate_horiz, rotate_180 Signed-off-by: Yuxi Sun <b36102@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mxc_v4l2.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/mxc_v4l2.h b/include/linux/mxc_v4l2.h
index 530cf91f4b57..8652df4a8fa7 100644
--- a/include/linux/mxc_v4l2.h
+++ b/include/linux/mxc_v4l2.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2004-2010 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright 2004-2011 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
@@ -40,6 +40,11 @@
#define V4L2_MXC_ROTATE_90_RIGHT_HFLIP 6
#define V4L2_MXC_ROTATE_90_LEFT 7
+#define V4L2_MXC_CAM_ROTATE_NONE 8
+#define V4L2_MXC_CAM_ROTATE_VERT_FLIP 9
+#define V4L2_MXC_CAM_ROTATE_HORIZ_FLIP 10
+#define V4L2_MXC_CAM_ROTATE_180 11
+
struct v4l2_mxc_offset {
uint32_t u_offset;
uint32_t v_offset;