1 /*
2  * Allwinner SoCs display driver.
3  *
4  * Copyright (C) 2016 Allwinner.
5  *
6  * This file is licensed under the terms of the GNU General Public
7  * License version 2.  This program is licensed "as is" without any
8  * warranty of any kind, whether express or implied.
9  */
10 
11 /**
12  *  All Winner Tech, All Right Reserved. 2014-2015 Copyright (c)
13  *
14  *  File name   :       de_scaler_table.h
15  *
16  *  Description :       display engine 2.0 vsu/gsu common fir table
17  *                      information
18  *
19  *  History     :       2014/03/26  vito cheng  v0.1  Initial version
20  *
21  */
22 #ifndef __DE_SCALER_TABLE_H__
23 #define __DE_SCALER_TABLE_H__
24 
25 #define GSU_ZOOM0_SIZE  1
26 #define GSU_ZOOM1_SIZE  8
27 #define GSU_ZOOM2_SIZE  4
28 #define GSU_ZOOM3_SIZE  1
29 #define GSU_ZOOM4_SIZE  1
30 #define GSU_ZOOM5_SIZE  1
31 
32 #define VSU_ZOOM0_SIZE  1
33 #define VSU_ZOOM1_SIZE  8
34 #define VSU_ZOOM2_SIZE  4
35 #define VSU_ZOOM3_SIZE  1
36 #define VSU_ZOOM4_SIZE  1
37 #define VSU_ZOOM5_SIZE  1
38 
39 extern unsigned int lan2coefftab16[256];
40 extern unsigned int lan3coefftab32_left[512];
41 extern unsigned int lan3coefftab32_right[512];
42 extern unsigned int lan2coefftab32[512];
43 extern unsigned int bicubic8coefftab32_left[512];
44 extern unsigned int bicubic8coefftab32_right[512];
45 extern unsigned int bicubic4coefftab32[512];
46 
47 #endif
48