summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYuxi Sun <b36102@freescale.com>2011-05-16 14:25:41 +0800
committerYangYonggang <b31664@freescale.com>2012-03-14 16:02:57 +0800
commitf50650c670e9eccafd40c518f00daa22d017a33e (patch)
treee54a225ec9225f8edc08974ebe825f7ffdc137ad /include
parent5f5f4440c0bcdf4ef74553f12166db41727df1b6 (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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mxc_v4l2.h b/include/linux/mxc_v4l2.h
index dd106ff31265..ba2a8d9c96f2 100644
--- a/include/linux/mxc_v4l2.h
+++ b/include/linux/mxc_v4l2.h
@@ -41,6 +41,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;