OMX_ERRORTYPE V4lRender::DeInitRenderComponent()
{
	if(lock)
		fsl_osal_mutex_destroy(lock);

	return OMX_ErrorNone;
}
OMX_ERRORTYPE IpulibRender::DeInitRenderComponent()
{
	CloseDevice();

	if(lock)
		fsl_osal_mutex_destroy(lock);

	return OMX_ErrorNone;
}
예제 #3
0
OMX_ERRORTYPE PlatformResourceMgr::DeInit()
{
    if(PlatformDataList != NULL)
        FSL_DELETE(PlatformDataList);

    if(lock != NULL)
        fsl_osal_mutex_destroy(lock);

    return OMX_ErrorNone;
}
예제 #4
0
OMX_ERRORTYPE Clock::DeInitComponent()
{
    if(lock != NULL) {
        fsl_osal_mutex_destroy(lock);
        lock = NULL;
    }

    if(Cond != NULL) {
        fsl_osal_cond_destroy(Cond);
        Cond = NULL;
    }

    return OMX_ErrorNone;
}
예제 #5
0
파일: Queue.cpp 프로젝트: FreeSrk/omx
QUEUE_ERRORTYPE Queue::Free()
{
    if(pQNodeMem != NULL)
        FSL_FREE(pQNodeMem);
    if(pQMsgMem != NULL)
        FSL_FREE(pQMsgMem);
    if(lock != NULL)
        fsl_osal_mutex_destroy(lock);
    if(usedNodesSem != NULL)
        fsl_osal_sem_destroy(usedNodesSem);
    if(freeNodesSem != NULL)
        fsl_osal_sem_destroy(freeNodesSem);

    return QUEUE_SUCCESS;
}