/*! \addtogroup Subtitle * \brief middle-ware of digital TV subtitle,\n * it includes control functions, get state functions, and setting functions. * @{ */ /******************************************************************************/ /** * \file mid_subtitle.h * * \brief middle-ware of digital TV subtitle. * * \note Copyright (c) 2008 Sunplus Technology Co., Ltd. \n * All rights reserved. * * \author */ /******************************************************************************/ #ifndef _MID_SUBTITLE_H_2008_05_13__ #define _MID_SUBTITLE_H_2008_05_13__ typedef struct SBSUB_Parameter_s{ UINT16 u16SBSUBPID; UINT8 u8StartTSF; }SBSUB_Parameter_t; /******************************************************************************/ /*! \defgroup Subtitle_Operation Operation * \brief Operation Functions Interfaces of DTV subtitle middle-ware.\n * it includes start and stop function to operation subtitle. * @{ */ /******************************************************************************/ /** * \fn UINT8 MID_DvbSubtStart( void ) * * \brief Create and active dvb subtitle decode thread and display thread. * * This function initials dvb Subtitle Decode system in the beginning, \n * then creates and actives two threads of dvb subtitle decode thread and display thread. * * \param void * * \return \e 1 : if successful \n * \e 0 : if failed * * \note none */ /******************************************************************************/ extern int MID_SBSUB_ThreadStart(void *stPar); extern int MID_SBSUB_Stop(void); extern int MID_SBSUB_IsInjectThreadRunning(void); extern void MID_SBSUB_ClearScreen(void);//2010.07.24 for 0094960 SBTVD Caption extern void SBSUB_Osd_Set_FreezeFlag(Boolean Status); extern Boolean SBSUB_Osd_Get_FreezeFlag(void); //void MID_DvbSubtSetTSF(UINT8 TSF); /******************************************************************************/ /*! @} end of defgroup Setting Functions */ /******************************************************************************/ #endif // #ifndef _MID_SUBTITLE_H_2008_05_13__ /******************************************************************************/ /*! @} end of addtogroup Subtitle*/ /******************************************************************************/