linux/drivers/media/video/ivtv
Ian Armstrong b4b38bd63c V4L/DVB (5970): ivtv: prevent vertical overflow of yuv output
When the video standard is changed, there's no guarantee the framebuffer
dimensions are still legal. The yuv output code uses these dimensions to
calculate the size & position for the video overlay. If the framebuffer
dimensions are now illegal, the output may exceed the vertical limit of the
display, causing distortion.

This patch adds an additional check to ensure the output doesn't exceed
the limits for the current video standard, cropping if required.

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>
2007-10-09 22:04:25 -03:00
..
ivtv-audio.c V4L/DVB (5345): ivtv driver for Conexant cx23416/cx23415 MPEG encoder/decoder 2007-04-27 15:43:50 -03:00
ivtv-audio.h V4L/DVB (5345): ivtv driver for Conexant cx23416/cx23415 MPEG encoder/decoder 2007-04-27 15:43:50 -03:00
ivtv-cards.c V4L/DVB (5929): Add vp27smpx driver 2007-10-09 22:03:25 -03:00
ivtv-cards.h V4L/DVB (5929): Add vp27smpx driver 2007-10-09 22:03:25 -03:00
ivtv-controls.c V4L/DVB (5345): ivtv driver for Conexant cx23416/cx23415 MPEG encoder/decoder 2007-04-27 15:43:50 -03:00
ivtv-controls.h V4L/DVB (5345): ivtv driver for Conexant cx23416/cx23415 MPEG encoder/decoder 2007-04-27 15:43:50 -03:00
ivtv-driver.c V4L/DVB (5929): Add vp27smpx driver 2007-10-09 22:03:25 -03:00
ivtv-driver.h V4L/DVB (5922): ivtv, cx25840: postpone fw load until first use 2007-10-09 22:03:20 -03:00
ivtv-fb.c V4L/DVB (5924): ivtv-fb: initializing the fb should trigger ivtv firmware load 2007-10-09 22:03:23 -03:00
ivtv-fileops.c V4L/DVB (5924): ivtv-fb: initializing the fb should trigger ivtv firmware load 2007-10-09 22:03:23 -03:00
ivtv-fileops.h V4L/DVB (5379): If possible make vars/functions static. 2007-04-27 15:44:13 -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 (5345): ivtv driver for Conexant cx23416/cx23415 MPEG encoder/decoder 2007-04-27 15:43:50 -03:00
ivtv-gpio.c V4L/DVB (5854): ivtv: cleanup of driver messages 2007-07-20 17:35:46 -03:00
ivtv-gpio.h V4L/DVB (5345): ivtv driver for Conexant cx23416/cx23415 MPEG encoder/decoder 2007-04-27 15:43:50 -03:00
ivtv-i2c.c V4L/DVB (5929): Add vp27smpx driver 2007-10-09 22:03:25 -03:00
ivtv-i2c.h V4L/DVB (5379): If possible make vars/functions static. 2007-04-27 15:44:13 -03:00
ivtv-ioctl.c V4L/DVB (6095): ivtv: fix VIDIOC_G_ENC_INDEX flag handling 2007-09-14 13:13:40 -03:00
ivtv-ioctl.h V4L/DVB (5345): ivtv driver for Conexant cx23416/cx23415 MPEG encoder/decoder 2007-04-27 15:43:50 -03:00
ivtv-irq.c V4L/DVB (5866): ivtv: fix DMA timeout when capturing VBI + another stream 2007-07-20 17:35:52 -03:00
ivtv-irq.h V4L/DVB (5404): Merges VBI & YUV handling into a single work queue. 2007-04-27 15:44:24 -03:00
ivtv-mailbox.c V4L/DVB (5917): ivtv: improve mailbox responsiveness. 2007-07-30 16:26:33 -03:00
ivtv-mailbox.h V4L/DVB (5345): ivtv driver for Conexant cx23416/cx23415 MPEG encoder/decoder 2007-04-27 15:43:50 -03:00
ivtv-queue.c V4L/DVB (5675): Move big PIO accesses from the interrupt handler to a workhandler 2007-06-08 08:21:13 -03:00
ivtv-queue.h V4L/DVB (5675): Move big PIO accesses from the interrupt handler to a workhandler 2007-06-08 08:21:13 -03:00
ivtv-streams.c V4L/DVB (5919): ivtv: remove dead code 2007-10-09 22:03:14 -03:00
ivtv-streams.h V4L/DVB (5345): ivtv driver for Conexant cx23416/cx23415 MPEG encoder/decoder 2007-04-27 15:43:50 -03:00
ivtv-udma.c V4L/DVB (5345): ivtv driver for Conexant cx23416/cx23415 MPEG encoder/decoder 2007-04-27 15:43:50 -03:00
ivtv-udma.h V4L/DVB (5345): ivtv driver for Conexant cx23416/cx23415 MPEG encoder/decoder 2007-04-27 15:43:50 -03:00
ivtv-vbi.c V4L/DVB (5769): Ivtv: fix broken VBI output support 2007-07-18 14:24:10 -03:00
ivtv-vbi.h V4L/DVB (5675): Move big PIO accesses from the interrupt handler to a workhandler 2007-06-08 08:21:13 -03:00
ivtv-version.h V4L/DVB (5909): ivtv: update version to 1.1 to mark ivtv-fb support 2007-10-09 22:03:08 -03:00
ivtv-video.c V4L/DVB (5379): If possible make vars/functions static. 2007-04-27 15:44:13 -03:00
ivtv-video.h V4L/DVB (5379): If possible make vars/functions static. 2007-04-27 15:44:13 -03:00
ivtv-yuv.c V4L/DVB (5970): ivtv: prevent vertical overflow of yuv output 2007-10-09 22:04:25 -03:00
ivtv-yuv.h V4L/DVB (5404): Merges VBI & YUV handling into a single work queue. 2007-04-27 15:44:24 -03:00
Kconfig V4L/DVB (5929): Add vp27smpx driver 2007-10-09 22:03:25 -03:00
Makefile V4L/DVB (5902): Add ivtv-fb framebuffer driver. 2007-10-09 22:03:02 -03:00