summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorKuninori Morimoto <morimoto.kuninori@renesas.com>2009-02-23 12:12:58 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 12:42:52 -0300
commit051489119affd527f2834e9f8ba3e2a71bf1ca23 (patch)
tree12dedd6fdd441df9c903a3239649ecdff6b293fc /include/media
parent66b46e68a52114e7065f0bfd0016276ae5925e70 (diff)
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')
-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 e391d55edb9..57db48dd85b 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;
};