kernel-fxtec-pro1x/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 atmel_lcdfb: change irq_base definition to allow error reporting 2008-11-12 17:17:16 -08:00
aty128.h atyfb: fix header file trailing whitespace 2009-04-01 08:59:26 -07:00
broadsheetfb.h broadsheetfb: support storing waveform 2010-03-12 15:52:34 -08:00
cirrus.h cirrusfb: Laguna chipset 8bpp fix 2009-04-01 08:59:27 -07:00
cvisionppc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
da8xx-fb.h fbdev: da8xx: punt duplicated FBIO_WAITFORVSYNC define 2010-11-16 10:14:22 +09:00
edid.h Make asm-x86/bootparam.h includable from userspace. 2007-10-23 15:49:47 +10:00
epson1355.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gbe.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hecubafb.h fbdev: platforming hecubafb and n411 2008-04-28 08:58:41 -07:00
iga.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ili9320.h fb: add support for the ILI9320 video display controller 2008-07-24 10:47:40 -07:00
Kbuild include: replace unifdef-y with header-y 2010-08-14 22:26:51 +02:00
kyro.h [PATCH] fbdev: kyrofb: Driver cleanups 2006-01-10 08:01:45 -08:00
mach64.h atyfb: fix CONFIG_ namespace violations 2009-02-05 12:56:48 -08:00
maxinefb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mbxfb.h mbxfb: Improvements and new features 2007-10-16 09:43:14 -07:00
metronomefb.h [ARM] 5209/1: metronomefb: changes to use platform framebuffer 2008-08-26 17:01:12 +01:00
mipi_display.h fbdev: add a MIPI DSI header 2010-05-24 08:47:38 +09:00
neomagic.h neofb: remove open_lock mutex 2008-10-16 11:21:42 -07:00
newport.h fbdev: newport: newport_*wait() return 0 on timeout 2009-04-01 08:59:31 -07:00
permedia2.h pm2fb: hardware cursor support for the Permedia2 2007-10-16 09:43:18 -07:00
platform_lcd.h lcd: add platform_lcd driver 2008-07-24 10:47:40 -07:00
pm3fb.h pm3fb: header file cleanup 2007-10-16 09:43:18 -07:00
pmag-ba-fb.h [PATCH] DEC PMAG BA frame buffer update 2005-09-05 00:06:03 -07:00
pmagb-b-fb.h [PATCH] DEC PMAGB B framebuffer update 2005-09-05 00:06:03 -07:00
pxa168fb.h pxa168fb: remove useless vsync/hsync invert flag 2009-12-01 09:02:32 +08:00
radeon.h atyfb: fix header file trailing whitespace 2009-04-01 08:59:26 -07:00
s1d13xxxfb.h s1d13xxxfb: drop unused code 2010-12-21 01:05:43 +09:00
sgivw.h sgivwfb: Make use of ARRAY_SIZE. 2009-12-04 15:39:52 +01:00
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 headers_check fix: video/sisfb.h 2009-01-31 00:14:28 +05:30
sstfb.h define global BIT macro 2007-10-19 11:53:42 -07:00
tdfx.h tdfxfb: move I2C functionality into the tdfxfb 2009-04-07 08:31:08 -07:00
tgafb.h tgafb: actually allocate memory for the pseudo_palette 2007-07-17 10:23:12 -07:00
trident.h tridentfb: add imageblit acceleration for Blade3D family 2008-07-24 10:47:36 -07:00
udlfb.h video: udlfb: Kill off special printk wrappers, use pr_fmt(). 2011-01-06 18:07:54 +09:00
uvesafb.h headers_check fix: video/uvesafb.h 2009-01-31 00:14:52 +05:30
vga.h include/video/vga.h: update web address. 2010-08-16 15:15:18 +02:00
w100fb.h [PATCH] SharpSL: Abstract c7x0 specifics from Corgi Touchscreen driver 2005-09-13 08:22:31 -07:00