aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pwc/pwc-timon.h
diff options
context:
space:
mode:
authorLuc Saillard <luc@saillard.org>2007-04-22 22:54:36 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-04-27 14:45:50 -0400
commit9ee6d78cd4112c0f5a257a01383c64dadbf66da9 (patch)
tree6a240c9938d7970c5d13c40dcc21b20fb3c3369e /drivers/media/video/pwc/pwc-timon.h
parent1de69238111a65283a4548d8fd4727397873a02f (diff)
V4L/DVB (5547): Add ENUM_FRAMESIZES and ENUM_FRAMEINTERVALS ioctls
This patch add support for the VIDIOC_ENUM_FRAMESIZES and VIDIOC_ENUM_FRAMEINTERVALS ioctl. * check if the maximum native framesize for raw mode is correct * raw mode framerates for all three chipset types Signed-off-by: Gregor Jasny <gjasny@web.de> Signed-off-by: Luc Saillard <luc@saillard.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pwc/pwc-timon.h')
-rw-r--r--drivers/media/video/pwc/pwc-timon.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/video/pwc/pwc-timon.h b/drivers/media/video/pwc/pwc-timon.h
index eef9e2cd4320..a6e22224c95f 100644
--- a/drivers/media/video/pwc/pwc-timon.h
+++ b/drivers/media/video/pwc/pwc-timon.h
@@ -44,6 +44,8 @@
44 44
45#include <media/pwc-ioctl.h> 45#include <media/pwc-ioctl.h>
46 46
47#define PWC_FPS_MAX_TIMON 6
48
47struct Timon_table_entry 49struct Timon_table_entry
48{ 50{
49 char alternate; /* USB alternate interface */ 51 char alternate; /* USB alternate interface */
@@ -52,9 +54,9 @@ struct Timon_table_entry
52 unsigned char mode[13]; /* precomputed mode settings for cam */ 54 unsigned char mode[13]; /* precomputed mode settings for cam */
53}; 55};
54 56
55extern const struct Timon_table_entry Timon_table[PSZ_MAX][6][4]; 57extern const struct Timon_table_entry Timon_table[PSZ_MAX][PWC_FPS_MAX_TIMON][4];
56extern const unsigned int TimonRomTable [16][2][16][8]; 58extern const unsigned int TimonRomTable [16][2][16][8];
57 59extern const unsigned int Timon_fps_vector[PWC_FPS_MAX_TIMON];
58 60
59#endif 61#endif
60 62