diff options
author | Michael Hunold <devnull@localhost> | 2003-06-03 13:07:01 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-06-03 13:07:01 +0000 |
commit | a9f1c290863f5aabdb9f36dfe7a1499ae05a9d45 (patch) | |
tree | 1aa18bc04b9c658202b16ad670bebac13c8b8689 /linux/include/media/saa7146_vv.h | |
parent | dfa0bc1ee855af7954733faad2a7593b04aa9768 (diff) | |
download | mediapointer-dvb-s2-a9f1c290863f5aabdb9f36dfe7a1499ae05a9d45.tar.gz mediapointer-dvb-s2-a9f1c290863f5aabdb9f36dfe7a1499ae05a9d45.tar.bz2 |
Here comes the "dvb-c analog module hack"
- if the analog module is detected, the saa7113 is initialized and
some more v4l2 ioctls are available. you can use "xawtv" now to
switch between "dvb" and "analog" input. when you are one the
"analog" input, you can tune in analog channels with the cursor
keys via v4l2.
currently, this is a big hack -- tuning is not mutually exclusive,
so "szap" and v4l2 tuning can interfere with each other. the
demodulator address is hardcoded to 0x09.
Other changes:
- changed the saa7146 ioctl parameters, give out the data of the
current device open "fh" (=> "file handle"), not the pointer to the
device structure "dev". It is "dev = fh->dev".
Some stuff does not work:
- analog audio does not work. does the msp3400 need to be reprogrammed?
- one field is "missing", so the picture is very bad and
capturing does not work neither. this needs to be investigated by
looking at the programming the windows driver uses for the saa7146
Diffstat (limited to 'linux/include/media/saa7146_vv.h')
-rw-r--r-- | linux/include/media/saa7146_vv.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/include/media/saa7146_vv.h b/linux/include/media/saa7146_vv.h index 3534ac56c..9a0b8800e 100644 --- a/linux/include/media/saa7146_vv.h +++ b/linux/include/media/saa7146_vv.h @@ -156,7 +156,7 @@ struct saa7146_ext_vv int (*std_callback)(struct saa7146_dev*, struct saa7146_standard *); struct saa7146_extension_ioctls *ioctls; - int (*ioctl)(struct saa7146_dev*, unsigned int cmd, void *arg); + int (*ioctl)(struct saa7146_fh*, unsigned int cmd, void *arg); }; struct saa7146_use_ops { @@ -191,6 +191,8 @@ void saa7146_set_gpio(struct saa7146_dev *saa, u8 pin, u8 data); /* from saa7146_video.c */ extern struct saa7146_use_ops saa7146_video_uops; +int saa7146_start_preview(struct saa7146_fh *fh); +int saa7146_stop_preview(struct saa7146_fh *fh); /* from saa7146_vbi.c */ extern struct saa7146_use_ops saa7146_vbi_uops; |