| /******************************************************************************* |
| * Copyright (C) Marvell International Ltd. and its affiliates |
| * |
| * Marvell GPL License Option |
| * |
| * If you received this File from Marvell, you may opt to use, redistribute and/or |
| * modify this File in accordance with the terms and conditions of the General |
| * Public License Version 2, June 1991 (the "GPL License"), a copy of which is |
| * available along with the File in the license.txt file or by writing to the Free |
| * Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 or |
| * on the worldwide web at http://www.gnu.org/licenses/gpl.txt. |
| * |
| * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE IMPLIED |
| * WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY |
| * DISCLAIMED. The GPL License provides additional details about this warranty |
| * disclaimer. |
| ********************************************************************************/ |
| |
| #ifndef _VPP_CFG_H_ |
| #define _VPP_CFG_H_ |
| |
| #ifdef __cplusplus |
| extern "C" { |
| #endif |
| |
| typedef struct RESOLUTION_INFO_T { |
| int active_width; |
| int active_height; /* active height of channel in pixel */ |
| int width; /* width of channel in pixel */ |
| int height; /* height of channel in pixel */ |
| int hfrontporch; /* front porch of hsync */ |
| int hsyncwidth; /* hsync width */ |
| int hbackporch; /* back porch of hsync */ |
| int vfrontporch; /* front porch of vsync */ |
| int vsyncwidth; /* vsync width */ |
| int vbackporch; /* back porch of vsync */ |
| int type; /* resolution type: HD or SD */ |
| int scan; /* scan mode: progressive or interlaced */ |
| int frame_rate; /* frame rate */ |
| int flag_3d; /* 1 for 3D, 0 for 2D */ |
| int freq; /* pixel frequency */ |
| int pts_per_cnt_4; /* time interval in term of PTS for every 4 frames */ |
| }RESOLUTION_INFO; |
| |
| #ifndef _VPP_CFG_C_ |
| /* VPP module constant tables */ |
| extern const RESOLUTION_INFO m_resinfo_table[MAX_NUM_RESS]; |
| #endif |
| |
| #ifdef __cplusplus |
| } |
| #endif |
| |
| #endif |