Lines Matching refs:MediaType
129 * (debug only), or invalid MediaType
133 M4WRITER_OutputFileType MediaType,
151 if( ( MediaType == M4WRITER_kUnknown) || (MediaType >= M4WRITER_kType_NB) )
157 if( pC->WriterInterface[MediaType].pGlobalFcts != M4OSA_NULL )
167 pC->WriterInterface[MediaType].pGlobalFcts = pWtrGlobalInterface;
168 pC->WriterInterface[MediaType].pDataFcts = pWtrDataInterface;
182 * or invalid MediaType
186 M4ENCODER_Format MediaType,
198 MediaType=0x%x",
199 pC, pEncGlobalInterface, MediaType);
201 if( MediaType >= M4ENCODER_kVideo_NB )
208 if( pC->pVideoEncoderInterface[MediaType] != M4OSA_NULL )
220 free(pC->pVideoEncoderInterface[MediaType]);
227 pC->pVideoEncoderInterface[MediaType] = M4OSA_NULL;
232 pC->pVideoEncoderInterface[MediaType] = pEncGlobalInterface;
235 pC->pVideoEncoderUserDataTable[MediaType] = M4OSA_NULL;
236 pC->pVideoEncoderExternalAPITable[MediaType] = M4OSA_NULL;
255 M4ENCODER_AudioFormat MediaType,
267 MediaType=0x%x",
268 pC, pEncGlobalInterface, MediaType);
270 if( MediaType >= M4ENCODER_kAudio_NB )
277 if( pC->pAudioEncoderInterface[MediaType] != M4OSA_NULL )
279 free(pC->pAudioEncoderInterface[MediaType]);
280 pC->pAudioEncoderInterface[MediaType] = M4OSA_NULL;
284 pC->pAudioEncoderInterface[MediaType] = pEncGlobalInterface;
285 pC->pAudioEncoderFlag[MediaType] = M4OSA_FALSE; /* internal encoder */
286 pC->pAudioEncoderUserDataTable[MediaType] = M4OSA_NULL;
290 MediaType, pC->pAudioEncoderInterface[MediaType]);
739 * @param MediaType (IN) Encoder type
799 * @param MediaType (IN) Encoder type