summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-06-26 09:46:24 +0000
committerMichael Hunold <devnull@localhost>2003-06-26 09:46:24 +0000
commit0c3fd11f85e7be94f4d388e5d93c83c4646055c1 (patch)
treee7e68be5b811a436ea1813e3a89daf3c021632c6 /linux/drivers/media/dvb
parent22dcd452c5380c304677847cfd871c67d056d029 (diff)
downloadmediapointer-dvb-s2-0c3fd11f85e7be94f4d388e5d93c83c4646055c1.tar.gz
mediapointer-dvb-s2-0c3fd11f85e7be94f4d388e5d93c83c4646055c1.tar.bz2
- fix usage of "v4l2_common_std()" from v4l2-common.c in saa7146_video.c
- change saa7146_vv.h the way described earlier - follow these changes in budget-av and hexium driver
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/ttpci/budget-av.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget-av.c b/linux/drivers/media/dvb/ttpci/budget-av.c
index 072a6872d..36f1fa796 100644
--- a/linux/drivers/media/dvb/ttpci/budget-av.c
+++ b/linux/drivers/media/dvb/ttpci/budget-av.c
@@ -300,10 +300,18 @@ static int av_ioctl(struct saa7146_fh *fh, unsigned int cmd, void *arg)
}
static struct saa7146_standard standard[] = {
- { "PAL", V4L2_STD_PAL, SAA7146_PAL_VALUES },
- { "NTSC", V4L2_STD_NTSC, SAA7146_NTSC_VALUES },
-};
-
+ {
+ .name = "PAL", .id = V4L2_STD_PAL,
+ .v_offset = 0x17, .v_field = 288, .v_calc = 576,
+ .h_offset = 0x14, .h_pixels = 680, .h_calc = 680+1,
+ .v_max_out = 576, .h_max_out = 768,
+ }, {
+ .name = "NTSC", .id = V4L2_STD_NTSC,
+ .v_offset = 0x16, .v_field = 240, .v_calc = 480,
+ .h_offset = 0x06, .h_pixels = 708, .h_calc = 708+1,
+ .v_max_out = 480, .h_max_out = 640,
+ }
+};
static struct saa7146_ext_vv vv_data = {
.inputs = 2,