kernel-fxtec-pro1x/drivers/media/video/ivtv
Ian Armstrong 77aded6ba5 V4L/DVB (6717): ivtv: Initial merge of video48 yuv handling into the IVTV_IOC_DMA_FRAME framework
Previously, all yuv data written to /dev/video48 had only basic support with
no double buffering to avoid display tearing.

With this patch, yuv frames written to video48 are now handled by the existing
IVTV_IOC_DMA_FRAME framework. As such, the frames are hardware buffered to
avoid tearing, and honour scaling mode & field order options. Unlike the
proprietary IVTV_IOC_DMA_FRAME ioctl, all parameters are controlled by the
V4L2 API.

Due to mpeg & yuv output restrictions being different, their V4L2 output
controls have been separated. To control the yuv output, the V4L2 calls must
be done via video48.

If the ivtvfb module is loaded, there will be one side effect to this merge.
The yuv output window will be constrained to the visible framebuffer area. In
the event that a virtual framebuffer size is being used, the limit to the
output size will be the virtual dimensions, but only the portion that falls
within the currently visible area of the framebuffer will be shown.

Like the IVTV_IOC_DMA_FRAME ioctl, the supplied frames must be padded to 720
pixels wide. However the height must only be padded up the nearest multiple
of 32. This would mean an image of 102 lines must be padded to 128. As long
as the true source image size is given, the padding will not be visible in
the final output.

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>
2008-01-25 19:03:11 -02:00
..
ivtv-cards.c V4L/DVB (6489): ivtv: add support for AVerMedia PVR-150 Plus 2008-01-25 19:01:50 -02:00
ivtv-cards.h V4L/DVB (6489): ivtv: add support for AVerMedia PVR-150 Plus 2008-01-25 19:01:50 -02:00
ivtv-controls.c V4L/DVB (6092): ivtv: more cleanups, merged ivtv-audio.c and ivtv-video.c into ivtv-routing.c 2007-10-09 22:06:47 -03:00
ivtv-controls.h V4L/DVB (6091): ivtv: header cleanup 2007-10-09 22:06:44 -03:00
ivtv-driver.c V4L/DVB (6717): ivtv: Initial merge of video48 yuv handling into the IVTV_IOC_DMA_FRAME framework 2008-01-25 19:03:11 -02:00
ivtv-driver.h V4L/DVB (6717): ivtv: Initial merge of video48 yuv handling into the IVTV_IOC_DMA_FRAME framework 2008-01-25 19:03:11 -02:00
ivtv-fileops.c V4L/DVB (6717): ivtv: Initial merge of video48 yuv handling into the IVTV_IOC_DMA_FRAME framework 2008-01-25 19:03:11 -02:00
ivtv-fileops.h V4L/DVB (6091): ivtv: header cleanup 2007-10-09 22:06:44 -03:00
ivtv-firmware.c V4L/DVB (5920): ivtv: fix incorrect fw size report. 2007-07-30 16:26:35 -03:00
ivtv-firmware.h V4L/DVB (6091): ivtv: header cleanup 2007-10-09 22:06:44 -03:00
ivtv-gpio.c V4L/DVB (5995): ivtv: add AverMedia M116 2007-10-09 22:04:54 -03:00
ivtv-gpio.h V4L/DVB (6091): ivtv: header cleanup 2007-10-09 22:06:44 -03:00
ivtv-i2c.c V4L/DVB (6488): ivtv: add ASUS Falcon2 support 2008-01-25 19:01:50 -02:00
ivtv-i2c.h V4L/DVB (6796): ivtv/ section fix 2007-12-11 22:22:52 -02:00
ivtv-ioctl.c V4L/DVB (6717): ivtv: Initial merge of video48 yuv handling into the IVTV_IOC_DMA_FRAME framework 2008-01-25 19:03:11 -02:00
ivtv-ioctl.h V4L/DVB (6091): ivtv: header cleanup 2007-10-09 22:06:44 -03:00
ivtv-irq.c V4L/DVB (6717): ivtv: Initial merge of video48 yuv handling into the IVTV_IOC_DMA_FRAME framework 2008-01-25 19:03:11 -02:00
ivtv-irq.h V4L/DVB (6092): ivtv: more cleanups, merged ivtv-audio.c and ivtv-video.c into ivtv-routing.c 2007-10-09 22:06:47 -03:00
ivtv-mailbox.c V4L/DVB (6055): ivtv: improve debug messages 2007-10-09 22:05:42 -03:00
ivtv-mailbox.h V4L/DVB (6092): ivtv: more cleanups, merged ivtv-audio.c and ivtv-video.c into ivtv-routing.c 2007-10-09 22:06:47 -03:00
ivtv-queue.c V4L/DVB (6098): ivtv: kzalloc() returns void pointer, no need to cast 2007-10-09 22:06:53 -03:00
ivtv-queue.h V4L/DVB (6091): ivtv: header cleanup 2007-10-09 22:06:44 -03:00
ivtv-routing.c V4L/DVB (6488): ivtv: add ASUS Falcon2 support 2008-01-25 19:01:50 -02:00
ivtv-routing.h V4L/DVB (6092): ivtv: more cleanups, merged ivtv-audio.c and ivtv-video.c into ivtv-routing.c 2007-10-09 22:06:47 -03:00
ivtv-streams.c V4L/DVB (6717): ivtv: Initial merge of video48 yuv handling into the IVTV_IOC_DMA_FRAME framework 2008-01-25 19:03:11 -02:00
ivtv-streams.h V4L/DVB (6342): ivtv: fix circular locking (bug 9037) 2007-10-22 12:01:47 -02:00
ivtv-udma.c SG: Change sg_set_page() to take length and offset argument 2007-10-24 11:20:47 +02:00
ivtv-udma.h V4L/DVB (6091): ivtv: header cleanup 2007-10-09 22:06:44 -03:00
ivtv-vbi.c V4L/DVB (6116): ivtv: VBI cleanups and fixes 2007-10-09 22:07:14 -03:00
ivtv-vbi.h V4L/DVB (6116): ivtv: VBI cleanups and fixes 2007-10-09 22:07:14 -03:00
ivtv-version.h V4L/DVB (6091): ivtv: header cleanup 2007-10-09 22:06:44 -03:00
ivtv-yuv.c V4L/DVB (6717): ivtv: Initial merge of video48 yuv handling into the IVTV_IOC_DMA_FRAME framework 2008-01-25 19:03:11 -02:00
ivtv-yuv.h V4L/DVB (6717): ivtv: Initial merge of video48 yuv handling into the IVTV_IOC_DMA_FRAME framework 2008-01-25 19:03:11 -02:00
ivtvfb.c V4L/DVB (6717): ivtv: Initial merge of video48 yuv handling into the IVTV_IOC_DMA_FRAME framework 2008-01-25 19:03:11 -02:00
Kconfig V4L/DVB (6488): ivtv: add ASUS Falcon2 support 2008-01-25 19:01:50 -02:00
Makefile V4L/DVB (6119): ivtvfb: renamed ivtv-fb to ivtvfb, move header to include/linux 2007-10-09 22:07:23 -03:00