mid_sbsubtitle.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /*! \addtogroup Subtitle
  2. * \brief middle-ware of digital TV subtitle,\n
  3. * it includes control functions, get state functions, and setting functions.
  4. * @{
  5. */
  6. /******************************************************************************/
  7. /**
  8. * \file mid_subtitle.h
  9. *
  10. * \brief middle-ware of digital TV subtitle.
  11. *
  12. * \note Copyright (c) 2008 Sunplus Technology Co., Ltd. \n
  13. * All rights reserved.
  14. *
  15. * \author
  16. */
  17. /******************************************************************************/
  18. #ifndef _MID_SUBTITLE_H_2008_05_13__
  19. #define _MID_SUBTITLE_H_2008_05_13__
  20. typedef struct SBSUB_Parameter_s{
  21. UINT16 u16SBSUBPID;
  22. UINT8 u8StartTSF;
  23. }SBSUB_Parameter_t;
  24. /******************************************************************************/
  25. /*! \defgroup Subtitle_Operation Operation
  26. * \brief Operation Functions Interfaces of DTV subtitle middle-ware.\n
  27. * it includes start and stop function to operation subtitle.
  28. * @{ */
  29. /******************************************************************************/
  30. /**
  31. * \fn UINT8 MID_DvbSubtStart( void )
  32. *
  33. * \brief Create and active dvb subtitle decode thread and display thread.
  34. *
  35. * This function initials dvb Subtitle Decode system in the beginning, \n
  36. * then creates and actives two threads of dvb subtitle decode thread and display thread.
  37. *
  38. * \param void
  39. *
  40. * \return \e 1 : if successful \n
  41. * \e 0 : if failed
  42. *
  43. * \note none
  44. */
  45. /******************************************************************************/
  46. extern int MID_SBSUB_ThreadStart(void *stPar);
  47. extern int MID_SBSUB_Stop(void);
  48. extern int MID_SBSUB_IsInjectThreadRunning(void);
  49. extern void MID_SBSUB_ClearScreen(void);//2010.07.24 for 0094960 SBTVD Caption
  50. extern void SBSUB_Osd_Set_FreezeFlag(Boolean Status);
  51. extern Boolean SBSUB_Osd_Get_FreezeFlag(void);
  52. //void MID_DvbSubtSetTSF(UINT8 TSF);
  53. /******************************************************************************/
  54. /*! @} end of defgroup Setting Functions */
  55. /******************************************************************************/
  56. #endif // #ifndef _MID_SUBTITLE_H_2008_05_13__
  57. /******************************************************************************/
  58. /*! @} end of addtogroup Subtitle*/
  59. /******************************************************************************/