/frameworks/av/libvideoeditor/vss/src/ |
M4VSS3GPP_Codecs.c | 44 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, 48 pC->pWriterGlobalFcts = M4OSA_NULL; 49 pC->pWriterDataFcts = M4OSA_NULL; 50 pC->pVideoEncoderGlobalFcts = M4OSA_NULL; 51 pC->pAudioEncoderGlobalFcts = M4OSA_NULL; 52 pC->pCurrentAudioEncoderUserData = M4OSA_NULL; 53 pC->pCurrentAudioDecoderUserData = M4OSA_NULL; 55 pC->pCurrentVideoEncoderExternalAPI = M4OSA_NULL; 56 pC->pCurrentVideoEncoderUserData = M4OSA_NULL; 60 pC->WriterInterface[i].pGlobalFcts = M4OSA_NULL; [all...] |
M4xVSS_API.c | 63 * @return M4ERR_PARAMETER: At least one parameter is M4OSA_NULL 73 if( pParams == M4OSA_NULL ) 79 if( pParams->pFileReadPtr == M4OSA_NULL 80 || pParams->pFileWritePtr == M4OSA_NULL ) 90 if( xVSS_context == M4OSA_NULL ) 102 if( pParams->pConvFromUTF8Fct != M4OSA_NULL ) 104 if( pParams->pConvToUTF8Fct != M4OSA_NULL ) 117 if( M4OSA_NULL 122 xVSS_context->pTempPath = M4OSA_NULL; 124 xVSS_context = M4OSA_NULL; [all...] |
M4PCMR_CoreReader.c | 71 if((M4OSA_NULL == pContext)|| (M4OSA_NULL == pUrl) ||(M4OSA_NULL == pFileFunction)) 77 context = M4OSA_NULL; 80 if (M4OSA_NULL == context) 91 context->m_pFileReadFunc = M4OSA_NULL; 92 context->m_fileContext = M4OSA_NULL; 93 context->m_pAuBuffer = M4OSA_NULL; 94 context->m_pDecoderSpecInfo = M4OSA_NULL; 100 M4OSA_NULL, M4OSA_kchrDec) [all...] |
M4READER_Amr.c | 75 if (pReaderContext == M4OSA_NULL) 80 pReaderContext->m_pAudioStream = M4OSA_NULL; 81 pReaderContext->m_audioAu.dataAddress = M4OSA_NULL; 83 pReaderContext->m_pCoreContext = M4OSA_NULL; 84 pReaderContext->m_pOsaFileReaderFcts = M4OSA_NULL; 107 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, 112 if (M4OSA_NULL == pC) 114 M4OSA_TRACE1_0("M4READER_AMR_destroy(): M4READER_AMR_destroy: context is M4OSA_NULL,\ 142 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, 144 M4OSA_DEBUG_IF1((M4OSA_NULL == pFileDescriptor), M4ERR_PARAMETER [all...] |
M4READER_Pcm.c | 70 if (pReaderContext == M4OSA_NULL) 75 pReaderContext->m_coreContext = M4OSA_NULL; 76 pReaderContext->m_pAudioStream = M4OSA_NULL; 77 pReaderContext->m_audioAu.dataAddress = M4OSA_NULL; 78 pReaderContext->m_pOsaFileReaderFcts = M4OSA_NULL; 99 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, 122 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, 124 M4OSA_DEBUG_IF1((M4OSA_NULL == pFileDescriptor), M4ERR_PARAMETER, 149 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, 153 if (M4OSA_NULL != pC->m_pAudioStream [all...] |
M4AMRR_CoreReader.c | 175 *pContext = M4OSA_NULL ; 177 M4OSA_DEBUG_IF2((M4OSA_NULL == pContext),M4ERR_PARAMETER,"Context M4OSA_NULL"); 178 M4OSA_DEBUG_IF2((M4OSA_NULL == pFileDescriptor),M4ERR_PARAMETER,"File Desc. M4OSA_NULL"); 182 if(M4OSA_NULL == M4_Token) 184 M4OSA_DEBUG_IF3((M4OSA_NULL == M4_Token),M4ERR_ALLOC,"Mem Alloc failed - M4_Token"); 190 if(M4OSA_NULL == pStreamContext) 193 *pContext = M4OSA_NULL ; 201 pStreamContext->m_pStreamHandler = M4OSA_NULL ; [all...] |
M4PTO3GPP_API.c | 118 * @return M4ERR_PARAMETER: pVersionInfo is M4OSA_NULL (If Debug Level >= 2) 130 M4OSA_DEBUG_IF2((M4OSA_NULL==pVersionInfo),M4ERR_PARAMETER, 131 "M4PTO3GPP_GetVersion: pVersionInfo is M4OSA_NULL"); 149 * @return M4ERR_PARAMETER: At least one parameter is M4OSA_NULL (If Debug Level >= 2) 166 M4OSA_DEBUG_IF2((M4OSA_NULL == pContext), M4ERR_PARAMETER, 167 "M4PTO3GPP_Init: pContext is M4OSA_NULL"); 174 if (M4OSA_NULL == pC) 182 * Init the context. All pointers must be initialized to M4OSA_NULL because CleanUp() 190 pC->m_pReaderAudioAU = M4OSA_NULL; 191 pC->m_pReaderAudioStream = M4OSA_NULL; [all...] |
M4VSS3GPP_Clip.c | 90 M4OSA_DEBUG_IF2((M4OSA_NULL == hClipCtxt), M4ERR_PARAMETER, 91 "M4VSS3GPP_intClipInit: hClipCtxt is M4OSA_NULL"); 92 M4OSA_DEBUG_IF2((M4OSA_NULL == pFileReadPtrFct), M4ERR_PARAMETER, 93 "M4VSS3GPP_intClipInit: pFileReadPtrFct is M4OSA_NULL"); 101 if( M4OSA_NULL == *hClipCtxt ) 118 pClipCtxt->pSettings = M4OSA_NULL; 127 pClipCtxt->pReaderContext = M4OSA_NULL; 128 pClipCtxt->pVideoStream = M4OSA_NULL; 129 pClipCtxt->pAudioStream = M4OSA_NULL; 130 pClipCtxt->VideoAU.m_dataAddress = M4OSA_NULL; [all...] |
M4xVSS_internal.c | 75 * @return M4ERR_PARAMETER: At least one parameter is M4OSA_NULL 131 Params.pOutputPCMfile = M4OSA_NULL; 214 * @return M4ERR_PARAMETER: At least one parameter is M4OSA_NULL 240 xVSS_context->pMCS_Ctxt = M4OSA_NULL; 283 if(pTmpData == M4OSA_NULL) { 298 pTmpData = M4OSA_NULL; 309 pTmpData = M4OSA_NULL; 319 pTmpData = M4OSA_NULL; 325 if(rgbPlane1.pac_data == M4OSA_NULL) 354 if(rgbPlane2.pac_data == M4OSA_NULL) [all...] |
M4VSS3GPP_Edit.c | 80 * @return M4ERR_PARAMETER: pVersionInfo is M4OSA_NULL (If Debug Level >= 2) 90 M4OSA_DEBUG_IF2((M4OSA_NULL == pVersionInfo), M4ERR_PARAMETER, 91 "M4VSS3GPP_GetVersion: pVersionInfo is M4OSA_NULL"); 109 * @return M4ERR_PARAMETER: At least one parameter is M4OSA_NULL 128 M4OSA_DEBUG_IF2((M4OSA_NULL == pContext), M4ERR_PARAMETER, 129 "M4VSS3GPP_editInit: pContext is M4OSA_NULL"); 130 M4OSA_DEBUG_IF2((M4OSA_NULL == pFileReadPtrFct), M4ERR_PARAMETER, 131 "M4VSS3GPP_editInit: pFileReadPtrFct is M4OSA_NULL"); 132 M4OSA_DEBUG_IF2((M4OSA_NULL == pFileWritePtrFct), M4ERR_PARAMETER, 133 "M4VSS3GPP_editInit: pFileWritePtrFct is M4OSA_NULL"); [all...] |
M4AD_Null.c | 118 M4OSA_DEBUG_IF1((context == M4OSA_NULL), M4ERR_PARAMETER, "M4AD_NULL_destroy: invalid context"); 238 if (M4OSA_NULL == *pDecoderInterface) 249 (*pDecoderInterface)->m_pFctStartAudioDec = M4OSA_NULL; 250 (*pDecoderInterface)->m_pFctResetAudioDec = M4OSA_NULL; 251 (*pDecoderInterface)->m_pFctSetOptionAudioDec = M4OSA_NULL; 252 (*pDecoderInterface)->m_pFctGetOptionAudioDec = M4OSA_NULL;
|
/frameworks/av/libvideoeditor/vss/mcs/src/ |
M4MCS_Codecs.c | 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; [all...] |
/frameworks/av/libvideoeditor/vss/3gpwriter/src/ |
M4MP4W_Utils.c | 123 if (M4OSA_NULL != ptr2) 139 ERR_CHECK(context != M4OSA_NULL, M4ERR_PARAMETER); 145 if (mMp4FileDataPtr->audioTrackPtr != M4OSA_NULL) 156 if ((M4OSA_NULL != mMp4FileDataPtr->audioTrackPtr->Chunk) && 157 (M4OSA_NULL != mMp4FileDataPtr->audioTrackPtr->Chunk[0])) 161 if (M4OSA_NULL != mMp4FileDataPtr->audioTrackPtr->chunkOffsetTable) 168 if (M4OSA_NULL != mMp4FileDataPtr->audioTrackPtr->Chunk) 172 if (M4OSA_NULL != mMp4FileDataPtr->audioTrackPtr->chunkSizeTable) 176 if (M4OSA_NULL != mMp4FileDataPtr->audioTrackPtr->chunkSampleNbTable) 180 if (M4OSA_NULL != mMp4FileDataPtr->audioTrackPtr->chunkTimeMsTable [all...] |
M4MP4W_Interface.c | 83 * @return M4ERR_PARAMETER: pContext or pFilePtrFct is M4OSA_NULL (debug only) 100 M4OSA_DEBUG_IF2((M4OSA_NULL == pContext),M4ERR_PARAMETER, 101 "M4WRITER_3GP_openWrite: pContext is M4OSA_NULL"); 102 M4OSA_DEBUG_IF2((M4OSA_NULL == pFileWriterPointer),M4ERR_PARAMETER, 103 "M4WRITER_3GP_openWrite: pFileWriterPointer is M4OSA_NULL"); 107 *pContext=M4OSA_NULL; 113 if (M4OSA_NULL == apContext) 122 apContext->pMP4Context = M4OSA_NULL; 155 * @return M4ERR_PARAMETER: pContext is M4OSA_NULL (debug only) 171 M4OSA_DEBUG_IF2((M4OSA_NULL == apContext),M4ERR_PARAMETER [all...] |
/frameworks/av/libvideoeditor/osal/inc/ |
LV_Macros.h | 42 if(M4OSA_NULL == (p)) \ 97 if(M4OSA_NULL != (p)) \ 100 (p) = M4OSA_NULL ; \
|
/frameworks/av/libvideoeditor/vss/stagefrightshells/inc/ |
VideoEditorUtils.h | 62 if(M4OSA_NULL != (p)) { \ 64 (p) = M4OSA_NULL ; \ 78 VIDEOEDITOR_CHECK(M4OSA_NULL != (p), M4ERR_ALLOC); \
|
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
VideoEditorBuffer.c | 32 if(M4OSA_NULL != p) \ 35 p = M4OSA_NULL; \ 61 pool = M4OSA_NULL; 65 if (M4OSA_NULL == pool) 72 pool->pNXPBuffer = M4OSA_NULL; 77 if(M4OSA_NULL == pool->pNXPBuffer) 85 pool->pNXPBuffer[index].pData = M4OSA_NULL; 89 pool->poolName = M4OSA_NULL; 93 if(pool->poolName == M4OSA_NULL) 140 if(M4OSA_NULL != ppool->pNXPBuffer[j].pData [all...] |
VideoEditor3gpReader.cpp | 135 *pContext=M4OSA_NULL; 139 if (M4OSA_NULL == pStreamContext) { 178 M4OSA_DEBUG_IF1((M4OSA_NULL==pStreamContext), 0, 216 if (M4OSA_NULL == pStreamContext) { 239 M4OSA_DEBUG_IF1((M4OSA_NULL==pStreamContext), 0, 275 if (M4OSA_NULL == pStreamContext) { 295 M4OSA_DEBUG_IF1((M4OSA_NULL==pStreamContext), 0, "invalid context pointer"); 305 M4OSA_DEBUG_IF1((M4OSA_NULL==pStreamContext), 0, "invalid context pointer"); 321 M4OSA_DEBUG_IF1((M4OSA_NULL==pContext), 0, "invalid context pointer"); 353 M4OSA_DEBUG_IF1((M4OSA_NULL==pContext), 0, "invalid context pointer") [all...] |
/frameworks/base/media/jni/mediaeditor/ |
VideoEditorPropertiesMain.cpp | 84 M4OSA_Char* pFile = M4OSA_NULL; 85 M4OSA_Char* pExtension = M4OSA_NULL; 88 VideoEditPropClass_Properties* pProperties = M4OSA_NULL; 89 M4VIDEOEDITING_ClipProperties* pClipProperties = M4OSA_NULL; 91 M4MCS_Context context = M4OSA_NULL; 96 M4OSA_Context pOMXContext = M4OSA_NULL; 97 M4DECODER_VideoInterface* pOMXVidDecoderInterface = M4OSA_NULL; 98 M4AD_Interface* pOMXAudDecoderInterface = M4OSA_NULL; 120 &gotten, pEnv, file, NULL, M4OSA_NULL); 127 pFile = M4OSA_NULL; [all...] |
/frameworks/av/libvideoeditor/osal/src/ |
M4OSA_CharStar.c | 55 * @return M4ERR_PARAMETER: pStrIn or pStrOut is M4OSA_NULL. 62 M4OSA_DEBUG_IF2((M4OSA_NULL == pStrOut),M4ERR_PARAMETER, 63 "M4OSA_chrNCopy:\tpStrOut is M4OSA_NULL"); 64 M4OSA_DEBUG_IF2((M4OSA_NULL == pStrIn),M4ERR_PARAMETER, 65 "M4OSA_chrNCopy:\tpStrIn is M4OSA_NULL"); 86 * @return M4ERR_PARAMETER: pStrIn1 pStrIn2 or cmpResult is M4OSA_NULL. 95 M4OSA_DEBUG_IF2(M4OSA_NULL == pStrIn1, M4ERR_PARAMETER, 96 "M4OSA_chrAreIdentical:\tpStrIn1 is M4OSA_NULL"); 97 M4OSA_DEBUG_IF2(M4OSA_NULL == pStrIn2, M4ERR_PARAMETER, 98 "M4OSA_chrAreIdentical:\tpStrIn2 is M4OSA_NULL"); [all...] |
M4PSW_MemoryInterface.c | 40 * @return address of the allocated block, M4OSA_NULL if no memory available 48 M4OSA_MemAddr32 Address = M4OSA_NULL;
|
M4OSA_Mutex.c | 59 M4OSA_MutexContext* pMutexContext = (M4OSA_MutexContext*)M4OSA_NULL; 64 M4OSA_DEBUG_IF2(M4OSA_NULL == pContext, M4ERR_PARAMETER, 65 "M4OSA_mutexOpen: pContext is M4OSA_NULL"); 67 *pContext = M4OSA_NULL; 72 if(M4OSA_NULL == pMutexContext) 140 M4OSA_DEBUG_IF2(M4OSA_NULL == context, M4ERR_PARAMETER, 141 "M4OSA_mutexLock: context is M4OSA_NULL"); 222 M4OSA_DEBUG_IF2(M4OSA_NULL == context, M4ERR_PARAMETER, 223 "M4OSA_mutexUnlock: context is M4OSA_NULL"); 264 M4OSA_DEBUG_IF2(M4OSA_NULL == context, M4ERR_PARAMETER [all...] |
M4OSA_Semaphore.c | 69 M4OSA_SemaphoreContext* semaphoreContext = M4OSA_NULL; 74 M4OSA_DEBUG_IF2(context == M4OSA_NULL, 77 *context = M4OSA_NULL; 83 if(semaphoreContext == M4OSA_NULL) 139 M4OSA_DEBUG_IF2(context == M4OSA_NULL, 216 M4OSA_DEBUG_IF2(context == M4OSA_NULL, 251 M4OSA_DEBUG_IF2(context == M4OSA_NULL,
|
M4OSA_FileReader.c | 94 data, (M4OSA_NULL != pSize) ? (*pSize) : 0); 96 M4OSA_DEBUG_IF2(M4OSA_NULL == pContext, M4ERR_PARAMETER, 97 "M4OSA_fileReadData: pContext is M4OSA_NULL"); 98 M4OSA_DEBUG_IF2(M4OSA_NULL == data, M4ERR_PARAMETER, 99 "M4OSA_fileReadData: data is M4OSA_NULL"); 100 M4OSA_DEBUG_IF2(M4OSA_NULL == pSize, M4ERR_PARAMETER, 101 "M4OSA_fileReadData: pSize is M4OSA_NULL"); 103 M4OSA_DEBUG_IF2(M4OSA_NULL == pFileContext->semaphore_context, 104 M4ERR_BAD_CONTEXT, "M4OSA_fileReadData: semaphore_context is M4OSA_NULL"); 225 (pPosition != M4OSA_NULL) ? (*pPosition) : 0) [all...] |
M4OSA_FileCommon.c | 84 FILE* pFileHandler = M4OSA_NULL; 85 M4OSA_FileContext *pFileContext = M4OSA_NULL; 95 if(tempConversionBuf == M4OSA_NULL) 109 M4OSA_DEBUG_IF2(M4OSA_NULL == pContext, M4ERR_PARAMETER, "M4OSA_fileCommonOpen: pContext is M4OSA_NULL"); 110 M4OSA_DEBUG_IF2(M4OSA_NULL == pUrl, M4ERR_PARAMETER, "M4OSA_fileCommonOpen: pUrl is M4OSA_NULL"); 180 if (M4OSA_NULL == pFileHandler) 218 if (M4OSA_NULL == pFileContext) 257 if (M4OSA_NULL == pFileContext->url_name [all...] |