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>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
1de6923811
commit
9ee6d78cd4
@@ -44,6 +44,8 @@
|
||||
|
||||
#include <media/pwc-ioctl.h>
|
||||
|
||||
#define PWC_FPS_MAX_TIMON 6
|
||||
|
||||
struct Timon_table_entry
|
||||
{
|
||||
char alternate; /* USB alternate interface */
|
||||
@@ -52,9 +54,9 @@ struct Timon_table_entry
|
||||
unsigned char mode[13]; /* precomputed mode settings for cam */
|
||||
};
|
||||
|
||||
extern const struct Timon_table_entry Timon_table[PSZ_MAX][6][4];
|
||||
extern const struct Timon_table_entry Timon_table[PSZ_MAX][PWC_FPS_MAX_TIMON][4];
|
||||
extern const unsigned int TimonRomTable [16][2][16][8];
|
||||
|
||||
extern const unsigned int Timon_fps_vector[PWC_FPS_MAX_TIMON];
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user