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()
483 if (pEASData->streams[i].pParserModule && pEASData->streams[i].handle) in EAS_Shutdown()
485 …if ((result = (*((S_FILE_PARSER_INTERFACE*)(pEASData->streams[i].pParserModule))->pfClose)(pEASDat… in EAS_Shutdown()
568 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_OpenJETStream() local
578 pParserModule = (S_FILE_PARSER_INTERFACE *) EAS_CMEnumModules(0); in EAS_OpenJETStream()
579 if (pParserModule == NULL) in EAS_OpenJETStream()
583 …if ((result = (*pParserModule->pfCheckFileType)(pEASData, fileHandle, &streamHandle, offset)) != E… in EAS_OpenJETStream()
592 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_OpenJETStream()
623 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_OpenFile() local
639 pParserModule = NULL; in EAS_OpenFile()
644 pParserModule = (S_FILE_PARSER_INTERFACE *) EAS_CMEnumModules(moduleNum); in EAS_OpenFile()
645 if (pParserModule == NULL) in EAS_OpenFile()
649 …if ((result = (*pParserModule->pfCheckFileType)(pEASData, fileHandle, &streamHandle, 0L)) != EAS_S… in EAS_OpenFile()
663 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_OpenFile()
707 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_MMAPIToneControl() local
713 pParserModule = EAS_CMEnumOptModules(EAS_MODULE_MMAPI_TONE_CONTROL); in EAS_MMAPIToneControl()
714 if (pParserModule == NULL) in EAS_MMAPIToneControl()
729 …if ((result = (*pParserModule->pfCheckFileType)(pEASData, fileHandle, &streamHandle, 0L)) != EAS_S… in EAS_MMAPIToneControl()
740 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_MMAPIToneControl()
810 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_Prepare() local
814 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_Prepare()
815 if (pParserModule == NULL) in EAS_Prepare()
819 result = pParserModule->pfState(pEASData, pStream->handle, &state); in EAS_Prepare()
825 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_Prepare()
826 result = (*pParserModule->pfPrepare)(pEASData, pStream->handle); in EAS_Prepare()
859 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_Render() local
909 if (pEASData->streams[streamNum].pParserModule) in EAS_Render()
913 pParserModule = pEASData->streams[streamNum].pParserModule; in EAS_Render()
918 if (pParserModule->pfPause) in EAS_Render()
919 result = pParserModule->pfPause(pEASData, pEASData->streams[streamNum].handle); in EAS_Render()
924 …if ((result = (*pParserModule->pfState)(pEASData, pEASData->streams[streamNum].handle, &parserStat… in EAS_Render()
932 if (pParserModule->pfResume) in EAS_Render()
933 … result = pParserModule->pfResume(pEASData, pEASData->streams[streamNum].handle); in EAS_Render()
961 …if ((result = (*pParserModule->pfState)(pEASData, pEASData->streams[streamNum].handle, &parserStat… in EAS_Render()
971 …if ((result = (*pParserModule->pfReset)(pEASData, pEASData->streams[streamNum].handle)) != EAS_SUC… in EAS_Render()
1011 if (pEASData->streams[streamNum].pParserModule != NULL) in EAS_Render()
1242 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_ParseEvents() local
1250 pParserModule = pStream->pParserModule; in EAS_ParseEvents()
1251 if (pParserModule->pfTime == NULL) in EAS_ParseEvents()
1254 … if ((result = (*pParserModule->pfState)(pEASData, pStream->handle, &parserState)) != EAS_SUCCESS) in EAS_ParseEvents()
1273 … if ((result = (*pParserModule->pfState)(pEASData, pStream->handle, &parserState)) != EAS_SUCCESS) in EAS_ParseEvents()
1285 if (pParserModule->pfTime) in EAS_ParseEvents()
1287 … if ((result = (*pParserModule->pfTime)(pEASData, pStream->handle, &time)) != EAS_SUCCESS) in EAS_ParseEvents()
1295 if (pParserModule->pfEvent) in EAS_ParseEvents()
1296 … if ((result = (*pParserModule->pfEvent)(pEASData, pStream->handle, parseMode)) != EAS_SUCCESS) in EAS_ParseEvents()
1354 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_ParseMetaData() local
1358 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_ParseMetaData()
1359 if (pParserModule == NULL) in EAS_ParseMetaData()
1363 if ((result = (*pParserModule->pfState)(pEASData, pStream->handle, &state)) != EAS_SUCCESS) in EAS_ParseMetaData()
1369 if (pParserModule->pfGetMetaData != NULL) in EAS_ParseMetaData()
1370 return pParserModule->pfGetMetaData(pEASData, pStream->handle, playLength); in EAS_ParseMetaData()
1373 if ((result = (*pParserModule->pfReset)(pEASData, pStream->handle)) != EAS_SUCCESS) in EAS_ParseMetaData()
1388 return (*pParserModule->pfReset)(pEASData, pStream->handle); in EAS_ParseMetaData()
1465 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_CloseFile() local
1469 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_CloseFile()
1470 if (pParserModule == NULL) in EAS_CloseFile()
1473 result = (*pParserModule->pfClose)(pEASData, pStream->handle); in EAS_CloseFile()
1477 pStream->pParserModule = NULL; in EAS_CloseFile()
1650 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_State() local
1654 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_State()
1655 if (pParserModule == NULL) in EAS_State()
1658 if ((result = (*pParserModule->pfState)(pEASData, pStream->handle, pState)) != EAS_SUCCESS) in EAS_State()
1990 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_Locate() local
1996 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_Locate()
1997 if (pParserModule == NULL) in EAS_Locate()
2000 if ((result = (*pParserModule->pfState)(pEASData, pStream->handle, &state)) != EAS_SUCCESS) in EAS_Locate()
2021 if (pParserModule->pfLocate != NULL) in EAS_Locate()
2024 …result = pParserModule->pfLocate(pEASData, pStream->handle, (EAS_I32) requestedTime, &parserLocate… in EAS_Locate()
2038 if ((result = (*pParserModule->pfReset)(pEASData, pStream->handle)) != EAS_SUCCESS) in EAS_Locate()
2121 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_Pause() local
2125 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_Pause()
2126 if (pParserModule == NULL) in EAS_Pause()
2130 result = pParserModule->pfState(pEASData, pStream->handle, &state); in EAS_Pause()
2137 if (pParserModule->pfPause == NULL) in EAS_Pause()
2148 if (pParserModule->pfPause) in EAS_Pause()
2149 result = pParserModule->pfPause(pEASData, pStream->handle); in EAS_Pause()
2179 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_Resume() local
2183 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_Resume()
2184 if (pParserModule == NULL) in EAS_Resume()
2188 result = pParserModule->pfState(pEASData, pStream->handle, &state); in EAS_Resume()
2195 if (pParserModule->pfResume == NULL) in EAS_Resume()
2206 if (pParserModule->pfResume) in EAS_Resume()
2207 result = pParserModule->pfResume(pEASData, pStream->handle); in EAS_Resume()