HomeSort by relevance Sort by last modified time
    Searched refs:pFileContext (Results 1 - 3 of 3) sorted by null

  /frameworks/av/libvideoeditor/osal/src/
M4OSA_FileReader.c 89 M4OSA_FileContext* pFileContext = pContext;
103 M4OSA_DEBUG_IF2(M4OSA_NULL == pFileContext->semaphore_context,
107 if(M4OSA_kDescRWAccess == pFileContext->m_DescrModeAccess) /* read write */
110 pFileContext->file_desc);
119 pFileContext->read_position = pFileContext->read_position + uiSizeRead;
124 pFileContext->b_is_end_of_file = M4OSA_TRUE;
137 M4OSA_semaphoreWait(pFileContext->semaphore_context, M4OSA_WAIT_FOREVER);
140 if(pFileContext->current_seek != SeekRead)
144 &(pFileContext->read_position))
    [all...]
M4OSA_FileWriter.c 83 M4OSA_FileContext* pFileContext = pContext;
97 M4OSA_DEBUG_IF2(M4OSA_NULL == pFileContext->semaphore_context,
102 if (M4OSA_kDescRWAccess == pFileContext->m_DescrModeAccess)
106 WriteSize = fwrite((void *)data,1, uiSize, pFileContext->file_desc);
113 fflush(pFileContext->file_desc);
115 pFileContext->write_position = pFileContext->write_position + WriteSize;
118 if(pFileContext->write_position > pFileContext->file_size)
120 pFileContext->file_size = pFileContext->write_position
    [all...]
M4OSA_FileCommon.c 85 M4OSA_FileContext *pFileContext = M4OSA_NULL;
216 pFileContext = (M4OSA_FileContext*) M4OSA_32bitAlignedMalloc(sizeof(M4OSA_FileContext),
218 if (M4OSA_NULL == pFileContext)
225 pFileContext->file_desc = pFileHandler;
226 pFileContext->access_mode = fileModeAccess;
227 pFileContext->current_seek = SeekNone;
228 pFileContext->b_is_end_of_file = M4OSA_FALSE;
236 pFileContext->coreID_write = 0;
237 pFileContext->coreID_read = 0;
238 pFileContext->m_DescrModeAccess = M4OSA_kDescNoneAccess
    [all...]

Completed in 32 milliseconds