diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2009-02-23 10:12:58 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:42:52 -0400 |
commit | 051489119affd527f2834e9f8ba3e2a71bf1ca23 (patch) | |
tree | 12dedd6fdd441df9c903a3239649ecdff6b293fc /include/media/ov772x.h | |
parent | 66b46e68a52114e7065f0bfd0016276ae5925e70 (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/ov772x.h')
-rw-r--r-- | include/media/ov772x.h | 5 |
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 | |||
16 | struct ov772x_camera_info { | 20 | struct 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 | ||