diff options
author | Luc Saillard <luc@saillard.org> | 2007-04-22 22:54:36 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-27 14:45:50 -0400 |
commit | 9ee6d78cd4112c0f5a257a01383c64dadbf66da9 (patch) | |
tree | 6a240c9938d7970c5d13c40dcc21b20fb3c3369e /drivers/media/video/pwc/pwc-timon.c | |
parent | 1de69238111a65283a4548d8fd4727397873a02f (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.c')
-rw-r--r-- | drivers/media/video/pwc/pwc-timon.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/pwc/pwc-timon.c b/drivers/media/video/pwc/pwc-timon.c index be65bdcd195b..c56c174b161c 100644 --- a/drivers/media/video/pwc/pwc-timon.c +++ b/drivers/media/video/pwc/pwc-timon.c | |||
@@ -40,7 +40,9 @@ | |||
40 | 40 | ||
41 | #include "pwc-timon.h" | 41 | #include "pwc-timon.h" |
42 | 42 | ||
43 | const struct Timon_table_entry Timon_table[PSZ_MAX][6][4] = | 43 | const unsigned int Timon_fps_vector[PWC_FPS_MAX_TIMON] = { 5, 10, 15, 20, 25, 30 }; |
44 | |||
45 | const struct Timon_table_entry Timon_table[PSZ_MAX][PWC_FPS_MAX_TIMON][4] = | ||
44 | { | 46 | { |
45 | /* SQCIF */ | 47 | /* SQCIF */ |
46 | { | 48 | { |