[linuxtv-cvs] dvb-kernel-v4
Michael Hunold via CVS
hunold at linuxtv.org
Wed Mar 23 14:35:14 CET 2005
CVSROOT: /cvs/linuxtv
Module name: dvb-kernel-v4
Changes by: hunold 20050323 14:35:14
Modified files:
linux/drivers/media/dvb/dvb-core: video.c
linux/include/linux/dvb: video.h
linux/include/media/dvb: video.h
Log message:
Changes to the DVB v4 API:
- remove DVB_VIDEO_STILLPICTURE completly, because it can be called unconditionally and seriously disturb the whole state tracking mechanisms. instead, open the video decoder r/w, set the input type to DVB_VIDEO_SOURCE_MEMORY and the format to DVB_VIDEO_STILL_xxx, then use write() to write raw data to the decoder. this is way more consistent
- follow the idea from the audio parts and remove all kind of video events here, too. apparently having a video status is sufficient. if you have events, you always have a queue, where old, stale events can pile up. we now provide only a status via the DVB_VIDEO_GET_STATUS ioctl. it's possible to unmask unwanted events and do a blocking ioctl on the fd. if you use poll(), then any change in the status will wakeup sleep
- follow stillpicture and video status changes in the dvb-core
- provide lots of dvb_video_status_xxx() convenience functions that drivers can call to update the global device status. these changes will be reported to the new "status layer"
drivers/media/dvb/dvb-core/video.c | 391 ++++++++++++++++++-------------------
include/linux/dvb/video.h | 175 +++++++---------
include/media/dvb/video.h | 31 +-
3 files changed, 291 insertions(+), 306 deletions(-)
More information about the linuxtv-cvs
mailing list