Lines Matching refs:pC
51 M4MCS_InternalContext* pC = (M4MCS_InternalContext*)pContext;
54 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, "invalid context pointer");
57 pC->pWriterGlobalFcts = M4OSA_NULL;
58 pC->pWriterDataFcts = M4OSA_NULL;
59 pC->pVideoEncoderGlobalFcts = M4OSA_NULL;
60 pC->pAudioEncoderGlobalFcts = M4OSA_NULL;
62 pC->pCurrentVideoEncoderExternalAPI = M4OSA_NULL;
63 pC->pCurrentVideoEncoderUserData = M4OSA_NULL;
67 pC->WriterInterface[i].pGlobalFcts = M4OSA_NULL;
68 pC->WriterInterface[i].pDataFcts = M4OSA_NULL;
73 pC->pVideoEncoderInterface[i] = M4OSA_NULL;
74 pC->pVideoEncoderExternalAPITable[i] = M4OSA_NULL;
75 pC->pVideoEncoderUserDataTable[i] = M4OSA_NULL;
80 pC->pAudioEncoderInterface[i] = M4OSA_NULL;
81 pC->pAudioEncoderFlag[i] = M4OSA_FALSE;
82 pC->pAudioEncoderUserDataTable[i] = M4OSA_NULL;
86 pC->m_pReader = M4OSA_NULL;
87 pC->m_pReaderDataIt = M4OSA_NULL;
88 pC->m_uiNbRegisteredReaders = 0;
92 pC->m_pReaderGlobalItTable[i] = M4OSA_NULL;
93 pC->m_pReaderDataItTable[i] = M4OSA_NULL;
96 pC->m_pVideoDecoder = M4OSA_NULL;
98 pC->m_pCurrentVideoDecoderUserData = M4OSA_NULL;
100 pC->m_uiNbRegisteredVideoDec = 0;
103 pC->m_pVideoDecoderItTable[i] = M4OSA_NULL;
105 pC->m_pVideoDecoderUserDataTable[i] = M4OSA_NULL;
109 pC->m_pAudioDecoder = M4OSA_NULL;
112 pC->m_pAudioDecoderItTable[i] = M4OSA_NULL;
113 pC->m_pAudioDecoderFlagTable[i] = M4OSA_FALSE;
114 pC->m_pAudioDecoderUserDataTable[i] = M4OSA_NULL;
137 M4MCS_InternalContext* pC = (M4MCS_InternalContext*)pContext;
141 M4OSA_DEBUG_IF2((pC == M4OSA_NULL),M4ERR_PARAMETER,
149 pWtrGlobalInterface=0x%x, pWtrDataInterface=0x%x", pC,pWtrGlobalInterface,
158 if (pC->WriterInterface[MediaType].pGlobalFcts != M4OSA_NULL)
167 pC->WriterInterface[MediaType].pGlobalFcts = pWtrGlobalInterface;
168 pC->WriterInterface[MediaType].pDataFcts = pWtrDataInterface;
190 M4MCS_InternalContext* pC = (M4MCS_InternalContext*)pContext;
194 M4OSA_DEBUG_IF2((pC == M4OSA_NULL),M4ERR_PARAMETER,
200 pEncGlobalInterface=0x%x", pC, pEncGlobalInterface);
208 if (pC->pVideoEncoderInterface[MediaType] != M4OSA_NULL)
213 free(pC->pVideoEncoderInterface[MediaType]);
214 pC->pVideoEncoderInterface[MediaType] = M4OSA_NULL;
219 pC->pVideoEncoderInterface[MediaType] = pEncGlobalInterface;
222 pC->pVideoEncoderUserDataTable[MediaType] = M4OSA_NULL;
223 pC->pVideoEncoderExternalAPITable[MediaType] = M4OSA_NULL;
247 M4MCS_InternalContext* pC = (M4MCS_InternalContext*)pContext;
251 M4OSA_DEBUG_IF2((pC == M4OSA_NULL),M4ERR_PARAMETER,
257 pEncGlobalInterface=0x%x", pC, pEncGlobalInterface);
265 if(M4OSA_NULL != pC->pAudioEncoderInterface[MediaType])
267 free(pC->pAudioEncoderInterface[MediaType]);
268 pC->pAudioEncoderInterface[MediaType] = M4OSA_NULL;
270 if(M4OSA_NULL != pC->pAudioEncoderUserDataTable[MediaType])
272 free(pC->pAudioEncoderUserDataTable[MediaType]);
273 pC->pAudioEncoderUserDataTable[MediaType] = M4OSA_NULL;
279 pC->pAudioEncoderInterface[MediaType] = pEncGlobalInterface;
280 pC->pAudioEncoderFlag[MediaType] = M4OSA_FALSE; /* internal encoder */
300 M4MCS_InternalContext* pC = (M4MCS_InternalContext*)pContext;
302 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, "invalid context pointer");
314 if (pC->m_pReaderGlobalItTable[mediaType] != M4OSA_NULL)
321 pC->m_pReaderGlobalItTable[mediaType] = pRdrGlobalInterface;
322 pC->m_pReaderDataItTable[mediaType] = pRdrDataInterface;
324 pC->m_uiNbRegisteredReaders++;
346 M4MCS_InternalContext* pC = (M4MCS_InternalContext*)pContext;
348 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, "invalid context pointer");
358 if (pC->m_pVideoDecoderItTable[decoderType] != M4OSA_NULL)
368 free(pC->m_pVideoDecoderItTable[decoderType]);
369 pC->m_pVideoDecoderItTable[decoderType] = M4OSA_NULL;
371 if (pC->m_pVideoDecoderUserDataTable[decoderType] != M4OSA_NULL)
373 free(pC->m_pVideoDecoderUserDataTable[decoderType]);
374 pC->m_pVideoDecoderUserDataTable[decoderType] = M4OSA_NULL;
379 pC->m_pVideoDecoderItTable[decoderType] = pDecoderInterface;
381 pC->m_pVideoDecoderUserDataTable[decoderType] = M4OSA_NULL;
385 pC->m_uiNbRegisteredVideoDec++;
408 M4MCS_InternalContext* pC = (M4MCS_InternalContext*)pContext;
410 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, "invalid context pointer");
420 if(M4OSA_NULL != pC->m_pAudioDecoderItTable[decoderType])
422 free(pC->m_pAudioDecoderItTable[decoderType]);
423 pC->m_pAudioDecoderItTable[decoderType] = M4OSA_NULL;
425 if(M4OSA_NULL != pC->m_pAudioDecoderUserDataTable[decoderType])
427 free(pC->m_pAudioDecoderUserDataTable[decoderType]);
428 pC->m_pAudioDecoderUserDataTable[decoderType] = M4OSA_NULL;
431 pC->m_pAudioDecoderItTable[decoderType] = pDecoderInterface;
432 pC->m_pAudioDecoderFlagTable[decoderType] = M4OSA_FALSE; /* internal decoder */
448 M4MCS_InternalContext* pC = (M4MCS_InternalContext*)pContext;
451 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, "invalid context pointer");
455 if (pC->WriterInterface[i].pGlobalFcts != M4OSA_NULL)
457 free(pC->WriterInterface[i].pGlobalFcts );
458 pC->WriterInterface[i].pGlobalFcts = M4OSA_NULL;
460 if (pC->WriterInterface[i].pDataFcts != M4OSA_NULL)
462 free(pC->WriterInterface[i].pDataFcts );
463 pC->WriterInterface[i].pDataFcts = M4OSA_NULL;
467 pC->pWriterGlobalFcts = M4OSA_NULL;
468 pC->pWriterDataFcts = M4OSA_NULL;
484 M4MCS_InternalContext* pC = (M4MCS_InternalContext*)pContext;
487 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, "invalid context pointer");
491 if (pC->pVideoEncoderInterface[i] != M4OSA_NULL)
493 free(pC->pVideoEncoderInterface[i] );
494 pC->pVideoEncoderInterface[i] = M4OSA_NULL;
500 if (pC->pAudioEncoderInterface[i] != M4OSA_NULL)
503 if (M4OSA_FALSE == pC->pAudioEncoderFlag[i])
505 free(pC->pAudioEncoderInterface[i] );
507 pC->pAudioEncoderInterface[i] = M4OSA_NULL;
511 pC->pVideoEncoderGlobalFcts = M4OSA_NULL;
512 pC->pAudioEncoderGlobalFcts = M4OSA_NULL;
528 M4MCS_InternalContext* pC = (M4MCS_InternalContext*)pContext;
531 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, "invalid context pointer");
535 if (pC->m_pReaderGlobalItTable[i] != M4OSA_NULL)
537 free(pC->m_pReaderGlobalItTable[i] );
538 pC->m_pReaderGlobalItTable[i] = M4OSA_NULL;
540 if (pC->m_pReaderDataItTable[i] != M4OSA_NULL)
542 free(pC->m_pReaderDataItTable[i] );
543 pC->m_pReaderDataItTable[i] = M4OSA_NULL;
547 pC->m_uiNbRegisteredReaders = 0;
548 pC->m_pReader = M4OSA_NULL;
549 pC->m_pReaderDataIt = M4OSA_NULL;
565 M4MCS_InternalContext* pC = (M4MCS_InternalContext*)pContext;
568 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, "invalid context pointer");
572 if (pC->m_pVideoDecoderItTable[i] != M4OSA_NULL)
574 free(pC->m_pVideoDecoderItTable[i] );
575 pC->m_pVideoDecoderItTable[i] = M4OSA_NULL;
581 if (pC->m_pAudioDecoderItTable[i] != M4OSA_NULL)
584 if (M4OSA_FALSE == pC->m_pAudioDecoderFlagTable[i])
586 free(pC->m_pAudioDecoderItTable[i] );
588 pC->m_pAudioDecoderItTable[i] = M4OSA_NULL;
592 pC->m_uiNbRegisteredVideoDec = 0;
593 pC->m_pVideoDecoder = M4OSA_NULL;
595 pC->m_pAudioDecoder = M4OSA_NULL;
614 M4MCS_InternalContext* pC = (M4MCS_InternalContext*)pContext;
617 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, "invalid context pointer");
633 pC->b_isRawWriter = M4OSA_TRUE;
642 pC->pWriterGlobalFcts = pC->WriterInterface[writerType].pGlobalFcts;
643 pC->pWriterDataFcts = pC->WriterInterface[writerType].pDataFcts;
645 if (pC->pWriterGlobalFcts == M4OSA_NULL || pC->pWriterDataFcts == M4OSA_NULL)
652 pC->pWriterDataFcts->pWriterContext = M4OSA_NULL;
672 M4MCS_InternalContext* pC = (M4MCS_InternalContext*)pContext;
675 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, "invalid context pointer");
696 pC->pVideoEncoderGlobalFcts = pC->pVideoEncoderInterface[encoderType];
697 pC->pCurrentVideoEncoderExternalAPI = pC->pVideoEncoderExternalAPITable[encoderType];
698 pC->pCurrentVideoEncoderUserData = pC->pVideoEncoderUserDataTable[encoderType];
700 if (pC->pVideoEncoderGlobalFcts == M4OSA_NULL)
724 M4MCS_InternalContext* pC = (M4MCS_InternalContext*)pContext;
727 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, "invalid context pointer");
750 pC->pAudioEncoderGlobalFcts = pC->pAudioEncoderInterface[encoderType];
751 pC->pCurrentAudioEncoderUserData = pC->pAudioEncoderUserDataTable[encoderType];
753 if (pC->pAudioEncoderGlobalFcts == M4OSA_NULL)
777 M4MCS_InternalContext* pC = (M4MCS_InternalContext*)pContext;
780 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, "invalid context pointer");
801 pC->m_pReader = pC->m_pReaderGlobalItTable[readerType];
802 pC->m_pReaderDataIt = pC->m_pReaderDataItTable[readerType];
804 if (pC->m_pReader == M4OSA_NULL || pC->m_pReaderDataIt == M4OSA_NULL)
827 M4MCS_InternalContext* pC = (M4MCS_InternalContext*)pContext;
830 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, "invalid context pointer");
847 pC->m_pVideoDecoder = pC->m_pVideoDecoderItTable[decoderType];
849 pC->m_pCurrentVideoDecoderUserData =
850 pC->m_pVideoDecoderUserDataTable[decoderType];
853 if (pC->m_pVideoDecoder == M4OSA_NULL)
876 M4MCS_InternalContext* pC = (M4MCS_InternalContext*)pContext;
879 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, "invalid context pointer");
904 pC->m_pAudioDecoder = pC->m_pAudioDecoderItTable[decoderType];
905 pC->m_pCurrentAudioDecoderUserData =
906 pC->m_pAudioDecoderUserDataTable[decoderType];
908 if (pC->m_pAudioDecoder == M4OSA_NULL)