xref: /utopia/UTPA2-700.0.x/mxlib/include/apiXC_Ace_v2.h (revision 53ee8cc121a030b8d368113ac3e966b4705770ef)
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 
78 #ifndef _API_ACE_PRIV_H_
79 #define _API_ACE_PRIV_H_
80 
81 #ifdef __cplusplus
82 extern "C"
83 {
84 #endif
85 
86 #include "MsTypes.h"
87 
88 typedef enum
89 {
90     E_ACE_CMD_INIT,
91     E_ACE_CMD_EXIT,
92     E_ACE_CMD_DMS,
93     E_ACE_CMD_SETPCYUV2RGB,
94     E_ACE_CMD_SELECTYUVTORGBMATRIX,
95     E_ACE_CMD_SETCOLORCORRECTIONTABLE,
96     E_ACE_CMD_SETPCSRGBTABLE,
97     E_ACE_CMD_GETCOLORMATRIX,
98     E_ACE_CMD_SETCOLORMATRIX,
99     E_ACE_CMD_SETBYPASSCOLORMATRIX,
100     E_ACE_CMD_SETIHC,
101     E_ACE_CMD_SETICC,
102     E_ACE_CMD_SETIBC,
103     E_ACE_CMD_PATCHDTGCOLORCHECKER,
104     E_ACE_CMD_GETACEINFO,
105     E_ACE_CMD_GETACEINFOEX,
106     E_ACE_CMD_PICSETCONTRAST,
107     E_ACE_CMD_PICSETBRIGHTNESS,
108     E_ACE_CMD_PICSETBRIGHTNESSPRECISE,
109     E_ACE_CMD_PICSET_PRE_Y_OFFSET,
110     E_ACE_CMD_PICGET_PRE_Y_OFFSET,
111     E_ACE_CMD_PICSETHUE,
112     E_ACE_CMD_SKIPWAITVSYNC,
113     E_ACE_CMD_PICSETSATURATION,
114     E_ACE_CMD_PICSETSHARPNESS,
115     E_ACE_CMD_PICSETCOLORTEMP,
116     E_ACE_CMD_PICSETCOLORTEMPEX,
117     E_ACE_CMD_PICSETPOSTCOLORTEMP_V02,
118     E_ACE_CMD_SETFLESHTONE,
119     E_ACE_CMD_SETBLACKADJUST,
120     E_ACE_CMD_SET_IHC_SRAM,
121     E_ACE_CMD_SET_ICC_SRAM,
122     E_ACE_CMD_ENABLEMWE,
123     E_ACE_CMD_MWESETMIRRORMODE,
124     E_ACE_CMD_MWECLONEVISUALEFFECT,
125     E_ACE_CMD_MWESETREGTABLE,
126     E_ACE_CMD_SETMWELOADFROMPQ,
127     E_ACE_CMD_MWESTATUS,
128     E_ACE_CMD_MWEHANDLE,
129     E_ACE_CMD_MWEFUNCSEL,
130     E_ACE_CMD_MWESETDISPWIN,
131     E_ACE_CMD_3DCLONEPQMAP,
132     E_ACE_CMD_DNR_BLENDING_NRTBL,
133     E_ACE_CMD_DNR_BLENDING_MISC,
134     E_ACE_CMD_DNR_BLENDING,
135     E_ACE_CMD_DNR_GET_PRECISIONSHIFT,
136     E_ACE_CMD_DNR_GETMOTION_WEIGHT,
137     E_ACE_CMD_DNR_GETLUMA_WEIGHT,
138     E_ACE_CMD_DNR_GETNOISE_WEIGHT,
139     E_ACE_CMD_DNR_GETMOTION,
140     E_ACE_CMD_DNR_INIT_MOTION,
141     E_ACE_CMD_DNR_INIT_LUMA,
142     E_ACE_CMD_DNR_INIT_NOISE,
143     E_ACE_CMD_DNR_SETPARAM,
144     E_ACE_CMD_DNR_GETPARAM,
145     E_ACE_CMD_DNR_SETNRTBL,
146     E_ACE_CMD_GETLIBVER,
147     E_ACE_CMD_GETINFO,
148     E_ACE_CMD_GETSTATUS,
149     E_ACE_CMD_SETDBGLEVEL,
150     E_ACE_CMD_COLORCORRECTIONTABLE,
151     E_ACE_CMD_SETCOLORMATRIXCONTROL,
152     E_ACE_CMD_SETRBCHANNELRANGE,
153     E_ACE_CMD_PICSETPOSTCOLORTEMP,
154     E_ACE_CMD_PICSETPOSTCOLORTEMPEX,
155     E_ACE_CMD_PICSETPOSTCOLORTEMP2,
156     E_ACE_CMD_PICSETPOSTCOLORTEMP2EX,
157     E_ACE_CMD_SET_POWERSTATE,
158     E_ACE_CMD_SET_HDR_INFO,
159     E_ACE_CMD_SET_CONTRAST_BY_GAMMA_TABLE,
160     E_ACE_CMD_PICSETCOLORTEMP_10BITS,
161     E_ACE_CMD_NUM,
162     E_ACE_CMD_MAX = E_ACE_CMD_NUM,
163 } E_ACE_IOCTL_CMDS;
164 
165 typedef struct DLL_PACKED  _stACE_Init
166 {
167     XC_ACE_InitData *pstXC_ACE_InitData;
168     MS_U32 u32InitDataLen;
169     MS_BOOL bReturn;
170 } stACE_Init,*pstACE_Init;
171 
172 typedef struct _stACE_Exit
173 {
174     MS_BOOL bReturn;
175 } stACE_Exit,*pstACE_Exit;
176 
177 typedef struct _stACE_DMS
178 {
179     MS_BOOL eWindow;
180     MS_BOOL bisATV;
181 } stACE_DMS,*pstACE_DMS;
182 
183 typedef struct _stACE_SetPCYUV2RGB
184 {
185     MS_BOOL eWindow;
186     MS_BOOL bEnable;
187 } stACE_SetPCYUV2RGB,*pstACE_SetPCYUV2RGB;
188 
189 typedef struct DLL_PACKED  _stACE_SelectYUVtoRGBMatrix
190 {
191     MS_BOOL eWindow;
192     MS_U8 ucMatrix;
193     MS_S16* psUserYUVtoRGBMatrix;
194 } stACE_SelectYUVtoRGBMatrix,*pstACE_SelectYUVtoRGBMatrix;
195 
196 typedef struct _stACE_SetColorCorrectionTable
197 {
198     MS_BOOL bScalerWin;
199 } stACE_SetColorCorrectionTable,*pstACE_SetColorCorrectionTable;
200 
201 typedef struct _stACE_SetPCsRGBTable
202 {
203     MS_BOOL bScalerWin;
204 } stACE_SetPCsRGBTable,*pstACE_SetPCsRGBTable;
205 
206 typedef struct DLL_PACKED  _stACE_ColorMatrix
207 {
208     MS_BOOL eWindow;
209     MS_U16* pu16Matrix;
210 } stACE_ColorMatrix,*pstACE_ColorMatrix;
211 
212 typedef struct _stACE_SetBypassColorMatrix
213 {
214     MS_BOOL bEnable;
215     E_XC_ACE_RESULT eResult;
216 } stACE_SetBypassColorMatrix,*pstACE_SetBypassColorMatrix;
217 
218 typedef struct _stACE_SetIHC
219 {
220     MS_BOOL bScalerWin;
221     XC_ACE_IHC_COLOR_TYPE eIHC;
222     MS_U8 u8Val;
223     MS_BOOL bReturn;
224 } stACE_SetIHC,*pstACE_SetIHC;
225 
226 typedef struct _stACE_SetICC
227 {
228     MS_BOOL bScalerWin;
229     XC_ACE_ICC_COLOR_TYPE eICC;
230     MS_U8 u8Val;
231     MS_BOOL bReturn;
232 } stACE_SetICC,*pstACE_SetICC;
233 
234 typedef struct _stACE_SetIBC
235 {
236     MS_BOOL bScalerWin;
237     XC_ACE_IBC_COLOR_TYPE eIBC;
238     MS_U8 u8Val;
239     MS_BOOL bReturn;
240 } stACE_SetIBC,*pstACE_SetIBC;
241 
242 typedef struct _stACE_PatchDTGColorChecker
243 {
244     MS_U8 u8Mode;
245 } stACE_PatchDTGColorChecker,*pstACE_PatchDTGColorChecker;
246 
247 typedef struct _stACE_GetACEInfo
248 {
249     MS_BOOL bWindow;
250     E_XC_ACE_INFOTYPE eXCACEInfoType;
251     MS_U16 u16Return;
252 } stACE_GetACEInfo,*pstACE_GetACEInfo;
253 
254 typedef struct DLL_PACKED  _stACE_GetACEInfoEx
255 {
256     MS_BOOL bWindow;
257     XC_ACE_InfoEx *pInfoEx;
258 } stACE_GetACEInfoEx,*pstACE_GetACEInfoEx;
259 
260 typedef struct _stACE_PicSetBrightness
261 {
262     MS_BOOL eWindow;
263     MS_U8 u8Brightness_R;
264     MS_U8 u8Brightness_G;
265     MS_U8 u8Brightness_B;
266 } stACE_PicSetBrightness,*pstACE_PicSetBrightness;
267 
268 typedef struct _stACE_PicSetBrightnessPrecise
269 {
270     MS_BOOL eWindow;
271     MS_U16 u16Brightness_R;
272     MS_U16 u16Brightness_G;
273     MS_U16 u16Brightness_B;
274 } stACE_PicSetBrightnessPrecise,*pstACE_PicSetBrightnessPrecise;
275 
276 typedef struct _stACE_PreYOffset
277 {
278     MS_BOOL eWindow;
279     MS_U8 u8PreYOffset;
280 } stACE_PreYOffset,*pstACE_PreYOffset;
281 
282 typedef struct _stACE_PicSetSharpness
283 {
284     MS_BOOL eWindow;
285     MS_U8 u8Sharpness;
286 } stACE_PicSetSharpness,*pstACE_PicSetSharpness;
287 
288 typedef struct _stACE_PicSetHue
289 {
290     MS_BOOL eWindow;
291     MS_BOOL bUseYUVSpace;
292     MS_U8 u8Hue;
293 } stACE_PicSetHue,*pstACE_PicSetHue;
294 
295 typedef struct _stACE_PicSetContrast
296 {
297     MS_BOOL eWindow;
298     MS_BOOL bUseYUVSpace;
299     MS_U8 u8Contrast;
300 } stACE_PicSetContrast,*pstACE_PicSetContrast;
301 
302 typedef struct _stACE_SkipWaitVsync
303 {
304     MS_BOOL eWindow;
305     MS_BOOL bIsSkipWaitVsyn;
306     E_XC_ACE_RESULT eResult;
307 } stACE_SkipWaitVsync,*pstACE_SkipWaitVsync;
308 
309 typedef struct _stACE_PicSetSaturation
310 {
311     MS_BOOL eWindow;
312     MS_BOOL bUseYUVSpace;
313     MS_U8 u8Saturation;
314 } stACE_PicSetSaturation,*pstACE_PicSetSaturation;
315 
316 typedef struct _stACE_SetFleshTone
317 {
318     MS_BOOL eWindow;
319     MS_BOOL bEn;
320     MS_U8 u8FleshTone;
321 } stACE_SetFleshTone,*pstACE_SetFleshTone;
322 
323 typedef struct _stACE_SetBlackAdjust
324 {
325     MS_BOOL eWindow;
326     MS_U8 u8BlackAdjust;
327 } stACE_SetBlackAdjust,*pstACE_SetBlackAdjust;
328 
329 typedef struct DLL_PACKED  _stACE_PicSetColorTemp
330 {
331     MS_BOOL eWindow;
332     MS_BOOL bUseYUVSpace;
333     XC_ACE_color_temp* pstColorTemp;
334 } stACE_PicSetColorTemp,*pstACE_PicSetColorTemp;
335 
336 typedef struct DLL_PACKED  _stACE_PicSetColorTempEx
337 {
338     MS_BOOL eWindow;
339     MS_BOOL bUseYUVSpace;
340     XC_ACE_color_temp_ex* pstColorTemp;
341 } stACE_PicSetColorTempEx,*pstACE_PicSetColorTempEx;
342 
343 typedef struct DLL_PACKED  _stACE_PicSetPostColorTemp_V02
344 {
345     MS_BOOL eWindow;
346     XC_ACE_color_temp_ex2* pstColorTemp;
347 } stACE_PicSetPostColorTemp_V02,*pstACE_PicSetPostColorTemp_V02;
348 
349 typedef struct DLL_PACKED  _stACE_PicSetPostColorTemp
350 {
351     MS_BOOL eWindow;
352     XC_ACE_color_temp* pstColorTemp;
353 } stACE_PicSetPostColorTemp,*pstACE_PicSetPostColorTemp;
354 
355 typedef struct DLL_PACKED  _stACE_PicSetPostColorTempEx
356 {
357     MS_BOOL eWindow;
358     MS_BOOL bUseYUVSpace;
359     XC_ACE_color_temp_ex* pstColorTemp;
360 } stACE_PicSetPostColorTempEx,*pstACE_PicSetPostColorTempEx;
361 
362 typedef struct DLL_PACKED  _stACE_GetLibVer
363 {
364     const MSIF_Version **ppVersion;
365     E_XC_ACE_RESULT eResult;
366 } stACE_GetLibVer,*pstACE_GetLibVer;
367 
368 typedef struct DLL_PACKED  _stACE_GetInfo
369 {
370     const XC_ACE_ApiInfo* pstApiInfo;
371 } stACE_GetInfo,*pstACE_GetInfo;
372 
373 typedef struct _stACE_SetDbgLevel
374 {
375     MS_U16 u16DbgSwitch;
376     MS_BOOL bReturn;
377 } stACE_SetDbgLevel,*pstACE_SetDbgLevel;
378 
379 typedef struct DLL_PACKED  _stACE_GetStatus
380 {
381     XC_ACE_ApiStatus *pDrvStatus;
382     MS_BOOL bWindow;
383     MS_BOOL bReturn;
384 } stACE_GetStatus,*pstACE_GetStatus;
385 
386 typedef struct _stACE_MWESetMirrorMode
387 {
388     E_XC_ACE_MWE_MIRROR_TYPE eMirrorMode;
389 } stACE_MWESetMirrorMode,*pstACE_MWESetMirrorMode;
390 
391 typedef struct _stACE_EnableMWE
392 {
393     MS_BOOL bEnable;
394 } stACE_EnableMWE,*pstACE_EnableMWE;
395 
396 typedef struct _stACE_3DClonePQMap
397 {
398     XC_ACE_WEAVETYPE enWeaveType;
399 } stACE_3DClonePQMap,*pstACE_3DClonePQMap;
400 
401 typedef struct DLL_PACKED  _stACE_MWESetRegTable
402 {
403     XC_ACE_TAB_Info *pMWETable;
404     MS_BOOL bReturn;
405 } stACE_MWESetRegTable,*pstACE_MWESetRegTable;
406 
407 typedef struct _stACE_SetMWELoadFromPQ
408 {
409     MS_BOOL bEnable;
410     MS_BOOL bReturn;
411 } stACE_SetMWELoadFromPQ,*pstACE_SetMWELoadFromPQ;
412 
413 typedef struct _stACE_MWESetDispWin
414 {
415     MS_U16 u16MWE_Disp_Hstart;
416     MS_U16 u16MWE_Disp_Vstart;
417     MS_U16 u16MWE_Disp_Width;
418     MS_U16 u16MWE_Disp_Height;
419 } stACE_MWESetDispWin,*pstACE_MWESetDispWin;
420 
421 typedef struct _stACE_MWEStatus
422 {
423     MS_BOOL bReturn;
424 } stACE_MWEStatus,*pstACE_MWEStatus;
425 
426 typedef struct _stACE_MWEFuncSel
427 {
428     MS_BOOL eWindow;
429     E_XC_ACE_MWE_FUNC mwe_func;
430 } stACE_MWEFuncSel,*pstACE_MWEFuncSel;
431 
432 typedef struct DLL_PACKED  _stACE_Set_IHC_SRAM
433 {
434     MS_U16 *pBuf;
435     MS_U16 u16ByteSize;
436     MS_BOOL bReturn;
437 } stACE_Set_IHC_SRAM,*pstACE_Set_IHC_SRAM;
438 
439 typedef struct DLL_PACKED  _stACE_Set_ICC_SRAM
440 {
441     MS_U16 *pBuf;
442     MS_U16 u16ByteSize;
443     MS_BOOL bReturn;
444 } stACE_Set_ICC_SRAM,*pstACE_Set_ICC_SRAM;
445 
446 typedef struct _stACE_DNR_Get_PrecisionShift
447 {
448     MS_U16 u16Return;
449 } stACE_DNR_Get_PrecisionShift,*pstACE_DNR_Get_PrecisionShift;
450 
451 typedef struct DLL_PACKED  _stACE_DNR_Blending_NRTbl
452 {
453     MS_U8 *pu8NewNR;
454     MS_U8 u8Weight;
455     MS_U8 u8Step;
456     MS_U16 *pu16PreY0;
457     MS_U16 *pu16PreY1;
458     MS_U8 *pu8NRTBL;
459 } stACE_DNR_Blending_NRTbl,*pstACE_DNR_Blending_NRTbl;
460 
461 typedef struct _stACE_DNR_Blending
462 {
463     MS_U8 u8NewItem;
464     MS_U16 u16PreItem;
465     MS_U8 u8Weight;
466     MS_U8 u8Return;
467 } stACE_DNR_Blending,*pstACE_DNR_Blending;
468 
469 typedef struct _stACE_DNR_Blending_MISC
470 {
471     MS_U8 u8NewItem;
472     MS_U16 u16PreItem;
473     MS_U8 u8Weight;
474     MS_U8 u8Step;
475     MS_U16 u16Return;
476 } stACE_DNR_Blending_MISC,*pstACE_DNR_Blending_MISC;
477 
478 typedef struct _stACE_DNR_GetMotion
479 {
480     MS_U8 u8Return;
481 } stACE_DNR_GetMotion,*pstACE_DNR_GetMotion;
482 
483 typedef struct _stACE_DNR_GetMotion_Weight
484 {
485     MS_U8 u8CurMotion;
486     MS_U8 u8PreMotion;
487     MS_U8 u8CurMotionLvl;
488     MS_U8 u8PreMotionLvl;
489     MS_U8 u8DeFlick_Thre;
490     MS_U8 u8DeFilick_Step;
491     MS_U8 u8Return;
492 } stACE_DNR_GetMotion_Weight,*pstACE_DNR_GetMotion_Weight;
493 
494 typedef struct _stACE_DNR_DNR_GetNoise_Weight
495 {
496     MS_U8 u8CurNoise;
497     MS_U8 u8PreNoise;
498     MS_U8 u8Range;
499     MS_U8 u8DeFlick_Th;
500     MS_U8 u8DeFlick_Step;
501     MS_U8 u8Return;
502 } stACE_DNR_GetNoise_Weight,*pstACE_DNR_GetNoise_Weight;
503 
504 typedef struct _stACE_DNR_GetLuma_Weight
505 {
506     MS_U8 u8CurAvgLuma;
507     MS_U8 u8PreAvgLuam;
508     MS_U8 u8CurLumaLvl;
509     MS_U8 u8PreLumaLvl;
510     MS_U8 u8DeFlick_Th;
511     MS_U8 u8DeFlick_Step;
512     MS_U8 u8Return;
513 } stACE_DNR_GetLuma_Weight,*pstACE_DNR_GetLuma_Weight;
514 
515 typedef struct _stACE_DNR_GetParam
516 {
517     MS_BOOL eWindow;
518     XC_ACE_DNR_Param eParam;
519     MS_U8 u8Return;
520 } stACE_DNR_GetParam,*pstACE_DNR_GetParam;
521 
522 typedef struct _stACE_DNR_SetParam
523 {
524     MS_BOOL eWindow;
525     XC_ACE_DNR_Param eParam;
526     MS_U16 u16val;
527 } stACE_DNR_SetParam,*pstACE_DNR_SetParam;
528 
529 typedef struct DLL_PACKED  _stACE_DNR_SetNRTbl
530 {
531     MS_U8 *pu8Tbl;
532 } stACE_DNR_SetNRTbl,*pstACE_DNR_SetNRTbl;
533 
534 typedef struct DLL_PACKED  _stACE_ColorCorrectionTable
535 {
536     MS_BOOL bScalerWin;
537     MS_S16 *psColorCorrectionTable;
538 } stACE_ColorCorrectionTable,*pstACE_ColorCorrectionTable;
539 
540 typedef struct _stACE_SetRBChannelRange
541 {
542     MS_BOOL bScalerWin;
543     MS_BOOL bRange;
544 } stACE_SetRBChannelRange,*pstACE_SetRBChannelRange;
545 
546 typedef struct _stACE_SetColorMatrixControl
547 {
548     MS_BOOL bScalerWin;
549     MS_BOOL bEnable;
550 } stACE_SetColorMatrixControl,*pstACE_SetColorMatrixControl;
551 
552 typedef struct DLL_PACKED  _stACE_SetColorMatrix
553 {
554     MS_BOOL eWindow;
555     MS_U16* pu16Matrix;
556 } stACE_SetColorMatrix,*pstACE_SetColorMatrix;
557 
558 typedef struct _stACE_Set_PowerState
559 {
560     EN_POWER_MODE enPowerState;
561     MS_U32 u32Return;
562 } stACE_Set_PowerState,*pstACE_Set_PowerState;
563 
564 typedef struct DLL_PACKED _stACE_SetHDRInitData
565 {
566     XC_ACE_HDRinit *pstHDRInitData;
567     MS_BOOL bReturn;
568 } stACE_SetHDRInitData, *pstACE_HDRInitData;
569 
570 typedef struct _stACE_SetContrastByGammaTable
571 {
572     MS_BOOL bScalerWin;
573     MS_BOOL bEnable;
574     MS_U8 u8Contrast;
575     MS_U8 u8BaseValue;
576 } stACE_SetContrastByGammaTable, *pstACE_SetContrastByGammaTable;
577 
578 #ifdef __cplusplus
579 }
580 #endif
581 
582 #undef _API_ACE_PRIV_H_
583 #endif //_API_ACE_PRIV_H_
584