android_kernel_xiaomi_sdm845/drivers/media/video/ivtv
Ian Armstrong c240ad00af V4L/DVB (6712): ivtv: ivtv yuv stream handling change
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-25 19:03:09 -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 (6712): ivtv: ivtv yuv stream handling change 2008-01-25 19:03:09 -02:00
ivtv-driver.h V4L/DVB (6712): ivtv: ivtv yuv stream handling change 2008-01-25 19:03:09 -02:00
ivtv-fileops.c V4L/DVB (6712): ivtv: ivtv yuv stream handling change 2008-01-25 19:03:09 -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 (6341): ivtv: fix resizing MPEG1 streams 2007-10-22 12:01:46 -02:00
ivtv-ioctl.h V4L/DVB (6091): ivtv: header cleanup 2007-10-09 22:06:44 -03:00
ivtv-irq.c V4L/DVB (6712): ivtv: ivtv yuv stream handling change 2008-01-25 19:03:09 -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 (6483): ivtv-streams: make file_operations const 2008-01-25 19:01:44 -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 (6346): ivtvfb: YUV output size fix when ivtvfb is not loaded 2007-10-22 12:01:48 -02:00
ivtv-yuv.h V4L/DVB (6345): ivtvfb: YUV handling of an image which is not visible in the display area 2007-10-22 12:01:48 -02:00
ivtvfb.c V4L/DVB (6380): ivtvfb: Removal of the 'osd_compat' module option 2007-10-22 12:01:52 -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