diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-22 23:54:36 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-22 23:54:36 -0300 |
commit | 28e3a27310e4ad865d4d4ff05c8af715bdb3f138 (patch) | |
tree | b6515bc36bbf0b05dbe4819d8be962e9e53c30b8 /linux/drivers/media/video/pwc/pwc-kiara.h | |
parent | 5ac5d525371f2b6af08d2fdca38d5dc99685413d (diff) | |
download | mediapointer-dvb-s2-28e3a27310e4ad865d4d4ff05c8af715bdb3f138.tar.gz mediapointer-dvb-s2-28e3a27310e4ad865d4d4ff05c8af715bdb3f138.tar.bz2 |
Add ENUM_FRAMESIZES and ENUM_FRAMEINTERVALS ioctls
From: Luc Saillard <luc@saillard.org>
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 'linux/drivers/media/video/pwc/pwc-kiara.h')
-rw-r--r-- | linux/drivers/media/video/pwc/pwc-kiara.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/linux/drivers/media/video/pwc/pwc-kiara.h b/linux/drivers/media/video/pwc/pwc-kiara.h index 0bdb22547..047dad8c1 100644 --- a/linux/drivers/media/video/pwc/pwc-kiara.h +++ b/linux/drivers/media/video/pwc/pwc-kiara.h @@ -29,6 +29,8 @@ #include <media/pwc-ioctl.h> +#define PWC_FPS_MAX_KIARA 6 + struct Kiara_table_entry { char alternate; /* USB alternate interface */ @@ -37,8 +39,9 @@ struct Kiara_table_entry unsigned char mode[12]; /* precomputed mode settings for cam */ }; -extern const struct Kiara_table_entry Kiara_table[PSZ_MAX][6][4]; +extern const struct Kiara_table_entry Kiara_table[PSZ_MAX][PWC_FPS_MAX_KIARA][4]; extern const unsigned int KiaraRomTable[8][2][16][8]; +extern const unsigned int Kiara_fps_vector[PWC_FPS_MAX_KIARA]; #endif |