diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-02-23 16:12:58 +0100 |
---|---|---|
committer | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-02-23 16:12:58 +0100 |
commit | 7c7069267de14d7c83c611220087cdddd8210604 (patch) | |
tree | 6779305986a6a86bf846e3bcbb686c2298f435f4 /linux/include/media | |
parent | 9f4da9c7feb71ee575960553c4ad10555be64229 (diff) | |
download | mediapointer-dvb-s2-7c7069267de14d7c83c611220087cdddd8210604.tar.gz mediapointer-dvb-s2-7c7069267de14d7c83c611220087cdddd8210604.tar.bz2 |
ov772x: Add image flip support
From: Kuninori Morimoto <morimoto.kuninori@renesas.com>
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>
---
drivers/media/video/ov772x.c | 88 ++++++++++++++++++++++++++++++++++++++++--
include/media/ov772x.h | 5 ++
2 files changed, 89 insertions(+), 4 deletions(-)
Diffstat (limited to 'linux/include/media')
-rw-r--r-- | linux/include/media/ov772x.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/include/media/ov772x.h b/linux/include/media/ov772x.h index e391d55ed..57db48dd8 100644 --- a/linux/include/media/ov772x.h +++ b/linux/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; }; |