diff options
author | Nathan Lord <nlord@nvidia.com> | 2011-02-15 21:28:19 -0800 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-02-16 14:28:10 -0800 |
commit | 3bfbe9286caacc4e2fdbf212aab8f30b6cab9c4a (patch) | |
tree | 8163aff88fbfc07a5d2079abe984b8989fe11018 /include | |
parent | fbef790a66d87fc2a579c38f821652a11df0fcb9 (diff) |
media: video: tegra: add ov5650 test pattern mode
Change-Id: Ie894d71f45cc08709daff3f258e0c4676b7778b0
Reviewed-on: http://git-master/r/19687
Reviewed-by: Nathan Lord <nlord@nvidia.com>
Tested-by: Nathan Lord <nlord@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/media/ov5650.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/media/ov5650.h b/include/media/ov5650.h index cc3ec7194526..db0f18cc37f5 100644 --- a/include/media/ov5650.h +++ b/include/media/ov5650.h @@ -18,6 +18,13 @@ #define OV5650_IOCTL_SET_COARSE_TIME _IOW('o', 3, __u32) #define OV5650_IOCTL_SET_GAIN _IOW('o', 4, __u16) #define OV5650_IOCTL_GET_STATUS _IOR('o', 5, __u8) +#define OV5650_IOCTL_TEST_PATTERN _IOW('o', 7, enum ov5650_test_pattern) + +enum ov5650_test_pattern { + TEST_PATTERN_NONE, + TEST_PATTERN_COLORBARS, + TEST_PATTERN_CHECKERBOARD +}; struct ov5650_mode { int xres; |