[linuxtv-cvs] dvb-kernel-v4

Michael Hunold via CVS hunold at linuxtv.org
Thu Mar 3 13:30:09 CET 2005

CVSROOT:	/cvs/linuxtv
Module name:	dvb-kernel-v4
Changes by:	hunold	20050303 13:30:09

Modified files:
	linux/drivers/media/dvb/dvb-core: demux.c device.c dvb-dummy.c 
	                                  frontend.c functions.c 
	                                  memory-input.c ringbuffer.c 
	                                  sw-demux.c sw-memory-input.c 
	                                  sw-recording.c vbi.c 
Added files:
	linux/drivers/media/dvb/dvb-core: audio.c video.c 
Removed files:
	linux/drivers/media/dvb/dvb-core: av-decoder.c 

Log message:
follow changes in dvb v4 api and internal api
- split av-decoder.c into audio.c and video.c again (the merge was a bit mistake, audio and video decoders are too different)
- remove all linux specific include from files and put them into the media/dvb/ files appropriately

- refactor the big main ioctl into smaller functions, which are easier to handle (not completely done yet)
- if the frontend->demux connection is killed, propagate this to the poll(), read() and other functions so they can inform userspace that data stream is broken
- refactor capability handling from the hw-drivers to the dvb-core, because this information is used for policy and sanity checks at some places
- replace per-device mutexes with per-open mutexes, where appropriate. before, there has been lock congestion on certain locks
- make dvb_check_and_get_demux_by_fd() more secure to use on non-dvb filedescriptors

- introduce real per-open device data. file->private_data is now set to this per-open data instead of the dvb device. this makes it possible to save per-open data, which was necessary for the demux part anyway and is now used for audio and video as well, memory management is handled inside device.c

dvb-dummy and sw-*:
- make it compile again, but doesn't work yet

- follow changes

- remove bogus memory input list handling

demux.c           |  974 ++++++++++++++++++++++++++++--------------------------
device.c          |  136 +++++--
dvb-dummy.c       |   11
frontend.c        |   55 +--
functions.c       |   18
memory-input.c    |   69 +--
ringbuffer.c      |    9
sw-demux.c        |   99 ++---
sw-memory-input.c |   11
sw-recording.c    |   13
vbi.c             |   21 -
11 files changed, 732 insertions(+), 684 deletions(-)

More information about the linuxtv-cvs mailing list