2 * Copyright 2005-2013 Freescale Semiconductor, Inc.
6 * The code contained herein is licensed under the GNU Lesser General
7 * Public License. You may obtain a copy of the GNU Lesser General
8 * Public License Version 2.1 or later at the following locations:
10 * http://www.opensource.org/licenses/lgpl-license.html
11 * http://www.gnu.org/copyleft/lgpl.html
15 * @defgroup IPU MXC Image Processing Unit (IPU) Driver
20 * @brief This file contains the IPU driver API declarations.
25 #ifndef __LINUX_IPU_H__
26 #define __LINUX_IPU_H__
28 #include <linux/interrupt.h>
29 #include <uapi/linux/ipu.h>
31 unsigned int fmt_to_bpp(unsigned int pixelformat);
32 cs_t colorspaceofpixel(int fmt);
33 int need_csc(int ifmt, int ofmt);
35 int ipu_queue_task(struct ipu_task *task);
36 int ipu_check_task(struct ipu_task *task);