Kuninori Morimoto | 08a66ae | 2008-10-24 15:43:07 -0300 | [diff] [blame] | 1 | /* ov772x Camera |
| 2 | * |
| 3 | * Copyright (C) 2008 Renesas Solutions Corp. |
| 4 | * Kuninori Morimoto <morimoto.kuninori@renesas.com> |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License version 2 as |
| 8 | * published by the Free Software Foundation. |
| 9 | */ |
| 10 | |
| 11 | #ifndef __OV772X_H__ |
| 12 | #define __OV772X_H__ |
| 13 | |
| 14 | #include <media/soc_camera.h> |
| 15 | |
Kuninori Morimoto | 0514891 | 2009-02-23 12:12:58 -0300 | [diff] [blame^] | 16 | /* for flags */ |
| 17 | #define OV772X_FLAG_VFLIP 0x00000001 /* Vertical flip image */ |
| 18 | #define OV772X_FLAG_HFLIP 0x00000002 /* Horizontal flip image */ |
| 19 | |
Kuninori Morimoto | 08a66ae | 2008-10-24 15:43:07 -0300 | [diff] [blame] | 20 | struct ov772x_camera_info { |
| 21 | unsigned long buswidth; |
Kuninori Morimoto | 0514891 | 2009-02-23 12:12:58 -0300 | [diff] [blame^] | 22 | unsigned long flags; |
Kuninori Morimoto | 08a66ae | 2008-10-24 15:43:07 -0300 | [diff] [blame] | 23 | struct soc_camera_link link; |
| 24 | }; |
| 25 | |
| 26 | #endif /* __OV772X_H__ */ |