diff options
author | Gerd Knorr <devnull@localhost> | 2004-10-19 16:02:04 +0000 |
---|---|---|
committer | Gerd Knorr <devnull@localhost> | 2004-10-19 16:02:04 +0000 |
commit | 1978764a333728085febe6606437b586fc2e14d4 (patch) | |
tree | 80d861b548370e3dfc319649d43c956e238587e2 /linux/include/media | |
parent | 005bc8a9298b2eab8e0bdb6d494b5b13c32811f4 (diff) | |
download | mediapointer-dvb-s2-1978764a333728085febe6606437b586fc2e14d4.tar.gz mediapointer-dvb-s2-1978764a333728085febe6606437b586fc2e14d4.tar.bz2 |
- saa7134 reorganiation for modular mpeg2 stuff
- splitted some generic dvb code into the new video-buf-dvb module.
Diffstat (limited to 'linux/include/media')
-rw-r--r-- | linux/include/media/video-buf-dvb.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/linux/include/media/video-buf-dvb.h b/linux/include/media/video-buf-dvb.h new file mode 100644 index 000000000..040e97b39 --- /dev/null +++ b/linux/include/media/video-buf-dvb.h @@ -0,0 +1,34 @@ +#include <dvbdev.h> +#include <dmxdev.h> +#include <dvb_demux.h> +#include <dvb_net.h> +#include <dvb_frontend.h> + +struct videobuf_dvb { + /* filling that the job of the driver */ + struct dvb_adapter *adapter; + char *name; + struct videobuf_queue dvbq; + void *priv; + + /* video-buf-dvb state info */ + struct semaphore lock; + struct task_struct *thread; + int nfeeds; + + /* videobuf_dvb_(un)register manges this */ + struct dvb_demux demux; + struct dmxdev dmxdev; + struct dmx_frontend fe_hw; + struct dmx_frontend fe_mem; + struct dvb_net net; +}; + +int videobuf_dvb_register(struct videobuf_dvb *dvb); +void videobuf_dvb_unregister(struct videobuf_dvb *dvb); + +/* + * Local variables: + * c-basic-offset: 8 + * End: + */ |