linux/include/video
Damian Hobson-Garcia 53b5031430 fbdev: sh_mobile_lcdc: Add YUV framebuffer support
Supports YCbCr420sp, YCbCr422sp, and YCbCr44sp, formats
(bpp = 12, 16, and 24) respectively.

When double-buffering both Y planes appear before the C planes (Y-Y-C-C),
as opposed to  Y-C-Y-C.

Set .nonstd in struct sh_mobile_lcdc_chan_cfg to enable YUV mode, and use
.bpp to distiguish between the 3 modes.
The value of .nonstd is copied to bits 16-31 of LDDFR in the LCDC and
should be set accordingly.
.nonstd must be set to 0 for RGB mode.

Due to the encoding of YUV data, the framebuffer will clear to green
instead of black.

In YUV 420 mode, panning is only possible in 2 line increments.
Additionally in YUV 420 mode the vertical resolution of the framebuffer
must be an even number.

Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2011-03-16 17:27:10 +09:00
..
atmel_lcdc.h
aty128.h
broadsheetfb.h
cirrus.h
cvisionppc.h
da8xx-fb.h fbdev: da8xx: punt duplicated FBIO_WAITFORVSYNC define 2010-11-16 10:14:22 +09:00
edid.h
epson1355.h
gbe.h
hecubafb.h
iga.h
ili9320.h
Kbuild include: replace unifdef-y with header-y 2010-08-14 22:26:51 +02:00
kyro.h
mach64.h
maxinefb.h
mbxfb.h
metronomefb.h
mipi_display.h
neomagic.h
newport.h
permedia2.h
platform_lcd.h
pm3fb.h
pmag-ba-fb.h
pmagb-b-fb.h
pxa168fb.h
radeon.h
s1d13xxxfb.h s1d13xxxfb: drop unused code 2010-12-21 01:05:43 +09:00
sgivw.h
sh_mipi_dsi.h fbdev: sh_mipi_dsi: support different register layouts 2011-01-05 17:16:24 +09:00
sh_mobile_hdmi.h fbdev: sh_mobile_hdmi: add support for more precise HDMI clock configuration 2010-11-10 17:23:54 +09:00
sh_mobile_lcdc.h fbdev: sh_mobile_lcdc: Add YUV framebuffer support 2011-03-16 17:27:10 +09:00
sisfb.h
sstfb.h
tdfx.h
tgafb.h
trident.h
udlfb.h video: udlfb: Kill off special printk wrappers, use pr_fmt(). 2011-01-06 18:07:54 +09:00
uvesafb.h
vga.h include/video/vga.h: update web address. 2010-08-16 15:15:18 +02:00
w100fb.h