18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * Fast C2P (Chunky-to-Planar) Conversion 38c2ecf20Sopenharmony_ci * 48c2ecf20Sopenharmony_ci * Copyright (C) 2003-2008 Geert Uytterhoeven 58c2ecf20Sopenharmony_ci * 68c2ecf20Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public 78c2ecf20Sopenharmony_ci * License. See the file COPYING in the main directory of this archive 88c2ecf20Sopenharmony_ci * for more details. 98c2ecf20Sopenharmony_ci */ 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#include <linux/types.h> 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciextern void c2p_planar(void *dst, const void *src, u32 dx, u32 dy, u32 width, 148c2ecf20Sopenharmony_ci u32 height, u32 dst_nextline, u32 dst_nextplane, 158c2ecf20Sopenharmony_ci u32 src_nextline, u32 bpp); 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciextern void c2p_iplan2(void *dst, const void *src, u32 dx, u32 dy, u32 width, 188c2ecf20Sopenharmony_ci u32 height, u32 dst_nextline, u32 src_nextline, 198c2ecf20Sopenharmony_ci u32 bpp); 20