/****************************************************************************** * * \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 _PMTOTHER_H #define _PMTOTHER_H #include #include #include #include "mid_siutil_13818.h" #include "mid_siutil_dvb.h" #include "mid_psimon.h" #include "dvb_dr_dvb.h" #include "unt.h" typedef void (*MidPmtOtherCallBack)(void *data); /** * @brief pmt other monitor init function. * * @param pCallBack[input] pmt other monitor send pmt data to uplayer * *@param pNodifyCallback[input] pmt other monitor notify uplayer received all pmt * * @return MID_SUCCESS if initialization is successful, AL_FAILURE otherwise. */ MID_Status_t MID_PmtOtherInit(MidPmtOtherCallBack pCallBack, MidPmtOtherCallBack pNodifyCallback, MidPmtOtherCallBack pIndonesiaEwsCallback); /** * @brief pmt other monitor init function. * * @param pCallBack[input] pmt other monitor send pmt data to uplayer * * @return MID_SUCCESS if initialization is successful, AL_FAILURE otherwise. */ void MID_PmtOtherUninit(void); /** * @brief pmt other monitor start function. * * @param None * * @return MID_SUCCESS is successful, AL_FAILURE otherwise. */ MID_Status_t MID_PmtOtherStart(void); /** * @brief pmt other monitor stop function. * * @param bExit[input]: exit pmt other task flag * * @return MID_SUCCESS is successful, AL_FAILURE otherwise. */ MID_Status_t MID_PmtOtherStop(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_PmtOtherAddPmt(MID_SiutilPatInfo_t *pPat); #endif