Lines Matching refs:pParserModule

100     S_FILE_PARSER_INTERFACE *pParserModule;  in EAS_SetStreamParameter()  local
102 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_SetStreamParameter()
103 if (pParserModule->pfSetData) in EAS_SetStreamParameter()
104 return (*pParserModule->pfSetData)(pEASData, pStream->handle, param, value); in EAS_SetStreamParameter()
122 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_GetStreamParameter() local
124 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_GetStreamParameter()
125 if (pParserModule->pfGetData) in EAS_GetStreamParameter()
126 return (*pParserModule->pfGetData)(pEASData, pStream->handle, param, pValue); in EAS_GetStreamParameter()
142 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_StreamReady() local
145 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_StreamReady()
146 if (pParserModule->pfState(pEASData, pStream->handle, &state) != EAS_SUCCESS) in EAS_StreamReady()
318 static void EAS_InitStream (S_EAS_STREAM *pStream, EAS_VOID_PTR pParserModule, EAS_VOID_PTR streamH… in EAS_InitStream() argument
320 pStream->pParserModule = pParserModule; in EAS_InitStream()
482 if (pEASData->streams[i].pParserModule && pEASData->streams[i].handle) in EAS_Shutdown()
484 …if ((result = (*((S_FILE_PARSER_INTERFACE*)(pEASData->streams[i].pParserModule))->pfClose)(pEASDat… in EAS_Shutdown()
567 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_OpenJETStream() local
577 pParserModule = (S_FILE_PARSER_INTERFACE *) EAS_CMEnumModules(0); in EAS_OpenJETStream()
578 if (pParserModule == NULL) in EAS_OpenJETStream()
582 …if ((result = (*pParserModule->pfCheckFileType)(pEASData, fileHandle, &streamHandle, offset)) != E… in EAS_OpenJETStream()
591 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_OpenJETStream()
622 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_OpenFile() local
635 pParserModule = NULL; in EAS_OpenFile()
640 pParserModule = (S_FILE_PARSER_INTERFACE *) EAS_CMEnumModules(moduleNum); in EAS_OpenFile()
641 if (pParserModule == NULL) in EAS_OpenFile()
645 …if ((result = (*pParserModule->pfCheckFileType)(pEASData, fileHandle, &streamHandle, 0L)) != EAS_S… in EAS_OpenFile()
656 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_OpenFile()
695 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_MMAPIToneControl() local
701 pParserModule = EAS_CMEnumOptModules(EAS_MODULE_MMAPI_TONE_CONTROL); in EAS_MMAPIToneControl()
702 if (pParserModule == NULL) in EAS_MMAPIToneControl()
717 …if ((result = (*pParserModule->pfCheckFileType)(pEASData, fileHandle, &streamHandle, 0L)) != EAS_S… in EAS_MMAPIToneControl()
728 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_MMAPIToneControl()
798 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_Prepare() local
802 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_Prepare()
803 if (pParserModule == NULL) in EAS_Prepare()
807 result = pParserModule->pfState(pEASData, pStream->handle, &state); in EAS_Prepare()
813 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_Prepare()
814 result = (*pParserModule->pfPrepare)(pEASData, pStream->handle); in EAS_Prepare()
847 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_Render() local
897 if (pEASData->streams[streamNum].pParserModule) in EAS_Render()
901 pParserModule = pEASData->streams[streamNum].pParserModule; in EAS_Render()
906 if (pParserModule->pfPause) in EAS_Render()
907 result = pParserModule->pfPause(pEASData, pEASData->streams[streamNum].handle); in EAS_Render()
912 …if ((result = (*pParserModule->pfState)(pEASData, pEASData->streams[streamNum].handle, &parserStat… in EAS_Render()
920 if (pParserModule->pfResume) in EAS_Render()
921 … result = pParserModule->pfResume(pEASData, pEASData->streams[streamNum].handle); in EAS_Render()
949 …if ((result = (*pParserModule->pfState)(pEASData, pEASData->streams[streamNum].handle, &parserStat… in EAS_Render()
959 …if ((result = (*pParserModule->pfReset)(pEASData, pEASData->streams[streamNum].handle)) != EAS_SUC… in EAS_Render()
999 if (pEASData->streams[streamNum].pParserModule != NULL) in EAS_Render()
1230 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_ParseEvents() local
1238 pParserModule = pStream->pParserModule; in EAS_ParseEvents()
1239 if (pParserModule->pfTime == NULL) in EAS_ParseEvents()
1242 … if ((result = (*pParserModule->pfState)(pEASData, pStream->handle, &parserState)) != EAS_SUCCESS) in EAS_ParseEvents()
1261 … if ((result = (*pParserModule->pfState)(pEASData, pStream->handle, &parserState)) != EAS_SUCCESS) in EAS_ParseEvents()
1273 if (pParserModule->pfTime) in EAS_ParseEvents()
1275 … if ((result = (*pParserModule->pfTime)(pEASData, pStream->handle, &time)) != EAS_SUCCESS) in EAS_ParseEvents()
1283 if (pParserModule->pfEvent) in EAS_ParseEvents()
1284 … if ((result = (*pParserModule->pfEvent)(pEASData, pStream->handle, parseMode)) != EAS_SUCCESS) in EAS_ParseEvents()
1342 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_ParseMetaData() local
1346 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_ParseMetaData()
1347 if (pParserModule == NULL) in EAS_ParseMetaData()
1351 if ((result = (*pParserModule->pfState)(pEASData, pStream->handle, &state)) != EAS_SUCCESS) in EAS_ParseMetaData()
1357 if (pParserModule->pfGetMetaData != NULL) in EAS_ParseMetaData()
1358 return pParserModule->pfGetMetaData(pEASData, pStream->handle, playLength); in EAS_ParseMetaData()
1361 if ((result = (*pParserModule->pfReset)(pEASData, pStream->handle)) != EAS_SUCCESS) in EAS_ParseMetaData()
1376 return (*pParserModule->pfReset)(pEASData, pStream->handle); in EAS_ParseMetaData()
1453 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_CloseFile() local
1457 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_CloseFile()
1458 if (pParserModule == NULL) in EAS_CloseFile()
1461 result = (*pParserModule->pfClose)(pEASData, pStream->handle); in EAS_CloseFile()
1465 pStream->pParserModule = NULL; in EAS_CloseFile()
1635 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_State() local
1639 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_State()
1640 if (pParserModule == NULL) in EAS_State()
1643 if ((result = (*pParserModule->pfState)(pEASData, pStream->handle, pState)) != EAS_SUCCESS) in EAS_State()
1975 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_Locate() local
1981 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_Locate()
1982 if (pParserModule == NULL) in EAS_Locate()
1985 if ((result = (*pParserModule->pfState)(pEASData, pStream->handle, &state)) != EAS_SUCCESS) in EAS_Locate()
2006 if (pParserModule->pfLocate != NULL) in EAS_Locate()
2009 …result = pParserModule->pfLocate(pEASData, pStream->handle, (EAS_I32) requestedTime, &parserLocate… in EAS_Locate()
2023 if ((result = (*pParserModule->pfReset)(pEASData, pStream->handle)) != EAS_SUCCESS) in EAS_Locate()
2106 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_Pause() local
2110 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_Pause()
2111 if (pParserModule == NULL) in EAS_Pause()
2115 result = pParserModule->pfState(pEASData, pStream->handle, &state); in EAS_Pause()
2122 if (pParserModule->pfPause == NULL) in EAS_Pause()
2133 if (pParserModule->pfPause) in EAS_Pause()
2134 result = pParserModule->pfPause(pEASData, pStream->handle); in EAS_Pause()
2164 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_Resume() local
2168 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_Resume()
2169 if (pParserModule == NULL) in EAS_Resume()
2173 result = pParserModule->pfState(pEASData, pStream->handle, &state); in EAS_Resume()
2180 if (pParserModule->pfResume == NULL) in EAS_Resume()
2191 if (pParserModule->pfResume) in EAS_Resume()
2192 result = pParserModule->pfResume(pEASData, pStream->handle); in EAS_Resume()