diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2008-12-21 09:48:12 -0500 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2009-01-12 14:56:31 -0500 |
commit | 96f47d6105203ab06c2004e26979dea153bce073 (patch) | |
tree | 39dce6e593746e55084a4b1c65cf66f66932a07c /drivers/video/c2p.h | |
parent | 2cd1de0a0ff1d3da08ff1f1437cf4a44deae6a00 (diff) |
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.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/video/c2p.h b/drivers/video/c2p.h index daafd872601c..53641298b924 100644 --- a/drivers/video/c2p.h +++ b/drivers/video/c2p.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Fast C2P (Chunky-to-Planar) Conversion | 2 | * Fast C2P (Chunky-to-Planar) Conversion |
3 | * | 3 | * |
4 | * Copyright (C) 2003 Geert Uytterhoeven | 4 | * Copyright (C) 2003-2008 Geert Uytterhoeven |
5 | * | 5 | * |
6 | * This file is subject to the terms and conditions of the GNU General Public | 6 | * This file is subject to the terms and conditions of the GNU General Public |
7 | * License. See the file COPYING in the main directory of this archive | 7 | * 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, | |||
14 | u32 height, u32 dst_nextline, u32 dst_nextplane, | 14 | u32 height, u32 dst_nextline, u32 dst_nextplane, |
15 | u32 src_nextline, u32 bpp); | 15 | u32 src_nextline, u32 bpp); |
16 | 16 | ||
17 | extern void c2p_iplan2(void *dst, const void *src, u32 dx, u32 dy, u32 width, | ||
18 | u32 height, u32 dst_nextline, u32 src_nextline, | ||
19 | u32 bpp); | ||