Home
last modified time | relevance | path

Searched refs:libHandle (Results 1 – 2 of 2) sorted by relevance

/hardware/intel/common/libstagefrighthw/
DWrsOMXPlugin.cpp60 void* libHandle = dlopen(coreName, RTLD_NOW); in AddCore() local
62 if (libHandle != NULL) { in AddCore()
66 dlclose(libHandle); in AddCore()
70 core->mLibHandle = libHandle; in AddCore()
71 core->mInit = (WrsOMXCore::InitFunc)dlsym(libHandle, "OMX_Init"); in AddCore()
72 core->mDeinit = (WrsOMXCore::DeinitFunc)dlsym(libHandle, "OMX_Deinit"); in AddCore()
75 (WrsOMXCore::ComponentNameEnumFunc)dlsym(libHandle, "OMX_ComponentNameEnum"); in AddCore()
77 core->mGetHandle = (WrsOMXCore::GetHandleFunc)dlsym(libHandle, "OMX_GetHandle"); in AddCore()
78 core->mFreeHandle = (WrsOMXCore::FreeHandleFunc)dlsym(libHandle, "OMX_FreeHandle"); in AddCore()
82 libHandle, "OMX_GetRolesOfComponent"); in AddCore()
/hardware/intel/common/utils/ISV/omx/
Disv_omxcore.cpp68 void* libHandle = NULL; in OMX_Init() local
70 libHandle = dlopen(WRS_CORE_NAME, RTLD_LAZY); in OMX_Init()
73 libHandle = dlopen(MSDK_CORE_NAME, RTLD_LAZY); in OMX_Init()
75 if (libHandle != NULL) { in OMX_Init()
76 g_cores[i].mLibHandle = libHandle; in OMX_Init()
77 g_cores[i].mInit = (ISVOMXCore::InitFunc)dlsym(libHandle, "OMX_Init"); in OMX_Init()
78 g_cores[i].mDeinit = (ISVOMXCore::DeinitFunc)dlsym(libHandle, "OMX_Deinit"); in OMX_Init()
81 (ISVOMXCore::ComponentNameEnumFunc)dlsym(libHandle, "OMX_ComponentNameEnum"); in OMX_Init()
83 … g_cores[i].mGetHandle = (ISVOMXCore::GetHandleFunc)dlsym(libHandle, "OMX_GetHandle"); in OMX_Init()
84 … g_cores[i].mFreeHandle = (ISVOMXCore::FreeHandleFunc)dlsym(libHandle, "OMX_FreeHandle"); in OMX_Init()
[all …]