app_guiobj_setup.h 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. /*****************************************************************************
  2. ** File: app_guiobj_setup.h:
  3. **
  4. ** Description:
  5. **
  6. ** Copyright(c) 2008 Sunmedia Technologies - All Rights Reserved
  7. **
  8. ** Author : wuliang
  9. **
  10. ** $Id: app_guiobj_setup.c 1069 2010-11-16 10:32:32Z b.yang_c1 $
  11. *****************************************************************************/
  12. #ifndef _APP_GUIOBJ_SETUP_H_
  13. #define _APP_GUIOBJ_SETUP_H_
  14. #if defined(SUPPORT_CMX_MAINMENU_BACKLIGHT)|| defined(CONFIG_PROJECTOR_ASPECT)
  15. typedef struct{
  16. #ifdef SUPPORT_CMX_MAINMENU_BACKLIGHT
  17. char **pBacklight;
  18. UINT8 Backlight;
  19. #endif
  20. #ifdef CONFIG_PROJECTOR_ASPECT
  21. char **pProjectionzoom;
  22. UINT8 Projectionzoom;
  23. #endif
  24. }Setup_Data_t;
  25. INT32 APP_GUIOBJ_Setup_GetSetupUIData(Setup_Data_t *stUISetupData);
  26. void APP_GUIOBJ_Setup_SetSetupDataMem(void);
  27. void APP_GUIOBJ_Setup_ClearSetupDataMem(void);
  28. #endif
  29. #ifdef CONFIG_CC_SUPPORT
  30. INT32 APP_GUIOBJ_Setup_GetCCMode(UINT32 *u32ccmode);
  31. INT32 APP_GUIOBJ_Setup_SetCCMode(UINT32 u32ccmode);
  32. #endif
  33. #ifdef CONFIG_SUPPORT_ESTICKER_INFILE
  34. /*****************************************************************************
  35. ** FUNCTION : APP_GUIOBJ_Setup_GetEstickerMode
  36. **
  37. ** DESCRIPTION :
  38. ** Get Esticker mode
  39. **
  40. ** PARAMETERS :
  41. **
  42. ** RETURN VALUES:
  43. ** SP_SUCCESS
  44. *****************************************************************************/
  45. INT32 APP_GUIOBJ_Setup_GetEstickerMode(UINT32 *u32Esticker);
  46. #endif
  47. /*****************************************************************************
  48. ** FUNCTION : APP_GUIOBJ_Setup_GetTimer
  49. **
  50. ** DESCRIPTION :
  51. ** Get main menu timer value
  52. **
  53. ** PARAMETERS :
  54. **
  55. ** RETURN VALUES:
  56. ** SP_SUCCESS
  57. *****************************************************************************/
  58. INT32 APP_GUIOBJ_Setup_GetTimer(UINT32 *u32TimerValue);
  59. /*****************************************************************************
  60. ** FUNCTION : APP_GUIOBJ_Setup_GetOsdTimer
  61. **
  62. ** DESCRIPTION :
  63. ** Get osd timer
  64. **
  65. ** PARAMETERS :
  66. **
  67. ** RETURN VALUES:
  68. ** SP_SUCCESS
  69. *****************************************************************************/
  70. INT32 APP_GUIOBJ_Setup_GetOsdTimer(UINT32 *u32OsdTimer);
  71. #ifdef CONFIG_SUPPORT_3D_EN
  72. INT32 APP_GUIOBJ_Setup_Get3dTimer(UINT32 * u3dTimer);
  73. #endif
  74. #ifdef SUPPORT_HOMEMODE
  75. INT32 APP_GUIOBJ_Setup_GetHomeModeType(UINT32 *u32HomeMode);
  76. INT32 _APP_GUIOBJ_Setup_SetHomeModeType(UINT32 u32HomeModeString);
  77. #endif
  78. #if 0
  79. /*****************************************************************************
  80. ** FUNCTION : APP_GUIOBJ_Setup_GetAVInput
  81. **
  82. ** DESCRIPTION :
  83. ** Get av input
  84. **
  85. ** PARAMETERS :
  86. **
  87. ** RETURN VALUES:
  88. ** SP_SUCCESS
  89. *****************************************************************************/
  90. INT32 APP_GUIOBJ_Setup_GetAVInput(UINT32 *u32AVInput);
  91. #endif
  92. /*****************************************************************************
  93. ** FUNCTION : APP_GUIOBJ_Setup_GetAutoScart
  94. **
  95. ** DESCRIPTION :
  96. ** Get the auto SCART function On/Off flag
  97. **
  98. ** PARAMETERS :
  99. **
  100. ** RETURN VALUES:
  101. ** SP_SUCCESS
  102. *****************************************************************************/
  103. INT32 APP_GUIOBJ_Setup_GetAutoScart(UINT32 *u32AutoScart);
  104. /*****************************************************************************
  105. ** FUNCTION : APP_GUIOBJ_Setup_GetScartOutput
  106. **
  107. ** DESCRIPTION :
  108. ** Get the scart output type
  109. **
  110. ** PARAMETERS :
  111. **
  112. ** RETURN VALUES:
  113. ** SP_SUCCESS
  114. *****************************************************************************/
  115. INT32 APP_GUIOBJ_Setup_GetScartOutputType(UINT32 *u32ScartOutput);
  116. /*****************************************************************************
  117. ** FUNCTION : APP_GUIOBJ_Setup_GetHdmiMod
  118. **
  119. ** DESCRIPTION :
  120. ** Get hdmi mode
  121. **
  122. ** PARAMETERS :
  123. **
  124. ** RETURN VALUES:
  125. ** SP_SUCCESS
  126. *****************************************************************************/
  127. INT32 APP_GUIOBJ_Setup_GetHdmiMod(UINT32 *u32HdmiMode);
  128. INT32 APP_GUIOBJ_Setup_SetHdmiMode(UINT32 u32HdmiMode);
  129. /*****************************************************************************
  130. ** FUNCTION : APP_GUIOBJ_Setup_GetBlueScreen
  131. **
  132. ** DESCRIPTION :
  133. ** Get blue screen
  134. **
  135. ** PARAMETERS :
  136. **
  137. ** RETURN VALUES:
  138. ** SP_SUCCESS
  139. *****************************************************************************/
  140. INT32 APP_GUIOBJ_Setup_GetBlueScreen(UINT32 *u32BlueScreen);
  141. INT32 APP_GUIOBJ_Setup_SetAspectRatioSignalState(UINT8 u8SignalState);
  142. #ifdef SUPPORT_HOMEMODE
  143. UINT32 APP_GUIOBJ_Setup_GetHomeModeNum(void);
  144. UINT32* APP_GUIOBJ_Setup_GetHomeModeTbl(void);
  145. #endif
  146. INT32 APP_GUIOBJ_Setup_SetOsdTimer(UINT32 u32OsdTimer);
  147. #ifdef CONFIG_SUPPORT_CAPTURE_LOGO
  148. INT32 APP_GUIOBJ_Setup_GetCaptureLogo(UINT32 *u32CaptureLogo);
  149. INT32 _APP_GUIOBJ_Setup_SetCaptureLogo(UINT32 u32CaptureLogo);
  150. #endif
  151. INT32 APP_GUIOBJ_Setup_ResetDefault(void);
  152. #endif