summaryrefslogtreecommitdiff
path: root/v4l_experimental
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-10-16 08:21:46 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2007-10-16 08:21:46 +0200
commit1f93daa4570eb74f94fff23dbe9fb4b29af53291 (patch)
tree0897aa10aa3cb617b85cd4ccb525a21c27d6574e /v4l_experimental
parent89200e6a6d61a33ac655f8992e95304c2995924d (diff)
downloadmediapointer-dvb-s2-1f93daa4570eb74f94fff23dbe9fb4b29af53291.tar.gz
mediapointer-dvb-s2-1f93daa4570eb74f94fff23dbe9fb4b29af53291.tar.bz2
ivtv: ivtv yuv stream handling change
From: Ian Armstrong <ian@iarmst.demon.co.uk> Currently the yuv output stream buffer is divided into blocks whose size depend on the broadcast standard selected during the driver init phase. However, the standard can be changed after the init phase. This effectively breaks the yuv output stream handler, since it relies on the different yuv planes being block aligned. This patch changes the setup, so that the block size is always the same. The decoder dma function has been modified to cope with the fact that the second yuv plane may no longer be block aligned. The start of the yuv frame must still be at the beginning of a block, so the stream write function has also been modified to ensure this is always true. Also, the stream write function will now initiate a yuv dma transfer as soon as a full frame is ready. It will not wait until the current write request has completed, or the stream buffer becomes full. Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'v4l_experimental')
0 files changed, 0 insertions, 0 deletions