xref: /openbmc/linux/drivers/video/fbdev/c2p.h (revision f7018c21)
1f7018c21STomi Valkeinen /*
2f7018c21STomi Valkeinen  *  Fast C2P (Chunky-to-Planar) Conversion
3f7018c21STomi Valkeinen  *
4f7018c21STomi Valkeinen  *  Copyright (C) 2003-2008 Geert Uytterhoeven
5f7018c21STomi Valkeinen  *
6f7018c21STomi Valkeinen  *  This file is subject to the terms and conditions of the GNU General Public
7f7018c21STomi Valkeinen  *  License. See the file COPYING in the main directory of this archive
8f7018c21STomi Valkeinen  *  for more details.
9f7018c21STomi Valkeinen  */
10f7018c21STomi Valkeinen 
11f7018c21STomi Valkeinen #include <linux/types.h>
12f7018c21STomi Valkeinen 
13f7018c21STomi Valkeinen extern void c2p_planar(void *dst, const void *src, u32 dx, u32 dy, u32 width,
14f7018c21STomi Valkeinen 		       u32 height, u32 dst_nextline, u32 dst_nextplane,
15f7018c21STomi Valkeinen 		       u32 src_nextline, u32 bpp);
16f7018c21STomi Valkeinen 
17f7018c21STomi Valkeinen extern void c2p_iplan2(void *dst, const void *src, u32 dx, u32 dy, u32 width,
18f7018c21STomi Valkeinen 		       u32 height, u32 dst_nextline, u32 src_nextline,
19f7018c21STomi Valkeinen 		       u32 bpp);
20