12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- /******************************************************************************
- *
- * \file mid_pmtother.h
- *
- * \brief implementation of pmt other monitor middle-ware.
- *
- *
- * \note Copyright (c) 2014 Sunplus Technology Co., Ltd. \n
- * All rights reserved.
- *
- * \author qin.he
- *
- ******************************************************************************/
- #ifndef _SGT_H
- #define _SGT_H
- #include "mid_common.h"
- #ifdef SUPPORT_ASTRA_LCN_MONITOR
- #include <string.h>
- #include <stdlib.h>
- #include <umf_debug.h>
- #include "mid_siutil_13818.h"
- #include "mid_siutil_dvb.h"
- #include "mid_psimon.h"
- #include "dvb_dr_dvb.h"
- #include "unt.h"
- typedef void (*MidSGTCallBack)(void *data);
- typedef struct _astralcn_data_t {
- UINT16 SgtPid;
- dvbpsi_LinkInfo_t stLinfInfo;
- struct _astralcn_data_t* Next;
- } AstraLcnData_t;
- /**
- * @brief sgt monitor init function.
- *
- * @param pCallBack[input] sgt monitor send sgt data to uplayer
- *
- * @return MID_SUCCESS if initialization is successful, AL_FAILURE otherwise.
- */
- MID_Status_t MID_SGTInit(MidSGTCallBack pCallBack);
- /**
- * @brief SGT monitor unit function.
- *
- * @param None
- *
- * @return MID_SUCCESS if uninit successful, AL_FAILURE otherwise.
- */
- void MID_SGTUninit(void);
- /**
- * @brief SGT monitor start function.
- *
- * @param None
- *
- * @return MID_SUCCESS is successful, AL_FAILURE otherwise.
- */
- MID_Status_t MID_SGTStart(void);
- /**
- * @brief SGT monitor stop function.
- *
- * @param bExit[input]: exit pmt other task flag
- *
- * @return MID_SUCCESS is successful, AL_FAILURE otherwise.
- */
- MID_Status_t MID_SGTStop(bool bExit);
- /**
- * @brief set SGT pid info according to pat data.
- *
- * @param pPid[input]: PID data
- *
- * @return MID_SUCCESS is successful, AL_FAILURE otherwise.
- */
- MID_Status_t MID_SGTAddPid(AstraLcnData_t *pData);
- #endif
- #endif
|