1 //<MStar Software> 2 //****************************************************************************** 3 // MStar Software 4 // Copyright (c) 2010 - 2012 MStar Semiconductor, Inc. All rights reserved. 5 // All software, firmware and related documentation herein ("MStar Software") are 6 // intellectual property of MStar Semiconductor, Inc. ("MStar") and protected by 7 // law, including, but not limited to, copyright law and international treaties. 8 // Any use, modification, reproduction, retransmission, or republication of all 9 // or part of MStar Software is expressly prohibited, unless prior written 10 // permission has been granted by MStar. 11 // 12 // By accessing, browsing and/or using MStar Software, you acknowledge that you 13 // have read, understood, and agree, to be bound by below terms ("Terms") and to 14 // comply with all applicable laws and regulations: 15 // 16 // 1. MStar shall retain any and all right, ownership and interest to MStar 17 // Software and any modification/derivatives thereof. 18 // No right, ownership, or interest to MStar Software and any 19 // modification/derivatives thereof is transferred to you under Terms. 20 // 21 // 2. You understand that MStar Software might include, incorporate or be 22 // supplied together with third party`s software and the use of MStar 23 // Software may require additional licenses from third parties. 24 // Therefore, you hereby agree it is your sole responsibility to separately 25 // obtain any and all third party right and license necessary for your use of 26 // such third party`s software. 27 // 28 // 3. MStar Software and any modification/derivatives thereof shall be deemed as 29 // MStar`s confidential information and you agree to keep MStar`s 30 // confidential information in strictest confidence and not disclose to any 31 // third party. 32 // 33 // 4. MStar Software is provided on an "AS IS" basis without warranties of any 34 // kind. Any warranties are hereby expressly disclaimed by MStar, including 35 // without limitation, any warranties of merchantability, non-infringement of 36 // intellectual property rights, fitness for a particular purpose, error free 37 // and in conformity with any international standard. You agree to waive any 38 // claim against MStar for any loss, damage, cost or expense that you may 39 // incur related to your use of MStar Software. 40 // In no event shall MStar be liable for any direct, indirect, incidental or 41 // consequential damages, including without limitation, lost of profit or 42 // revenues, lost or damage of data, and unauthorized system use. 43 // You agree that this Section 4 shall still apply without being affected 44 // even if MStar Software has been modified by MStar in accordance with your 45 // request or instruction for your use, except otherwise agreed by both 46 // parties in writing. 47 // 48 // 5. If requested, MStar may from time to time provide technical supports or 49 // services in relation with MStar Software to you for your use of 50 // MStar Software in conjunction with your or your customer`s product 51 // ("Services"). 52 // You understand and agree that, except otherwise agreed by both parties in 53 // writing, Services are provided on an "AS IS" basis and the warranty 54 // disclaimer set forth in Section 4 above shall apply. 55 // 56 // 6. Nothing contained herein shall be construed as by implication, estoppels 57 // or otherwise: 58 // (a) conferring any license or right to use MStar name, trademark, service 59 // mark, symbol or any other identification; 60 // (b) obligating MStar or any of its affiliates to furnish any person, 61 // including without limitation, you and your customers, any assistance 62 // of any kind whatsoever, or any information; or 63 // (c) conferring any license or right under any intellectual property right. 64 // 65 // 7. These terms shall be governed by and construed in accordance with the laws 66 // of Taiwan, R.O.C., excluding its conflict of law rules. 67 // Any and all dispute arising out hereof or related hereto shall be finally 68 // settled by arbitration referred to the Chinese Arbitration Association, 69 // Taipei in accordance with the ROC Arbitration Law and the Arbitration 70 // Rules of the Association by three (3) arbitrators appointed in accordance 71 // with the said Rules. 72 // The place of arbitration shall be in Taipei, Taiwan and the language shall 73 // be English. 74 // The arbitration award shall be final and binding to both parties. 75 // 76 //****************************************************************************** 77 //<MStar Software> 78 //////////////////////////////////////////////////////////////////////////////// 79 // 80 // Copyright (c) 2008-2009 MStar Semiconductor, Inc. 81 // All rights reserved. 82 // 83 // Unless otherwise stipulated in writing, any and all information contained 84 // herein regardless in any format shall remain the sole proprietary of 85 // MStar Semiconductor Inc. and be kept in strict confidence 86 // ("MStar Confidential Information") by the recipient. 87 // Any unauthorized act including without limitation unauthorized disclosure, 88 // copying, use, reproduction, sale, distribution, modification, disassembling, 89 // reverse engineering and compiling of the contents of MStar Confidential 90 // Information is unlawful and strictly prohibited. MStar hereby reserves the 91 // rights to any and all damages, losses, costs and expenses resulting therefrom. 92 // 93 //////////////////////////////////////////////////////////////////////////////// 94 95 /////////////////////////////////////////////////////////////////////////////////////////////////// 96 /// 97 /// @file drvPQ_Datatypes.h 98 /// @brief PQ interface 99 /// @author MStar Semiconductor Inc. 100 /////////////////////////////////////////////////////////////////////////////////////////////////// 101 102 #ifndef _DRVPQ_DATATYPES_H_ 103 #define _DRVPQ_DATATYPES_H_ 104 105 #ifdef __cplusplus 106 extern "C" 107 { 108 #endif 109 110 typedef enum 111 { 112 MS_422To444_ON, 113 MS_422To444_OFF, 114 MS_422To444_SIMPLE, 115 MS_422To444_BICUBIC, 116 MS_422To444_BYPASS, 117 MS_422To444_NUMS 118 }MS_422To444_TYPE; 119 120 typedef enum 121 { 122 MS_420_CUP_ON, 123 MS_420_CUP_OFF, 124 MS_420_CUP_NUM, 125 }MS_420_CUP_TYPE; 126 127 typedef enum 128 { 129 MS_HNONLINEAR_OFF, 130 MS_HNONLINEAR_1920_0, 131 MS_HNONLINEAR_1920_1, 132 MS_HNONLINEAR_1920_2, 133 MS_HNONLINEAR_1680, 134 MS_HNONLINEAR_1440, 135 MS_HNONLINEAR_1366_0, 136 MS_HNONLINEAR_1366_1, 137 MS_HNONLINEAR_1366_2, 138 MS_HNONLINEAR_3840_0, 139 MS_HNONLINEAR_3840_1, 140 MS_HNONLINEAR_3840_2, 141 MS_HNONLINEAR_NUM, 142 }MS_HNONLINEAR_TYPE; 143 144 typedef enum 145 { 146 MS_MADI_24_4R, 147 MS_MADI_24_2R, 148 MS_MADI_25_4R_MC, 149 MS_MADI_25_4R, 150 MS_MADI_25_2R, 151 MS_MADI_26_4R, 152 MS_MADI_26_2R, 153 MS_MADI_27_4R, 154 MS_MADI_27_2R, 155 MS_MADI_P_MODE8, 156 MS_MADI_P_MODE10, 157 MS_MADI_P_MODE_MOT10, 158 MS_MADI_P_MODE_MOT8, 159 MS_MADI_24_RFBL_NFILM, 160 MS_MADI_24_RFBL_FILM, 161 MS_MADI_FBL_DNR, 162 MS_MADI_FBL_MIU, 163 MS_MADI_P_MODE8_NO_MIU, 164 MS_MADI_24_4R_880, 165 MS_MADI_24_2R_880, 166 MS_MADI_25_4R_MC_NW, 167 MS_MADI_25_6R_MC, 168 MS_MADI_25_14F_6R_MC, //Add New MADi mode 169 MS_MADI_25_4R_884, 170 MS_MADI_25_4R_880, 171 MS_MADI_25_2R_884, 172 MS_MADI_25_2R_880, 173 MS_MADI_25_6R_MC_NW, 174 MS_MADI_25_12F_8R_MC, 175 MS_MADI_25_14F_8R_MC, 176 MS_MADI_25_16F_8R_MC, 177 MS_MADI_25_6R_FilmPreDet, 178 MS_MADI_24_6R_FilmPreDet, 179 MS_MADI_25_6R_FilmPreDet_PAL, 180 MS_MADI_24_6R_FilmPreDet_PAL, 181 MS_MADI_RFBL_2D, 182 MS_MADI_RFBL_25D, 183 MS_MADI_RFBL_3D, 184 MS_MADI_RFBL_3D_YC, 185 MS_MADI_RFBL_3D_FILM, 186 MS_MADI_P_MODE8_444, 187 MS_MADI_P_MODE10_444, 188 MS_MADI_RFBL_P_MODE10_MOT, 189 MS_MADI_RFBL_P_MODE8_MOT, 190 MS_MADI_P_MODE_MOT10_8Frame, 191 MS_MADI_P_MODE_MOT10_4Frame, 192 MS_MADI_P_MODE_MC_3Frame, 193 MS_MADI_P_MODE_MC_4Frame, 194 MS_MADI_P_MODE_MC_6Frame_6R, 195 MS_MADI_P_MODE_MC_12Frame_8R, 196 MS_MADI_P_MODE_MC_8Frame_6R, 197 MS_MADI_P_MODE_MC_16Frame_8R, 198 MS_MADI_25_8F_4R_MC, 199 MS_MADI_25_16F_6R_MC, 200 MS_MADI_P_MODE8_2BYTE_3D, 201 MS_MADi_25_8F_8R_MC, 202 MS_MADI_RFBL_MC, 203 MS_MADI_RFBL_P_MODE_MC, 204 MS_MADI_P_MODE_P_MC_12Frame_8R, 205 MS_MADI_P_MODE_N_MC_12Frame_8R, 206 MS_MADI_25_6F_4R_MC_I, 207 MS_MADI_25_6F_4R_MC_P, 208 MS_MADi_25_4R_I, 209 MS_MADi_25_4R_P, 210 MS_MADi_25_4R_M_MC, 211 MS_MADi_25_16F_8R_M_MC, 212 MS_MADi_25_16F_6R_M_MC, 213 MS_MADi_P_MODE8_M_444, 214 MS_MADi_P_MODE_MC_M_4F, 215 MS_MADi_P_MODE10_M_444, 216 MS_MADi_P_MODE8_M, 217 MS_MADi_P_MODE10_M, 218 MS_MADi_25_4R_M, 219 MS_MADi_P_MODE_MOT10_M, 220 MS_MADi_P_MODE_MOT8_M, 221 MS_MADi_P_MODE_MOT10_M_4K, 222 MS_MADi_P_MODE10_M_444_4K, 223 MS_MADi_P_MODE_MC_12Frame_8R_M, 224 MS_MADi_P_MODE_MC_8Frame_8R_M, 225 MS_MADI_P_MODE_MC_6Frame, 226 MS_MADi_24_8F_4R_M_MC, 227 MS_MADi_P_MODE8_M_4K, 228 MS_MADi_P_MODE8_M_4K_60, 229 MS_MADi_P_MODE8_M_4F, 230 MS_MADi_24_4R_M, 231 MS_MADi_P_MODE_MOT10_NR_Yonly_M, 232 MS_MADi_P_MODE_MOT10_NO_DNR, 233 MS_MADi_25_4R_720i_Main, 234 MS_MADi_25_6F_4R_MC, 235 MS_MADi_P_MODE_MC_4Frame_Yonly_Main, 236 MS_MADI_P_MODE_MC_5Frame, 237 MS_MADI_NUM, 238 }MS_MADI_TYPE; 239 240 typedef enum 241 { 242 MS_VD_SAMPLING_STANDARD, 243 MS_VD_SAMPLING_1135, 244 MS_VD_SAMPLING_1135_MUL_15, 245 MS_VD_SAMPLING_NUM, 246 }MS_VD_SAMPLING_TYPE; 247 248 typedef enum 249 { 250 MS_PQ_IP_VD_SAMPLING, 251 MS_PQ_IP_HSD_SAMPLING, 252 MS_PQ_IP_ADC_SAMPLING, 253 MS_PQ_IP_NUM, 254 }MS_PQ_IP_TYPE; 255 256 typedef enum 257 { 258 MS_ADC_SAMPLING_X_1, 259 MS_ADC_SAMPLING_X_2, 260 MS_ADC_SAMPLING_X_4, 261 MS_ADC_SAMPLING_NUM, 262 }MS_ADC_SAMPLING_TYPE; 263 264 typedef enum 265 { 266 MS_CSC_IP_CSC, 267 MS_CSC_IP_VIP_CSC, 268 MS_CSC_IP_NUMs, 269 }MS_CSC_IP_TYPE; 270 271 typedef enum 272 { 273 MS_HSD_SAMPLING_Div_1_000, 274 MS_HSD_SAMPLING_Div_1_125, 275 MS_HSD_SAMPLING_Div_1_250, 276 MS_HSD_SAMPLING_Div_1_375, 277 MS_HSD_SAMPLING_Div_1_500, 278 MS_HSD_SAMPLING_Div_1_625, 279 MS_HSD_SAMPLING_Div_1_750, 280 MS_HSD_SAMPLING_Div_1_875, 281 MS_HSD_SAMPLING_Div_2_000, 282 MS_HSD_SAMPLING_NUM, 283 }MS_HSD_SAMPLING_TYPE; 284 285 #ifdef __cplusplus 286 } 287 #endif 288 289 #endif /* _DRVPQ_DATATYPES_H_ */ 290