]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - include/linux/ipu.h
ENGR00293211 PXP: bind allocated DMA channels to opened device file descriptor
[karo-tx-linux.git] / include / linux / ipu.h
1 /*
2  * Copyright 2005-2013 Freescale Semiconductor, Inc.
3  */
4
5 /*
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:
9  *
10  * http://www.opensource.org/licenses/lgpl-license.html
11  * http://www.gnu.org/copyleft/lgpl.html
12  */
13
14 /*!
15  * @defgroup IPU MXC Image Processing Unit (IPU) Driver
16  */
17 /*!
18  * @file linux/ipu.h
19  *
20  * @brief This file contains the IPU driver API declarations.
21  *
22  * @ingroup IPU
23  */
24
25 #ifndef __LINUX_IPU_H__
26 #define __LINUX_IPU_H__
27
28 #include <linux/interrupt.h>
29 #include <uapi/linux/ipu.h>
30
31 unsigned int fmt_to_bpp(unsigned int pixelformat);
32 cs_t colorspaceofpixel(int fmt);
33 int need_csc(int ifmt, int ofmt);
34
35 int ipu_queue_task(struct ipu_task *task);
36 int ipu_check_task(struct ipu_task *task);
37
38 #endif