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-kiara.h | |
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-kiara.h')
-rw-r--r-- | drivers/media/video/pwc/pwc-kiara.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/video/pwc/pwc-kiara.h b/drivers/media/video/pwc/pwc-kiara.h index 0bdb22547d86..047dad8c15f7 100644 --- a/drivers/media/video/pwc/pwc-kiara.h +++ b/drivers/media/video/pwc/pwc-kiara.h | |||
@@ -29,6 +29,8 @@ | |||
29 | 29 | ||
30 | #include <media/pwc-ioctl.h> | 30 | #include <media/pwc-ioctl.h> |
31 | 31 | ||
32 | #define PWC_FPS_MAX_KIARA 6 | ||
33 | |||
32 | struct Kiara_table_entry | 34 | struct Kiara_table_entry |
33 | { | 35 | { |
34 | char alternate; /* USB alternate interface */ | 36 | char alternate; /* USB alternate interface */ |
@@ -37,8 +39,9 @@ struct Kiara_table_entry | |||
37 | unsigned char mode[12]; /* precomputed mode settings for cam */ | 39 | unsigned char mode[12]; /* precomputed mode settings for cam */ |
38 | }; | 40 | }; |
39 | 41 | ||
40 | extern const struct Kiara_table_entry Kiara_table[PSZ_MAX][6][4]; | 42 | extern const struct Kiara_table_entry Kiara_table[PSZ_MAX][PWC_FPS_MAX_KIARA][4]; |
41 | extern const unsigned int KiaraRomTable[8][2][16][8]; | 43 | extern const unsigned int KiaraRomTable[8][2][16][8]; |
44 | extern const unsigned int Kiara_fps_vector[PWC_FPS_MAX_KIARA]; | ||
42 | 45 | ||
43 | #endif | 46 | #endif |
44 | 47 | ||