app_guiobj_setup.h 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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. #ifdef SUPPORT_CMX_MAINMENU_BACKLIGHT
  15. typedef struct{
  16. char **pBacklight;
  17. UINT8 Backlight;
  18. }Setup_Data_t;
  19. INT32 APP_GUIOBJ_Setup_GetSetupUIData(Setup_Data_t *stUISetupData);
  20. void APP_GUIOBJ_Setup_SetSetupDataMem(void);
  21. #endif
  22. /*****************************************************************************
  23. ** FUNCTION : APP_GUIOBJ_Setup_GetTimer
  24. **
  25. ** DESCRIPTION :
  26. ** Get main menu timer value
  27. **
  28. ** PARAMETERS :
  29. **
  30. ** RETURN VALUES:
  31. ** SP_SUCCESS
  32. *****************************************************************************/
  33. INT32 APP_GUIOBJ_Setup_GetTimer(UINT32 *u32TimerValue);
  34. /*****************************************************************************
  35. ** FUNCTION : APP_GUIOBJ_Setup_GetOsdTimer
  36. **
  37. ** DESCRIPTION :
  38. ** Get osd timer
  39. **
  40. ** PARAMETERS :
  41. **
  42. ** RETURN VALUES:
  43. ** SP_SUCCESS
  44. *****************************************************************************/
  45. INT32 APP_GUIOBJ_Setup_GetOsdTimer(UINT32 *u32OsdTimer);
  46. #ifdef CONFIG_SUPPORT_3D_EN
  47. INT32 APP_GUIOBJ_Setup_Get3dTimer(UINT32 * u3dTimer);
  48. #endif
  49. #ifdef SUPPORT_HOMEMODE
  50. INT32 APP_GUIOBJ_Setup_GetHomeModeType(UINT32 *u32HomeMode);
  51. #endif
  52. #if 0
  53. /*****************************************************************************
  54. ** FUNCTION : APP_GUIOBJ_Setup_GetAVInput
  55. **
  56. ** DESCRIPTION :
  57. ** Get av input
  58. **
  59. ** PARAMETERS :
  60. **
  61. ** RETURN VALUES:
  62. ** SP_SUCCESS
  63. *****************************************************************************/
  64. INT32 APP_GUIOBJ_Setup_GetAVInput(UINT32 *u32AVInput);
  65. #endif
  66. /*****************************************************************************
  67. ** FUNCTION : APP_GUIOBJ_Setup_GetAutoScart
  68. **
  69. ** DESCRIPTION :
  70. ** Get the auto SCART function On/Off flag
  71. **
  72. ** PARAMETERS :
  73. **
  74. ** RETURN VALUES:
  75. ** SP_SUCCESS
  76. *****************************************************************************/
  77. INT32 APP_GUIOBJ_Setup_GetAutoScart(UINT32 *u32AutoScart);
  78. /*****************************************************************************
  79. ** FUNCTION : APP_GUIOBJ_Setup_GetScartOutput
  80. **
  81. ** DESCRIPTION :
  82. ** Get the scart output type
  83. **
  84. ** PARAMETERS :
  85. **
  86. ** RETURN VALUES:
  87. ** SP_SUCCESS
  88. *****************************************************************************/
  89. INT32 APP_GUIOBJ_Setup_GetScartOutputType(UINT32 *u32ScartOutput);
  90. /*****************************************************************************
  91. ** FUNCTION : APP_GUIOBJ_Setup_GetHdmiMod
  92. **
  93. ** DESCRIPTION :
  94. ** Get hdmi mode
  95. **
  96. ** PARAMETERS :
  97. **
  98. ** RETURN VALUES:
  99. ** SP_SUCCESS
  100. *****************************************************************************/
  101. INT32 APP_GUIOBJ_Setup_GetHdmiMod(UINT32 *u32HdmiMode);
  102. /*****************************************************************************
  103. ** FUNCTION : APP_GUIOBJ_Setup_GetBlueScreen
  104. **
  105. ** DESCRIPTION :
  106. ** Get blue screen
  107. **
  108. ** PARAMETERS :
  109. **
  110. ** RETURN VALUES:
  111. ** SP_SUCCESS
  112. *****************************************************************************/
  113. INT32 APP_GUIOBJ_Setup_GetBlueScreen(UINT32 *u32BlueScreen);
  114. INT32 APP_GUIOBJ_Setup_SetAspectRatioSignalState(UINT8 u8SignalState);
  115. #if defined(CONFIG_CC_SUPPORT) || defined(CONFIG_SUPPORT_ISDB_SUBTITLE)
  116. INT32 APP_GUIOBJ_Setup_GetCCMode(UINT32 *u32ccmode);
  117. #endif
  118. #ifdef SUPPORT_HOMEMODE
  119. UINT32 APP_GUIOBJ_Setup_GetHomeModeNum(void);
  120. UINT32* APP_GUIOBJ_Setup_GetHomeModeTbl(void);
  121. #endif
  122. #ifdef CONFIG_SUPPORT_NES_GAME
  123. /*****************************************************************************
  124. ** FUNCTION : APP_GUIOBJ_Setup_SetNesDPMode
  125. **
  126. ** DESCRIPTION :
  127. ** Set nes display mode
  128. **
  129. ** PARAMETERS :
  130. **
  131. ** RETURN VALUES:
  132. ** SP_SUCCESS
  133. *****************************************************************************/
  134. INT32 APP_GUIOBJ_Setup_SetNesDPMode(UINT32 u32NesDPString);
  135. /*****************************************************************************
  136. ** FUNCTION : APP_GUIOBJ_Setup_GetNesDPMode
  137. **
  138. ** DESCRIPTION :
  139. ** Get nes display mode
  140. **
  141. ** PARAMETERS :
  142. **
  143. ** RETURN VALUES:
  144. ** SP_SUCCESS
  145. *****************************************************************************/
  146. INT32 APP_GUIOBJ_Setup_GetNesDPMode(UINT32 *u32NesDPMode);
  147. #endif
  148. #endif