123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- /******************************************************************************
- *
- * \file mid_ait_mon.h
- *
- * \brief implementation of ait table monitor middleware.
- *
- *
- * \note Copyright (c) 2016 RDA Technology Co., Ltd. \n
- * All rights reserved.
- *
- * \author liangwu
- *
- ******************************************************************************/
- #ifndef _MID_AIT_MON_H_
- #define _MID_AIT_MON_H_
- #include "mid_common.h"
- #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"
- typedef void (*MidAITCallBack)(void *data);
- typedef struct _Ait_data_s
- {
- UINT16 AitPid;
- struct _Ait_data_s* Next;
- } AITs_Data_t;
- /**
- * @brief AIT monitor init function.
- *
- * @param pCallBack[input] ait monitor send sgt data to uplayer
- *
- * @return MID_SUCCESS if initialization is successful.
- */
- MID_Status_t MID_AITInit(MidAITCallBack pCallBack);
- /**
- * @brief AIT monitor unit function.
- *
- * @param None
- *
- * @return MID_SUCCESS if uninit successful.
- */
- void MID_AITUninit(void);
- /**
- * @brief AIT monitor start function.
- *
- * @param None
- *
- * @return MID_SUCCESS is successful.
- */
- MID_Status_t MID_AITStart(void);
- /**
- * @brief AIT monitor stop function.
- *
- * @param bExit[input]: exit ait monitor task flag
- *
- * @return MID_SUCCESS is successful.
- */
- MID_Status_t MID_AITStop(bool bExit);
- /**
- * @brief set AIT pid info according to pmt data.
- *
- * @param pPid[input]: PID data
- *
- * @return MID_SUCCESS is successful.
- */
- MID_Status_t MID_AITAddPid(AITs_Data_t *pData);
- #endif
|