Lines Matching refs:pParserModule
103 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_SetStreamParameter() local
105 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_SetStreamParameter()
106 if (pParserModule->pfSetData) in EAS_SetStreamParameter()
107 return (*pParserModule->pfSetData)(pEASData, pStream->handle, param, value); in EAS_SetStreamParameter()
125 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_GetStreamParameter() local
127 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_GetStreamParameter()
128 if (pParserModule->pfGetData) in EAS_GetStreamParameter()
129 return (*pParserModule->pfGetData)(pEASData, pStream->handle, param, pValue); in EAS_GetStreamParameter()
145 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_StreamReady() local
148 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_StreamReady()
149 if (pParserModule->pfState(pEASData, pStream->handle, &state) != EAS_SUCCESS) in EAS_StreamReady()
321 static void EAS_InitStream (S_EAS_STREAM *pStream, EAS_VOID_PTR pParserModule, EAS_VOID_PTR streamH… in EAS_InitStream() argument
323 pStream->pParserModule = pParserModule; in EAS_InitStream()
485 if (pEASData->streams[i].pParserModule && pEASData->streams[i].handle) in EAS_Shutdown()
487 …if ((result = (*((S_FILE_PARSER_INTERFACE*)(pEASData->streams[i].pParserModule))->pfClose)(pEASDat… in EAS_Shutdown()
570 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_OpenJETStream() local
580 pParserModule = (S_FILE_PARSER_INTERFACE *) EAS_CMEnumModules(0); in EAS_OpenJETStream()
581 if (pParserModule == NULL) in EAS_OpenJETStream()
585 …if ((result = (*pParserModule->pfCheckFileType)(pEASData, fileHandle, &streamHandle, offset)) != E… in EAS_OpenJETStream()
594 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_OpenJETStream()
625 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_OpenFile() local
641 pParserModule = NULL; in EAS_OpenFile()
646 pParserModule = (S_FILE_PARSER_INTERFACE *) EAS_CMEnumModules(moduleNum); in EAS_OpenFile()
647 if (pParserModule == NULL) in EAS_OpenFile()
651 …if ((result = (*pParserModule->pfCheckFileType)(pEASData, fileHandle, &streamHandle, 0L)) != EAS_S… in EAS_OpenFile()
665 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_OpenFile()
709 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_MMAPIToneControl() local
715 pParserModule = EAS_CMEnumOptModules(EAS_MODULE_MMAPI_TONE_CONTROL); in EAS_MMAPIToneControl()
716 if (pParserModule == NULL) in EAS_MMAPIToneControl()
731 …if ((result = (*pParserModule->pfCheckFileType)(pEASData, fileHandle, &streamHandle, 0L)) != EAS_S… in EAS_MMAPIToneControl()
742 EAS_InitStream(&pEASData->streams[streamNum], pParserModule, streamHandle); in EAS_MMAPIToneControl()
812 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_Prepare() local
816 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_Prepare()
817 if (pParserModule == NULL) in EAS_Prepare()
821 result = pParserModule->pfState(pEASData, pStream->handle, &state); in EAS_Prepare()
827 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_Prepare()
828 result = (*pParserModule->pfPrepare)(pEASData, pStream->handle); in EAS_Prepare()
861 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_Render() local
911 if (pEASData->streams[streamNum].pParserModule) in EAS_Render()
915 pParserModule = pEASData->streams[streamNum].pParserModule; in EAS_Render()
920 if (pParserModule->pfPause) in EAS_Render()
921 result = pParserModule->pfPause(pEASData, pEASData->streams[streamNum].handle); in EAS_Render()
926 …if ((result = (*pParserModule->pfState)(pEASData, pEASData->streams[streamNum].handle, &parserStat… in EAS_Render()
934 if (pParserModule->pfResume) in EAS_Render()
935 … result = pParserModule->pfResume(pEASData, pEASData->streams[streamNum].handle); in EAS_Render()
963 …if ((result = (*pParserModule->pfState)(pEASData, pEASData->streams[streamNum].handle, &parserStat… in EAS_Render()
973 …if ((result = (*pParserModule->pfReset)(pEASData, pEASData->streams[streamNum].handle)) != EAS_SUC… in EAS_Render()
1013 if (pEASData->streams[streamNum].pParserModule != NULL) in EAS_Render()
1244 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_ParseEvents() local
1260 pParserModule = pStream->pParserModule; in EAS_ParseEvents()
1261 if (pParserModule->pfTime == NULL) in EAS_ParseEvents()
1264 … if ((result = (*pParserModule->pfState)(pEASData, pStream->handle, &parserState)) != EAS_SUCCESS) in EAS_ParseEvents()
1283 … if ((result = (*pParserModule->pfState)(pEASData, pStream->handle, &parserState)) != EAS_SUCCESS) in EAS_ParseEvents()
1295 if (pParserModule->pfTime) in EAS_ParseEvents()
1297 … if ((result = (*pParserModule->pfTime)(pEASData, pStream->handle, &time)) != EAS_SUCCESS) in EAS_ParseEvents()
1305 if (pParserModule->pfEvent) { in EAS_ParseEvents()
1306 if ((result = (*pParserModule->pfEvent)(pEASData, pStream->handle, parseMode)) in EAS_ParseEvents()
1380 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_ParseMetaData() local
1384 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_ParseMetaData()
1385 if (pParserModule == NULL) in EAS_ParseMetaData()
1389 if ((result = (*pParserModule->pfState)(pEASData, pStream->handle, &state)) != EAS_SUCCESS) in EAS_ParseMetaData()
1395 if (pParserModule->pfGetMetaData != NULL) in EAS_ParseMetaData()
1396 return pParserModule->pfGetMetaData(pEASData, pStream->handle, playLength); in EAS_ParseMetaData()
1399 if ((result = (*pParserModule->pfReset)(pEASData, pStream->handle)) != EAS_SUCCESS) in EAS_ParseMetaData()
1414 return (*pParserModule->pfReset)(pEASData, pStream->handle); in EAS_ParseMetaData()
1491 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_CloseFile() local
1495 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_CloseFile()
1496 if (pParserModule == NULL) in EAS_CloseFile()
1499 result = (*pParserModule->pfClose)(pEASData, pStream->handle); in EAS_CloseFile()
1503 pStream->pParserModule = NULL; in EAS_CloseFile()
1676 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_State() local
1680 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_State()
1681 if (pParserModule == NULL) in EAS_State()
1684 if ((result = (*pParserModule->pfState)(pEASData, pStream->handle, pState)) != EAS_SUCCESS) in EAS_State()
2016 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_Locate() local
2022 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_Locate()
2023 if (pParserModule == NULL) in EAS_Locate()
2026 if ((result = (*pParserModule->pfState)(pEASData, pStream->handle, &state)) != EAS_SUCCESS) in EAS_Locate()
2047 if (pParserModule->pfLocate != NULL) in EAS_Locate()
2050 …result = pParserModule->pfLocate(pEASData, pStream->handle, (EAS_I32) requestedTime, &parserLocate… in EAS_Locate()
2064 if ((result = (*pParserModule->pfReset)(pEASData, pStream->handle)) != EAS_SUCCESS) in EAS_Locate()
2147 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_Pause() local
2151 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_Pause()
2152 if (pParserModule == NULL) in EAS_Pause()
2156 result = pParserModule->pfState(pEASData, pStream->handle, &state); in EAS_Pause()
2163 if (pParserModule->pfPause == NULL) in EAS_Pause()
2174 if (pParserModule->pfPause) in EAS_Pause()
2175 result = pParserModule->pfPause(pEASData, pStream->handle); in EAS_Pause()
2205 S_FILE_PARSER_INTERFACE *pParserModule; in EAS_Resume() local
2209 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_Resume()
2210 if (pParserModule == NULL) in EAS_Resume()
2214 result = pParserModule->pfState(pEASData, pStream->handle, &state); in EAS_Resume()
2221 if (pParserModule->pfResume == NULL) in EAS_Resume()
2232 if (pParserModule->pfResume) in EAS_Resume()
2233 result = pParserModule->pfResume(pEASData, pStream->handle); in EAS_Resume()