summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLihui Cui <lcui@nvidia.com>2013-04-12 03:43:17 +0900
committerJohn Sasinowski <jsasinowski@nvidia.com>2013-04-22 14:02:38 -0700
commit1dfd11ef9be7e6e1ca5a01fc71a02f433575e055 (patch)
treed2358c9a5f0157bceef7ab564f25789d780f0837 /include
parent4b35deff807ed8d1ed214edabd33db5d95d51f6a (diff)
media:video:tegra: aohdr implementation for ov5693.
For bug 1236935. Change-Id: I9cfb94685d47375ad8ef9106980be18bde51156c Signed-off-by: Lihui Cui <lcui@nvidia.com> Reviewed-on: http://git-master/r/218626 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Philip Breczinski <pbreczinski@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: John Sasinowski <jsasinowski@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/media/ov5693.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/media/ov5693.h b/include/media/ov5693.h
index 21e10e80ca92..c89a8c0f702a 100644
--- a/include/media/ov5693.h
+++ b/include/media/ov5693.h
@@ -34,7 +34,9 @@
#define OV5693_IOCTL_SET_CAMERA_MODE _IOW('o', 10, __u32)
#define OV5693_IOCTL_SYNC_SENSORS _IOW('o', 11, __u32)
#define OV5693_IOCTL_GET_FUSEID _IOR('o', 12, struct ov5693_fuseid)
+#define OV5693_IOCTL_SET_HDR_COARSE_TIME _IOW('o', 13, struct ov5693_hdr)
+#define OV5693_INVALID_COARSE_TIME -1
struct ov5693_mode {
int res_x;
@@ -42,6 +44,7 @@ struct ov5693_mode {
int fps;
__u32 frame_length;
__u32 coarse_time;
+ __u32 coarse_time_short;
__u16 gain;
};
@@ -49,6 +52,7 @@ struct ov5693_ae {
__u32 frame_length;
__u8 frame_length_enable;
__u32 coarse_time;
+ __u16 coarse_time_short;
__u8 coarse_time_enable;
__s32 gain;
__u8 gain_enable;
@@ -59,6 +63,12 @@ struct ov5693_fuseid {
__u8 id[16];
};
+struct ov5693_hdr {
+ __u32 coarse_time_long;
+ __u32 coarse_time_short;
+};
+
+
/* See notes in the nvc.h file on the GPIO usage */
enum ov5693_gpio_type {
OV5693_GPIO_TYPE_PWRDN = 0,