]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (6345): ivtvfb: YUV handling of an image which is not visible in the display...
authorIan Armstrong <ian@iarmst.demon.co.uk>
Sun, 14 Oct 2007 16:08:02 +0000 (13:08 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 22 Oct 2007 14:01:48 +0000 (12:01 -0200)
commit0bfeb04a9f3ad9ad8c9bbba062231ff1a76e4465
treeac76c36ef740d8dd8f25eebaacfdc8e7bf8fee1e
parentd343d7f9792ac1790757cb35a419b8b0b5210917
V4L/DVB (6345): ivtvfb: YUV handling of an image which is not visible in the display area

When the ivtvfb module is loaded, the YUV output is relative to the
framebuffer output. When a virtual screen size is used, the output area for
the YUV may actually be off screen. To prevent the hardware from crashing,
the current driver will ignore an off-screen position and leave the output
visible at the last on-screen position. This may not be desirable, so this
patch will switch off the YUV output should the image move off-screen, and
re-enable it should the image move on-screen again.

Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-yuv.c
drivers/media/video/ivtv/ivtv-yuv.h