123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- /******************************************************************************
- *
- * \file mid_ews.h
- *
- * \brief implementation of ews monitor middle-ware.
- *
- *
- * \note Copyright (c) 2014 Sunplus Technology Co., Ltd. \n
- * All rights reserved.
- *
- * \author qin.he
- *
- ******************************************************************************/
- #ifndef _EWS_H
- #define _EWS_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"
- #include "unt.h"
- typedef void (*MidEwsCallBack)(void *data);
- MID_Status_t MID_EwsInit(MidEwsCallBack pCallBack);
- /**
- * @brief ews monitor init function.
- *
- * @param pCallBack[input] ews monitor send pmt data to uplayer
- *
- * @return MID_SUCCESS if initialization is successful, AL_FAILURE otherwise.
- */
- void MID_EwsUninit(void);
- /**
- * @brief ews monitor start function.
- *
- * @param None
- *
- * @return MID_SUCCESS is successful, AL_FAILURE otherwise.
- */
- MID_Status_t MID_EwsStart(void);
- /**
- * @brief ews monitor stop function.
- *
- * @param bExit[input]: exit ews task flag
- *
- * @return MID_SUCCESS is successful, AL_FAILURE otherwise.
- */
- MID_Status_t MID_EwsStop(bool bExit);
- /**
- * @brief set pmt pid info according to pat data.
- *
- * @param pPat[input]: pat data
- *
- * @return MID_SUCCESS is successful, AL_FAILURE otherwise.
- */
- MID_Status_t MID_EwsAddPmt(MID_SiutilPatInfo_t *pPat);
- #endif
|