aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorKuninori Morimoto <morimoto.kuninori@renesas.com>2009-02-23 10:12:58 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:42:52 -0400
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 e391d55edb95..57db48dd85b8 100644
--- a/include/media/ov772x.h
+++ b/include/media/ov772x.h
@@ -13,8 +13,13 @@
13 13
14#include <media/soc_camera.h> 14#include <media/soc_camera.h>
15 15
16/* for flags */
17#define OV772X_FLAG_VFLIP 0x00000001 /* Vertical flip image */
18#define OV772X_FLAG_HFLIP 0x00000002 /* Horizontal flip image */
19
16struct ov772x_camera_info { 20struct ov772x_camera_info {
17 unsigned long buswidth; 21 unsigned long buswidth;
22 unsigned long flags;
18 struct soc_camera_link link; 23 struct soc_camera_link link;
19}; 24};
20 25