diff options
author | Michael Hunold <devnull@localhost> | 2002-12-23 20:37:45 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2002-12-23 20:37:45 +0000 |
commit | 6db9f8d774b8f70c56c786e1637367d5b5f2b6ca (patch) | |
tree | 05ddacee654b31c4d0fd4ae6a3a789730a2e1f4d /linux/drivers/media/dvb/av7110/av7110.c | |
parent | 0a77956ce8816e957f40b1b5437c6b3e2fd62e34 (diff) | |
download | mediapointer-dvb-s2-6db9f8d774b8f70c56c786e1637367d5b5f2b6ca.tar.gz mediapointer-dvb-s2-6db9f8d774b8f70c56c786e1637367d5b5f2b6ca.tar.bz2 |
For some unobvious reason, analog cards (ie. the MXB) and digital cards
(ie. the av7110) handle the odd/even fields differently. I added a new
field to the extension, which holds special flags of the extension and the
device. I declared the MXB way of handling fields as "normal", so the
av7110 extension sets SAA7146_EXT_SWAP_ODD_EVEN here.
@Holger: I added some superfluous "struct saa7146_dev *dev" variables
back to some functions. These cause ugly warnings at compile time, I admit,
but they are necessary if you want to use the debug macros to trace a
saa7146 register for example. Please leave them in for now -- I need this
when I switch between old-DVB / old-MXB <=> new-DVB / new-MXB drivers and
try to hack out the differences.
Diffstat (limited to 'linux/drivers/media/dvb/av7110/av7110.c')
-rw-r--r-- | linux/drivers/media/dvb/av7110/av7110.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/av7110/av7110.c b/linux/drivers/media/dvb/av7110/av7110.c index a2f8448aa..eae95837c 100644 --- a/linux/drivers/media/dvb/av7110/av7110.c +++ b/linux/drivers/media/dvb/av7110/av7110.c @@ -4779,6 +4779,9 @@ void av7110_dec_use(struct saa7146_dev* adap) #endif +/* FIXME: 0x3a seems to be a little too small, you'll notice a small black bar on + some channels. perhaps increase this to 0x42? looks good for me, but is not + based on facts... (MiHu) */ static struct saa7146_standard standard[] = { { "PAL", V4L2_STD_PAL, 0x15, 288, 576, 0x3a, 720, 721, 576, 768 }, @@ -4792,6 +4795,10 @@ struct saa7146_extension av7110_extension = { .audios = 1, .capabilities = 0, + /* FIXME: SAA7146_EXT_PROVIDES_VIDEO not true for budget cards, + separate these two... */ + .flags = SAA7146_EXT_PROVIDES_VIDEO|SAA7146_EXT_SWAP_ODD_EVEN + .devices = &sub_data[0], .module = THIS_MODULE, |