summaryrefslogtreecommitdiffstats
path: root/include/media/ov772x.h
diff options
context:
space:
mode:
authorKuninori Morimoto <morimoto.kuninori@renesas.com>2009-02-23 16:12:58 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 17:42:52 +0200
commit051489119affd527f2834e9f8ba3e2a71bf1ca23 (patch)
tree12dedd6fdd441df9c903a3239649ecdff6b293fc /include/media/ov772x.h
parentV4L/DVB (10668): ov772x: bit mask operation fix on ov772x_mask_set. (diff)
downloadlinux-051489119affd527f2834e9f8ba3e2a71bf1ca23.tar.xz
linux-051489119affd527f2834e9f8ba3e2a71bf1ca23.zip
V4L/DVB (10669): ov772x: Add image flip support
o ov772x_camera_info :: flags supports default image flip. o V4L2_CID_VFLIP/HFLIP supports image flip for user side. Thank Magnus for advice. Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/ov772x.h')
-rw-r--r--include/media/ov772x.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/media/ov772x.h b/include/media/ov772x.h
index e391d55edb95..57db48dd85b8 100644
--- a/include/media/ov772x.h
+++ b/include/media/ov772x.h
@@ -13,8 +13,13 @@
#include <media/soc_camera.h>
+/* for flags */
+#define OV772X_FLAG_VFLIP 0x00000001 /* Vertical flip image */
+#define OV772X_FLAG_HFLIP 0x00000002 /* Horizontal flip image */
+
struct ov772x_camera_info {
unsigned long buswidth;
+ unsigned long flags;
struct soc_camera_link link;
};