Home | History | Annotate | Download | only in lib_src

Lines Matching refs:pParserModule

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