diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-07-07 14:17:47 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-07-07 14:17:47 +0000 |
commit | 9444cd1427239cebbdd1ccd9085b13dc812c45bc (patch) | |
tree | 9e60d19fdd767e6eea30c5bae9acd098f4c4ba91 /linux/drivers/media/video/cx88/cx88.h | |
parent | f8f68583aabe1033ab048108d55d6b51db70ec55 (diff) | |
download | mediapointer-dvb-s2-9444cd1427239cebbdd1ccd9085b13dc812c45bc.tar.gz mediapointer-dvb-s2-9444cd1427239cebbdd1ccd9085b13dc812c45bc.tar.bz2 |
* cx88-core.c, cx88-mpeg.c, cx88-video.c, cx88.h:
- Some debug structs moved to their own .c file and converted to static
- some // comments converted to #if 0
* cx88-mpeg.c:
- Small cleanup for thinks like 0<<14
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88.h')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/linux/drivers/media/video/cx88/cx88.h b/linux/drivers/media/video/cx88/cx88.h index 1c8596a5e..7dccbfdde 100644 --- a/linux/drivers/media/video/cx88/cx88.h +++ b/linux/drivers/media/video/cx88/cx88.h @@ -1,5 +1,5 @@ /* - * $Id: cx88.h,v 1.67 2005/07/01 12:10:07 mkrufky Exp $ + * $Id: cx88.h,v 1.68 2005/07/07 14:17:47 mchehab Exp $ * * v4l2 device driver for cx2388x based TV cards * @@ -83,9 +83,12 @@ struct cx88_tvnorm { static unsigned int inline norm_maxw(struct cx88_tvnorm *norm) { return (norm->id & V4L2_STD_625_50) ? 768 : 640; -// return (norm->id & V4L2_STD_625_50) ? 720 : 640; +#if 0 + return (norm->id & V4L2_STD_625_50) ? 720 : 640; +#endif } + static unsigned int inline norm_maxh(struct cx88_tvnorm *norm) { return (norm->id & V4L2_STD_625_50) ? 576 : 480; @@ -221,7 +224,9 @@ struct cx88_subid { #define RESOURCE_VBI 4 #define BUFFER_TIMEOUT (HZ/2) /* 0.5 seconds */ -//#define BUFFER_TIMEOUT (HZ*2) +#if 0 +#define BUFFER_TIMEOUT (HZ*2) +#endif /* buffer for one video frame */ struct cx88_buffer { @@ -442,8 +447,6 @@ struct cx8802_dev { /* ----------------------------------------------------------- */ /* cx88-core.c */ -extern char *cx88_vid_irqs[32]; -extern char *cx88_mpeg_irqs[32]; extern void cx88_print_irqbits(char *name, char *tag, char **strings, u32 bits, u32 mask); extern void cx88_print_ioctl(char *name, unsigned int cmd); |