aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/c2p.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2008-12-21 15:48:12 +0100
committerGeert Uytterhoeven <geert@linux-m68k.org>2009-01-12 20:56:31 +0100
commit96f47d6105203ab06c2004e26979dea153bce073 (patch)
tree39dce6e593746e55084a4b1c65cf66f66932a07c /drivers/video/c2p.h
parent2cd1de0a0ff1d3da08ff1f1437cf4a44deae6a00 (diff)
downloadkernel_samsung_smdk4412-96f47d6105203ab06c2004e26979dea153bce073.zip
kernel_samsung_smdk4412-96f47d6105203ab06c2004e26979dea153bce073.tar.gz
kernel_samsung_smdk4412-96f47d6105203ab06c2004e26979dea153bce073.tar.bz2
fbdev: c2p/atafb - Add support for Atari interleaved bitplanes
The c2p() for normal bitplanes is not suitable for interleaved bitplanes with 2 bytes of interleave, causing a garbled penguin logo. Add c2p_iplan2(). Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'drivers/video/c2p.h')
-rw-r--r--drivers/video/c2p.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/video/c2p.h b/drivers/video/c2p.h
index daafd87..5364129 100644
--- a/drivers/video/c2p.h
+++ b/drivers/video/c2p.h
@@ -1,7 +1,7 @@
/*
* Fast C2P (Chunky-to-Planar) Conversion
*
- * Copyright (C) 2003 Geert Uytterhoeven
+ * Copyright (C) 2003-2008 Geert Uytterhoeven
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive
@@ -14,3 +14,6 @@ extern void c2p(void *dst, const void *src, u32 dx, u32 dy, u32 width,
u32 height, u32 dst_nextline, u32 dst_nextplane,
u32 src_nextline, u32 bpp);
+extern void c2p_iplan2(void *dst, const void *src, u32 dx, u32 dy, u32 width,
+ u32 height, u32 dst_nextline, u32 src_nextline,
+ u32 bpp);