OMAPDSS: VENC: fix NULL pointer dereference in DSS2 VENC sysfs debug attr on OMAP4
[zen-stable.git] / drivers / video / msm / mdp_scale_tables.h
blob34077b1af6039718f8ab76ebb7ad97156f72a1a1
1 /* drivers/video/msm_fb/mdp_scale_tables.h
3 * Copyright (C) 2007 QUALCOMM Incorporated
4 * Copyright (C) 2007 Google Incorporated
6 * This software is licensed under the terms of the GNU General Public
7 * License version 2, as published by the Free Software Foundation, and
8 * may be copied, distributed, and modified under those terms.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 #ifndef _MDP_SCALE_TABLES_H_
16 #define _MDP_SCALE_TABLES_H_
18 #include <linux/types.h>
19 struct mdp_table_entry {
20 uint32_t reg;
21 uint32_t val;
24 extern struct mdp_table_entry mdp_upscale_table[64];
26 enum {
27 MDP_DOWNSCALE_PT2TOPT4,
28 MDP_DOWNSCALE_PT4TOPT6,
29 MDP_DOWNSCALE_PT6TOPT8,
30 MDP_DOWNSCALE_PT8TO1,
31 MDP_DOWNSCALE_MAX,
34 extern struct mdp_table_entry *mdp_downscale_x_table[MDP_DOWNSCALE_MAX];
35 extern struct mdp_table_entry *mdp_downscale_y_table[MDP_DOWNSCALE_MAX];
36 extern struct mdp_table_entry mdp_gaussian_blur_table[];
38 #endif