diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-12-18 00:30:47 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-12-18 00:30:47 -0200 |
commit | b6ec25fe4f9b6235a8c9d2c6028adf5303cf3fda (patch) | |
tree | 297eb6d7cac151c6d5e74f99406fcfc5dbe720dc /linux/drivers/media/video/cx88/cx88.h | |
parent | 09635786e7eff84072ee4268e8f7810217888271 (diff) | |
download | mediapointer-dvb-s2-b6ec25fe4f9b6235a8c9d2c6028adf5303cf3fda.tar.gz mediapointer-dvb-s2-b6ec25fe4f9b6235a8c9d2c6028adf5303cf3fda.tar.bz2 |
Fixes bug 7267: PAL/60 is not working
From: Mauro Carvalho Chehab <mchehab@infradead.org>
On cx88 driver, sampling rate should be at chroma subcarrier freq (FSC).
However, driver were programming wrong values for PAL/60, PAL/Nc and
NTSC 4.43. This patch do the proper calculation. It also calculates
htotal, hdelay and hactive constants, according with the sampling
rate.
It is tested with PAL/60 by Piotr Maksymuk and Olivier. Test is still
required for PAL/Nc.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88.h')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/linux/drivers/media/video/cx88/cx88.h b/linux/drivers/media/video/cx88/cx88.h index 657dc9414..d94a2f7f4 100644 --- a/linux/drivers/media/video/cx88/cx88.h +++ b/linux/drivers/media/video/cx88/cx88.h @@ -96,10 +96,7 @@ struct cx88_tvnorm { static unsigned int inline norm_maxw(struct cx88_tvnorm *norm) { - return (norm->id & V4L2_STD_625_50) ? 768 : 640; -#if 0 - return (norm->id & V4L2_STD_625_50) ? 720 : 640; -#endif + return (norm->id & (V4L2_STD_MN & ~V4L2_STD_PAL_Nc)) ? 720 : 768; } |