/** * Copyright(c) 2011 Sunmedia Technologies - All Rights Reserved. * * @file * * @brief this file defines subtitle interface for afw layer. * * The interface includes: subtitle init and uninit function that is used by afw module, * subtitle parsing descriptor function that is used by psi listener module. * When pmt monitor listener callback function gets the pes private datas and if the pes * private datas inlcude subtitle descriptor, the subtitle parsing descriptor function will * be used to start to parse subtitle descriptor. */ #ifndef __AI_SUBTITLE_H__ #define __AI_SUBTITLE_H__ #include "al_basictypes.h" #ifdef __cplusplus extern "C"{ #endif /** * @brief subtitle init function. * * This api is used to create mutex for protecting the shared resource and so on. * * @param al_void. * * @return AL_SUCCESS if initialization is successful, AL_FAILURE otherwise. */ AL_Return_t AI_Subtitle_Init(al_void); /** * @brief subtitle uninit function. * * This api is used to delete mutex for protecting the shared resource and so on. * * @param al_void. * * @return AL_SUCCESS if uninitialization is successful, AL_FAILURE otherwise. */ AL_Return_t AI_Subtitle_Uninit(al_void); #ifdef __cplusplus } #endif #endif