/frameworks/media/libvideoeditor/vss/src/ |
D | M4VSS3GPP_Codecs.c | 44 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, in M4VSS3GPP_clearInterfaceTables() 48 pC->pWriterGlobalFcts = M4OSA_NULL; in M4VSS3GPP_clearInterfaceTables() 49 pC->pWriterDataFcts = M4OSA_NULL; in M4VSS3GPP_clearInterfaceTables() 50 pC->pVideoEncoderGlobalFcts = M4OSA_NULL; in M4VSS3GPP_clearInterfaceTables() 51 pC->pAudioEncoderGlobalFcts = M4OSA_NULL; in M4VSS3GPP_clearInterfaceTables() 52 pC->pCurrentAudioEncoderUserData = M4OSA_NULL; in M4VSS3GPP_clearInterfaceTables() 53 pC->pCurrentAudioDecoderUserData = M4OSA_NULL; in M4VSS3GPP_clearInterfaceTables() 55 pC->pCurrentVideoEncoderExternalAPI = M4OSA_NULL; in M4VSS3GPP_clearInterfaceTables() 56 pC->pCurrentVideoEncoderUserData = M4OSA_NULL; in M4VSS3GPP_clearInterfaceTables() 60 pC->WriterInterface[i].pGlobalFcts = M4OSA_NULL; in M4VSS3GPP_clearInterfaceTables() [all …]
|
D | M4xVSS_API.c | 73 if( pParams == M4OSA_NULL ) in M4xVSS_Init() 79 if( pParams->pFileReadPtr == M4OSA_NULL in M4xVSS_Init() 80 || pParams->pFileWritePtr == M4OSA_NULL ) in M4xVSS_Init() 90 if( xVSS_context == M4OSA_NULL ) in M4xVSS_Init() 102 if( pParams->pConvFromUTF8Fct != M4OSA_NULL ) in M4xVSS_Init() 104 if( pParams->pConvToUTF8Fct != M4OSA_NULL ) in M4xVSS_Init() 117 if( M4OSA_NULL in M4xVSS_Init() 122 xVSS_context->pTempPath = M4OSA_NULL; in M4xVSS_Init() 124 xVSS_context = M4OSA_NULL; in M4xVSS_Init() 133 xVSS_context->pTempPath = M4OSA_NULL; in M4xVSS_Init() [all …]
|
D | M4PCMR_CoreReader.c | 71 if((M4OSA_NULL == pContext)|| (M4OSA_NULL == pUrl) ||(M4OSA_NULL == pFileFunction)) in M4PCMR_openRead() 77 context = M4OSA_NULL; in M4PCMR_openRead() 80 if (M4OSA_NULL == context) in M4PCMR_openRead() 91 context->m_pFileReadFunc = M4OSA_NULL; in M4PCMR_openRead() 92 context->m_fileContext = M4OSA_NULL; in M4PCMR_openRead() 93 context->m_pAuBuffer = M4OSA_NULL; in M4PCMR_openRead() 94 context->m_pDecoderSpecInfo = M4OSA_NULL; in M4PCMR_openRead() 100 M4OSA_NULL, M4OSA_kchrDec); in M4PCMR_openRead() 106 M4OSA_NULL, M4OSA_kchrDec); in M4PCMR_openRead() 110 context->m_fileContext = M4OSA_NULL; in M4PCMR_openRead() [all …]
|
D | M4VSS3GPP_Edit.c | 90 M4OSA_DEBUG_IF2((M4OSA_NULL == pVersionInfo), M4ERR_PARAMETER, in M4VSS3GPP_GetVersion() 128 M4OSA_DEBUG_IF2((M4OSA_NULL == pContext), M4ERR_PARAMETER, in M4VSS3GPP_editInit() 130 M4OSA_DEBUG_IF2((M4OSA_NULL == pFileReadPtrFct), M4ERR_PARAMETER, in M4VSS3GPP_editInit() 132 M4OSA_DEBUG_IF2((M4OSA_NULL == pFileWritePtrFct), M4ERR_PARAMETER, in M4VSS3GPP_editInit() 144 if( M4OSA_NULL == pC ) in M4VSS3GPP_editInit() 155 pC->pClipList = M4OSA_NULL; in M4VSS3GPP_editInit() 156 pC->pTransitionList = M4OSA_NULL; in M4VSS3GPP_editInit() 157 pC->pEffectsList = M4OSA_NULL; in M4VSS3GPP_editInit() 158 pC->pActiveEffectsList = M4OSA_NULL; in M4VSS3GPP_editInit() 159 pC->pActiveEffectsList1 = M4OSA_NULL; in M4VSS3GPP_editInit() [all …]
|
D | M4READER_Amr.c | 75 if (pReaderContext == M4OSA_NULL) in M4READER_AMR_create() 80 pReaderContext->m_pAudioStream = M4OSA_NULL; in M4READER_AMR_create() 81 pReaderContext->m_audioAu.dataAddress = M4OSA_NULL; in M4READER_AMR_create() 83 pReaderContext->m_pCoreContext = M4OSA_NULL; in M4READER_AMR_create() 84 pReaderContext->m_pOsaFileReaderFcts = M4OSA_NULL; in M4READER_AMR_create() 107 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, in M4READER_AMR_destroy() 112 if (M4OSA_NULL == pC) in M4READER_AMR_destroy() 142 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, in M4READER_AMR_open() 144 M4OSA_DEBUG_IF1((M4OSA_NULL == pFileDescriptor), M4ERR_PARAMETER, in M4READER_AMR_open() 171 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, in M4READER_AMR_close() [all …]
|
D | M4VSS3GPP_Clip.c | 90 M4OSA_DEBUG_IF2((M4OSA_NULL == hClipCtxt), M4ERR_PARAMETER, in M4VSS3GPP_intClipInit() 92 M4OSA_DEBUG_IF2((M4OSA_NULL == pFileReadPtrFct), M4ERR_PARAMETER, in M4VSS3GPP_intClipInit() 101 if( M4OSA_NULL == *hClipCtxt ) in M4VSS3GPP_intClipInit() 118 pClipCtxt->pSettings = M4OSA_NULL; in M4VSS3GPP_intClipInit() 127 pClipCtxt->pReaderContext = M4OSA_NULL; in M4VSS3GPP_intClipInit() 128 pClipCtxt->pVideoStream = M4OSA_NULL; in M4VSS3GPP_intClipInit() 129 pClipCtxt->pAudioStream = M4OSA_NULL; in M4VSS3GPP_intClipInit() 130 pClipCtxt->VideoAU.m_dataAddress = M4OSA_NULL; in M4VSS3GPP_intClipInit() 131 pClipCtxt->AudioAU.m_dataAddress = M4OSA_NULL; in M4VSS3GPP_intClipInit() 133 pClipCtxt->pViDecCtxt = M4OSA_NULL; in M4VSS3GPP_intClipInit() [all …]
|
D | M4READER_Pcm.c | 70 if (pReaderContext == M4OSA_NULL) in M4READER_PCM_create() 75 pReaderContext->m_coreContext = M4OSA_NULL; in M4READER_PCM_create() 76 pReaderContext->m_pAudioStream = M4OSA_NULL; in M4READER_PCM_create() 77 pReaderContext->m_audioAu.dataAddress = M4OSA_NULL; in M4READER_PCM_create() 78 pReaderContext->m_pOsaFileReaderFcts = M4OSA_NULL; in M4READER_PCM_create() 99 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, in M4READER_PCM_destroy() 122 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, in M4READER_PCM_open() 124 M4OSA_DEBUG_IF1((M4OSA_NULL == pFileDescriptor), M4ERR_PARAMETER, in M4READER_PCM_open() 149 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, in M4READER_PCM_close() 153 if (M4OSA_NULL != pC->m_pAudioStream) in M4READER_PCM_close() [all …]
|
D | M4xVSS_internal.c | 131 Params.pOutputPCMfile = M4OSA_NULL; in M4xVSS_internalStartTranscoding() 240 xVSS_context->pMCS_Ctxt = M4OSA_NULL; in M4xVSS_internalStopTranscoding() 283 if(pTmpData == M4OSA_NULL) { in M4xVSS_internalConvertAndResizeARGB8888toYUV420() 298 pTmpData = M4OSA_NULL; in M4xVSS_internalConvertAndResizeARGB8888toYUV420() 309 pTmpData = M4OSA_NULL; in M4xVSS_internalConvertAndResizeARGB8888toYUV420() 319 pTmpData = M4OSA_NULL; in M4xVSS_internalConvertAndResizeARGB8888toYUV420() 325 if(rgbPlane1.pac_data == M4OSA_NULL) in M4xVSS_internalConvertAndResizeARGB8888toYUV420() 354 if(rgbPlane2.pac_data == M4OSA_NULL) in M4xVSS_internalConvertAndResizeARGB8888toYUV420() 366 err = M4VIFI_ResizeBilinearRGB888toRGB888(M4OSA_NULL, &rgbPlane1, &rgbPlane2); in M4xVSS_internalConvertAndResizeARGB8888toYUV420() 375 err = M4VIFI_RGB888toYUV420(M4OSA_NULL, &rgbPlane2, pImagePlanes); in M4xVSS_internalConvertAndResizeARGB8888toYUV420() [all …]
|
D | M4AMRR_CoreReader.c | 175 *pContext = M4OSA_NULL ; in M4AMRR_openRead() 177 M4OSA_DEBUG_IF2((M4OSA_NULL == pContext),M4ERR_PARAMETER,"Context M4OSA_NULL"); in M4AMRR_openRead() 178 M4OSA_DEBUG_IF2((M4OSA_NULL == pFileDescriptor),M4ERR_PARAMETER,"File Desc. M4OSA_NULL"); in M4AMRR_openRead() 182 if(M4OSA_NULL == M4_Token) in M4AMRR_openRead() 184 M4OSA_DEBUG_IF3((M4OSA_NULL == M4_Token),M4ERR_ALLOC,"Mem Alloc failed - M4_Token"); in M4AMRR_openRead() 190 if(M4OSA_NULL == pStreamContext) in M4AMRR_openRead() 193 *pContext = M4OSA_NULL ; in M4AMRR_openRead() 201 pStreamContext->m_pStreamHandler = M4OSA_NULL ; in M4AMRR_openRead() 202 pStreamContext->m_pAMRFile = M4OSA_NULL ; in M4AMRR_openRead() 204 pStreamContext->m_pSeekIndex = M4OSA_NULL ; in M4AMRR_openRead() [all …]
|
D | M4PTO3GPP_API.c | 130 M4OSA_DEBUG_IF2((M4OSA_NULL==pVersionInfo),M4ERR_PARAMETER, in M4PTO3GPP_GetVersion() 166 M4OSA_DEBUG_IF2((M4OSA_NULL == pContext), M4ERR_PARAMETER, in M4PTO3GPP_Init() 174 if (M4OSA_NULL == pC) in M4PTO3GPP_Init() 190 pC->m_pReaderAudioAU = M4OSA_NULL; in M4PTO3GPP_Init() 191 pC->m_pReaderAudioStream = M4OSA_NULL; in M4PTO3GPP_Init() 195 pC->m_pEncoderHeader = M4OSA_NULL; in M4PTO3GPP_Init() 196 pC->m_pWriterVideoStream = M4OSA_NULL; in M4PTO3GPP_Init() 197 pC->m_pWriterAudioStream = M4OSA_NULL; in M4PTO3GPP_Init() 198 pC->m_pWriterVideoStreamInfo= M4OSA_NULL; in M4PTO3GPP_Init() 199 pC->m_pWriterAudioStreamInfo= M4OSA_NULL; in M4PTO3GPP_Init() [all …]
|
/frameworks/media/libvideoeditor/vss/mcs/src/ |
D | M4MCS_Codecs.c | 54 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, "invalid context pointer"); in M4MCS_clearInterfaceTables() 57 pC->pWriterGlobalFcts = M4OSA_NULL; in M4MCS_clearInterfaceTables() 58 pC->pWriterDataFcts = M4OSA_NULL; in M4MCS_clearInterfaceTables() 59 pC->pVideoEncoderGlobalFcts = M4OSA_NULL; in M4MCS_clearInterfaceTables() 60 pC->pAudioEncoderGlobalFcts = M4OSA_NULL; in M4MCS_clearInterfaceTables() 62 pC->pCurrentVideoEncoderExternalAPI = M4OSA_NULL; in M4MCS_clearInterfaceTables() 63 pC->pCurrentVideoEncoderUserData = M4OSA_NULL; in M4MCS_clearInterfaceTables() 67 pC->WriterInterface[i].pGlobalFcts = M4OSA_NULL; in M4MCS_clearInterfaceTables() 68 pC->WriterInterface[i].pDataFcts = M4OSA_NULL; in M4MCS_clearInterfaceTables() 73 pC->pVideoEncoderInterface[i] = M4OSA_NULL; in M4MCS_clearInterfaceTables() [all …]
|
/frameworks/media/libvideoeditor/vss/3gpwriter/src/ |
D | M4MP4W_Utils.c | 123 if (M4OSA_NULL != ptr2) in M4MP4W_realloc() 139 ERR_CHECK(context != M4OSA_NULL, M4ERR_PARAMETER); in M4MP4W_freeContext() 145 if (mMp4FileDataPtr->audioTrackPtr != M4OSA_NULL) in M4MP4W_freeContext() 156 if ((M4OSA_NULL != mMp4FileDataPtr->audioTrackPtr->Chunk) && in M4MP4W_freeContext() 157 (M4OSA_NULL != mMp4FileDataPtr->audioTrackPtr->Chunk[0])) in M4MP4W_freeContext() 161 if (M4OSA_NULL != mMp4FileDataPtr->audioTrackPtr->chunkOffsetTable) in M4MP4W_freeContext() 168 if (M4OSA_NULL != mMp4FileDataPtr->audioTrackPtr->Chunk) in M4MP4W_freeContext() 172 if (M4OSA_NULL != mMp4FileDataPtr->audioTrackPtr->chunkSizeTable) in M4MP4W_freeContext() 176 if (M4OSA_NULL != mMp4FileDataPtr->audioTrackPtr->chunkSampleNbTable) in M4MP4W_freeContext() 180 if (M4OSA_NULL != mMp4FileDataPtr->audioTrackPtr->chunkTimeMsTable) in M4MP4W_freeContext() [all …]
|
D | M4MP4W_Interface.c | 100 M4OSA_DEBUG_IF2((M4OSA_NULL == pContext),M4ERR_PARAMETER, in M4WRITER_3GP_openWrite() 102 M4OSA_DEBUG_IF2((M4OSA_NULL == pFileWriterPointer),M4ERR_PARAMETER, in M4WRITER_3GP_openWrite() 107 *pContext=M4OSA_NULL; in M4WRITER_3GP_openWrite() 113 if (M4OSA_NULL == apContext) in M4WRITER_3GP_openWrite() 122 apContext->pMP4Context = M4OSA_NULL; in M4WRITER_3GP_openWrite() 171 M4OSA_DEBUG_IF2((M4OSA_NULL == apContext),M4ERR_PARAMETER, in M4WRITER_3GP_startWriting() 211 M4WRITER_StreamVideoInfos *pVideoInfo = M4OSA_NULL; in M4WRITER_3GP_addStream() 212 M4WRITER_StreamAudioInfos *pAudioInfo = M4OSA_NULL; in M4WRITER_3GP_addStream() 221 M4OSA_DEBUG_IF2((M4OSA_NULL == apContext),M4ERR_PARAMETER, in M4WRITER_3GP_addStream() 223 M4OSA_DEBUG_IF2((M4OSA_NULL == pStreamDescription),M4ERR_PARAMETER, in M4WRITER_3GP_addStream() [all …]
|
/frameworks/base/media/jni/mediaeditor/ |
D | VideoEditorPropertiesMain.cpp | 84 M4OSA_Char* pFile = M4OSA_NULL; in videoEditProp_getProperties() 85 M4OSA_Char* pExtension = M4OSA_NULL; in videoEditProp_getProperties() 88 VideoEditPropClass_Properties* pProperties = M4OSA_NULL; in videoEditProp_getProperties() 89 M4VIDEOEDITING_ClipProperties* pClipProperties = M4OSA_NULL; in videoEditProp_getProperties() 91 M4MCS_Context context = M4OSA_NULL; in videoEditProp_getProperties() 96 M4OSA_Context pOMXContext = M4OSA_NULL; in videoEditProp_getProperties() 97 M4DECODER_VideoInterface* pOMXVidDecoderInterface = M4OSA_NULL; in videoEditProp_getProperties() 98 M4AD_Interface* pOMXAudDecoderInterface = M4OSA_NULL; in videoEditProp_getProperties() 120 &gotten, pEnv, file, NULL, M4OSA_NULL); in videoEditProp_getProperties() 127 pFile = M4OSA_NULL; in videoEditProp_getProperties() [all …]
|
D | VideoEditorMain.cpp | 325 (M4OSA_NULL == clazz), in getClipSetting() 525 if (pDecoders != M4OSA_NULL && pDecoders->decoderNumber > 0) { in checkClipVideoProfileAndLevel() 528 if (pVideoDecoder != M4OSA_NULL) { in checkClipVideoProfileAndLevel() 540 if (pComponent != M4OSA_NULL) { in checkClipVideoProfileAndLevel() 544 if (pProfileLevel != M4OSA_NULL) { in checkClipVideoProfileAndLevel() 574 ManualEditContext* pContext = M4OSA_NULL; in videoEditor_stopPreview() 584 (M4OSA_NULL == pContext), in videoEditor_stopPreview() 607 ManualEditContext* pContext = M4OSA_NULL; in videoEditor_clearSurface() 616 (M4OSA_NULL == pContext), in videoEditor_clearSurface() 621 (M4OSA_NULL == pContext->mPreviewController), in videoEditor_clearSurface() [all …]
|
D | VideoEditorClasses.cpp | 52 VIDEOEDIT_JAVA_DEFINE_CONSTANT_CLASS(AudioEffect, AUDIO_EFFECT_CLASS_NAME, M4OSA_NULL, M4OSA_NULL) in VIDEOEDIT_JAVA_DEFINE_CONSTANT_CLASS() argument 69 VIDEOEDIT_JAVA_DEFINE_CONSTANT_CLASS(AudioFormat, AUDIO_FORMAT_CLASS_NAME, M4OSA_NULL, M4OSA_NULL) in VIDEOEDIT_JAVA_DEFINE_CONSTANT_CLASS() argument 85 M4OSA_NULL, M4OSA_NULL) in VIDEOEDIT_JAVA_DEFINE_CONSTANT_CLASS() argument 94 VIDEOEDIT_JAVA_DEFINE_CONSTANT_CLASS(AudioTransition, AUDIO_TRANSITION_CLASS_NAME, M4OSA_NULL, in VIDEOEDIT_JAVA_DEFINE_CONSTANT_CLASS() argument 95 M4OSA_NULL) in VIDEOEDIT_JAVA_DEFINE_CONSTANT_CLASS() 152 VIDEOEDIT_JAVA_DEFINE_CONSTANT_CLASS(ClipType, FILE_TYPE_CLASS_NAME, M4OSA_NULL, M4OSA_NULL) in VIDEOEDIT_JAVA_DEFINE_CONSTANT_CLASS() argument 161 VIDEOEDIT_JAVA_DEFINE_CONSTANT_CLASS(Engine, MANUAL_EDIT_ENGINE_CLASS_NAME, M4OSA_NULL, in VIDEOEDIT_JAVA_DEFINE_CONSTANT_CLASS() argument 162 M4OSA_NULL) in VIDEOEDIT_JAVA_DEFINE_CONSTANT_CLASS() 338 VIDEOEDIT_JAVA_DEFINE_CONSTANT_CLASS(FileType, FILE_TYPE_CLASS_NAME, M4OSA_NULL, M4OSA_NULL) in VIDEOEDIT_JAVA_DEFINE_CONSTANT_CLASS() argument 349 M4OSA_NULL, M4OSA_NULL) in VIDEOEDIT_JAVA_DEFINE_CONSTANT_CLASS() argument [all …]
|
/frameworks/media/libvideoeditor/vss/stagefrightshells/src/ |
D | VideoEditor3gpReader.cpp | 135 *pContext=M4OSA_NULL; in VideoEditor3gpReader_BitStreamParserInit() 139 if (M4OSA_NULL == pStreamContext) { in VideoEditor3gpReader_BitStreamParserInit() 178 M4OSA_DEBUG_IF1((M4OSA_NULL==pStreamContext), 0, in VideoEditor3gpReader_BitStreamParserShowBits() 216 if (M4OSA_NULL == pStreamContext) { in VideoEditor3gpReader_BitStreamParserFlushBits() 239 M4OSA_DEBUG_IF1((M4OSA_NULL==pStreamContext), 0, in VideoEditor3gpReader_BitStreamParserGetBits() 275 if (M4OSA_NULL == pStreamContext) { in VideoEditor3gpReader_BitStreamParserRestart() 295 M4OSA_DEBUG_IF1((M4OSA_NULL==pStreamContext), 0, "invalid context pointer"); in VideoEditor3gpReader_GetCurrentbitStreamPointer() 305 M4OSA_DEBUG_IF1((M4OSA_NULL==pStreamContext), 0, "invalid context pointer"); in VideoEditor3gpReader_BitStreamParserGetSize() 321 M4OSA_DEBUG_IF1((M4OSA_NULL==pContext), 0, "invalid context pointer"); in VideoEditor3gpReader_GetMpegLengthFromInteger() 353 M4OSA_DEBUG_IF1((M4OSA_NULL==pContext), 0, "invalid context pointer"); in VideoEditor3gpReader_GetMpegLengthFromStream() [all …]
|
D | VideoEditorBuffer.c | 32 if(M4OSA_NULL != p) \ 35 p = M4OSA_NULL; \ 60 pool = M4OSA_NULL; in VIDEOEDITOR_BUFFER_allocatePool() 64 if (M4OSA_NULL == pool) in VIDEOEDITOR_BUFFER_allocatePool() 71 pool->pNXPBuffer = M4OSA_NULL; in VIDEOEDITOR_BUFFER_allocatePool() 76 if(M4OSA_NULL == pool->pNXPBuffer) in VIDEOEDITOR_BUFFER_allocatePool() 83 pool->poolName = M4OSA_NULL; in VIDEOEDITOR_BUFFER_allocatePool() 87 if(pool->poolName == M4OSA_NULL) in VIDEOEDITOR_BUFFER_allocatePool() 134 if(M4OSA_NULL != ppool->pNXPBuffer[j].pData) in VIDEOEDITOR_BUFFER_freePool() 137 ppool->pNXPBuffer[j].pData = M4OSA_NULL; in VIDEOEDITOR_BUFFER_freePool() [all …]
|
D | VideoEditorAudioEncoder.cpp | 242 VideoEditorAudioEncoder_Context* pEncoderContext = M4OSA_NULL; in VideoEditorAudioEncoder_cleanup() 245 VIDEOEDITOR_CHECK(M4OSA_NULL != pContext, M4ERR_PARAMETER); in VideoEditorAudioEncoder_cleanup() 250 pContext = M4OSA_NULL; in VideoEditorAudioEncoder_cleanup() 266 VideoEditorAudioEncoder_Context* pEncoderContext = M4OSA_NULL; in VideoEditorAudioEncoder_init() 269 VIDEOEDITOR_CHECK(M4OSA_NULL != pContext, M4ERR_PARAMETER); in VideoEditorAudioEncoder_init() 282 *pContext = M4OSA_NULL; in VideoEditorAudioEncoder_init() 307 VideoEditorAudioEncoder_Context* pEncoderContext = M4OSA_NULL; in VideoEditorAudioEncoder_close() 311 VIDEOEDITOR_CHECK(M4OSA_NULL != pContext, M4ERR_PARAMETER); in VideoEditorAudioEncoder_close() 346 VideoEditorAudioEncoder_Context* pEncoderContext = M4OSA_NULL; in VideoEditorAudioEncoder_open() 355 VIDEOEDITOR_CHECK(M4OSA_NULL != pContext, M4ERR_PARAMETER); in VideoEditorAudioEncoder_open() [all …]
|
D | VideoEditorMp3Reader.cpp | 87 VideoEditorMp3Reader_Context *pReaderContext = M4OSA_NULL; in VideoEditorMp3Reader_create() 89 VIDEOEDITOR_CHECK(M4OSA_NULL != pContext, M4ERR_PARAMETER); in VideoEditorMp3Reader_create() 97 pReaderContext->mAudioStreamHandler = M4OSA_NULL; in VideoEditorMp3Reader_create() 98 pReaderContext->mAudioAu.dataAddress = M4OSA_NULL; in VideoEditorMp3Reader_create() 126 VIDEOEDITOR_CHECK(M4OSA_NULL != pReaderContext, M4ERR_PARAMETER); in VideoEditorMp3Reader_destroy() 161 M4OSA_DEBUG_IF1((M4OSA_NULL == pReaderContext), M4ERR_PARAMETER, in VideoEditorMp3Reader_open() 163 M4OSA_DEBUG_IF1((M4OSA_NULL == pFileDescriptor), M4ERR_PARAMETER, in VideoEditorMp3Reader_open() 214 M4OSA_DEBUG_IF1((M4OSA_NULL == pReaderContext), M4ERR_PARAMETER, in VideoEditorMp3Reader_close() 218 if (M4OSA_NULL != pReaderContext->mAudioStreamHandler->\ in VideoEditorMp3Reader_close() 225 m_pDecoderSpecificInfo = M4OSA_NULL; in VideoEditorMp3Reader_close() [all …]
|
/frameworks/media/libvideoeditor/osal/src/ |
D | M4OSA_FileCommon.c | 84 FILE* pFileHandler = M4OSA_NULL; in M4OSA_fileCommonOpen() 85 M4OSA_FileContext *pFileContext = M4OSA_NULL; in M4OSA_fileCommonOpen() 95 if(tempConversionBuf == M4OSA_NULL) in M4OSA_fileCommonOpen() 109 …M4OSA_DEBUG_IF2(M4OSA_NULL == pContext, M4ERR_PARAMETER, "M4OSA_fileCommonOpen: pContext is … in M4OSA_fileCommonOpen() 110 …M4OSA_DEBUG_IF2(M4OSA_NULL == pUrl, M4ERR_PARAMETER, "M4OSA_fileCommonOpen: pUrl is M4O… in M4OSA_fileCommonOpen() 180 if (M4OSA_NULL == pFileHandler) in M4OSA_fileCommonOpen() 218 if (M4OSA_NULL == pFileContext) in M4OSA_fileCommonOpen() 257 if (M4OSA_NULL == pFileContext->url_name) in M4OSA_fileCommonOpen() 389 M4OSA_DEBUG_IF2(M4OSA_NULL == pContext, M4ERR_PARAMETER, "M4OSA_fileCommonSeek"); in M4OSA_fileCommonSeek() 391 M4OSA_DEBUG_IF2(M4OSA_NULL == pFilePos, M4ERR_PARAMETER, "M4OSA_fileCommonSeek"); in M4OSA_fileCommonSeek() [all …]
|
D | M4OSA_CharStar.c | 62 M4OSA_DEBUG_IF2((M4OSA_NULL == pStrOut),M4ERR_PARAMETER, in M4OSA_chrNCopy() 64 M4OSA_DEBUG_IF2((M4OSA_NULL == pStrIn),M4ERR_PARAMETER, in M4OSA_chrNCopy() 95 M4OSA_DEBUG_IF2(M4OSA_NULL == pStrIn1, M4ERR_PARAMETER, in M4OSA_chrAreIdentical() 97 M4OSA_DEBUG_IF2(M4OSA_NULL == pStrIn2, M4ERR_PARAMETER, in M4OSA_chrAreIdentical() 99 M4OSA_DEBUG_IF2(M4OSA_NULL == pResult, M4ERR_PARAMETER, in M4OSA_chrAreIdentical() 161 M4OSA_DEBUG_IF2(M4OSA_NULL == pStrIn, M4ERR_PARAMETER, in M4OSA_chrGetUInt32() 163 M4OSA_DEBUG_IF2(M4OSA_NULL == pVal, M4ERR_PARAMETER, in M4OSA_chrGetUInt32() 200 if(M4OSA_NULL != pStrOut) in M4OSA_chrGetUInt32() 209 if(M4OSA_NULL != pStrOut) in M4OSA_chrGetUInt32() 252 M4OSA_DEBUG_IF2(M4OSA_NULL == pStrIn,M4ERR_PARAMETER, in M4OSA_chrGetUInt16() [all …]
|
D | M4OSA_Thread.c | 124 M4OSA_ThreadContext* threadContext = M4OSA_NULL; in M4OSA_threadSyncOpen() 130 M4OSA_DEBUG_IF2(context == M4OSA_NULL, in M4OSA_threadSyncOpen() 133 M4OSA_DEBUG_IF2(func == M4OSA_NULL, in M4OSA_threadSyncOpen() 136 *context = M4OSA_NULL; in M4OSA_threadSyncOpen() 142 if(threadContext == M4OSA_NULL) in M4OSA_threadSyncOpen() 151 threadContext->name = M4OSA_NULL; in M4OSA_threadSyncOpen() 219 M4OSA_DEBUG_IF2(context == M4OSA_NULL, in M4OSA_threadSyncStart() 344 M4OSA_DEBUG_IF2(context == M4OSA_NULL, in M4OSA_threadSyncStop() 400 M4OSA_DEBUG_IF2(context == M4OSA_NULL, in M4OSA_threadSyncClose() 442 if(threadContext->name != M4OSA_NULL) in M4OSA_threadSyncClose() [all …]
|
D | M4OSA_FileReader.c | 94 data, (M4OSA_NULL != pSize) ? (*pSize) : 0); in M4OSA_fileReadData() 96 M4OSA_DEBUG_IF2(M4OSA_NULL == pContext, M4ERR_PARAMETER, in M4OSA_fileReadData() 98 M4OSA_DEBUG_IF2(M4OSA_NULL == data, M4ERR_PARAMETER, in M4OSA_fileReadData() 100 M4OSA_DEBUG_IF2(M4OSA_NULL == pSize, M4ERR_PARAMETER, in M4OSA_fileReadData() 103 M4OSA_DEBUG_IF2(M4OSA_NULL == pFileContext->semaphore_context, in M4OSA_fileReadData() 225 (pPosition != M4OSA_NULL) ? (*pPosition) : 0); in M4OSA_fileReadSeek() 227 M4OSA_DEBUG_IF2(M4OSA_NULL == pContext, M4ERR_PARAMETER, in M4OSA_fileReadSeek() 231 M4OSA_DEBUG_IF2(M4OSA_NULL == pPosition, M4ERR_PARAMETER, in M4OSA_fileReadSeek() 234 M4OSA_DEBUG_IF2(M4OSA_NULL == pFileContext->semaphore_context, in M4OSA_fileReadSeek() 339 M4OSA_DEBUG_IF2(M4OSA_NULL == pContext, M4ERR_PARAMETER, in M4OSA_fileReadClose() [all …]
|
D | M4OSA_FileWriter.c | 90 M4OSA_DEBUG_IF2(M4OSA_NULL == pContext, M4ERR_PARAMETER, in M4OSA_fileWriteData() 92 M4OSA_DEBUG_IF2(M4OSA_NULL == data, M4ERR_PARAMETER, in M4OSA_fileWriteData() 97 M4OSA_DEBUG_IF2(M4OSA_NULL == pFileContext->semaphore_context, in M4OSA_fileWriteData() 216 seekMode, (M4OSA_NULL != pPosition) ? (*pPosition) : 0); in M4OSA_fileWriteSeek() 218 M4OSA_DEBUG_IF2(M4OSA_NULL == pContext, M4ERR_PARAMETER, in M4OSA_fileWriteSeek() 222 M4OSA_DEBUG_IF2(M4OSA_NULL == pPosition, M4ERR_PARAMETER, in M4OSA_fileWriteSeek() 225 M4OSA_DEBUG_IF2(M4OSA_NULL == pFileContext->semaphore_context, M4ERR_BAD_CONTEXT, in M4OSA_fileWriteSeek() 316 M4OSA_DEBUG_IF2(M4OSA_NULL == pContext, M4ERR_PARAMETER, in M4OSA_fileWriteClose() 339 M4OSA_DEBUG_IF2(M4OSA_NULL == pContext, M4ERR_PARAMETER, in M4OSA_fileWriteFlush() 343 M4OSA_DEBUG_IF2(M4OSA_NULL == pFileContext->semaphore_context, M4ERR_BAD_CONTEXT, in M4OSA_fileWriteFlush() [all …]
|