Home
last modified time | relevance | path

Searched refs:p_comp (Results 1 – 4 of 4) sorted by relevance

/device/google/marlin/camera/QCamera2/stack/mm-lib2d-interface/src/
Dmm_lib2d.c286 img_component_ops_t *p_comp = NULL; in mm_lib2d_init() local
327 p_comp = &lib2d_obj->comp; in mm_lib2d_init()
345 rc = IMG_COMP_CREATE(p_core_ops, p_comp); in mm_lib2d_init()
351 rc = IMG_COMP_INIT(p_comp, (void *)lib2d_obj, lib2d_callback_handler); in mm_lib2d_init()
357 rc = IMG_COMP_SET_CB(p_comp, lib2d_event_handler); in mm_lib2d_init()
372 rc = IMG_COMP_SET_PARAM(p_comp, QLIB2D_SOURCE_FORMAT, (void *)&src_format); in mm_lib2d_init()
379 rc = IMG_COMP_SET_PARAM(p_comp, QLIB2D_DESTINATION_FORMAT, in mm_lib2d_init()
387 rc = IMG_COMP_SET_PARAM(p_comp, QIMG_PARAM_MODE, (void *)&comp_mode); in mm_lib2d_init()
395 rc = IMG_COMP_GET_PARAM(p_comp, QIMG_PARAM_MODE, in mm_lib2d_init()
412 rc = IMG_COMP_DEINIT(p_comp); in mm_lib2d_init()
[all …]
/device/google/marlin/camera/mm-image-codec/qomx_core/
Dqomx_core.c160 static int get_free_inst_idx(omx_core_component_t *p_comp) in get_free_inst_idx() argument
165 if (NULL == p_comp->handle[i]) { in get_free_inst_idx()
189 OMX_COMPONENTTYPE *p_comp = NULL; in OMX_GetHandle() local
251 p_comp = (*p_core_comp->create_comp_func)(p_obj); in OMX_GetHandle()
252 if (NULL == p_comp) { in OMX_GetHandle()
258 *handle = p_core_comp->handle[inst_idx] = (OMX_HANDLETYPE)p_comp; in OMX_GetHandle()
265 p_comp->SetCallbacks(p_comp, callBacks, appData); in OMX_GetHandle()
335 OMX_COMPONENTTYPE *p_comp = NULL; in OMX_FreeHandle() local
345 p_comp = (OMX_COMPONENTTYPE *)hComp; in OMX_FreeHandle()
354 rc = p_comp->ComponentDeInit(hComp); in OMX_FreeHandle()
/device/huawei/angler/camera/mm-image-codec/qomx_core/
Dqomx_core.c154 static int get_free_inst_idx(omx_core_component_t *p_comp) in get_free_inst_idx() argument
159 if (NULL == p_comp->handle[i]) { in get_free_inst_idx()
183 OMX_COMPONENTTYPE *p_comp = NULL; in OMX_GetHandle() local
245 p_comp = (*p_core_comp->create_comp_func)(p_obj); in OMX_GetHandle()
246 if (NULL == p_comp) { in OMX_GetHandle()
252 *handle = p_core_comp->handle[inst_idx] = (OMX_HANDLETYPE)p_comp; in OMX_GetHandle()
259 p_comp->SetCallbacks(p_comp, callBacks, appData); in OMX_GetHandle()
329 OMX_COMPONENTTYPE *p_comp = NULL; in OMX_FreeHandle() local
339 p_comp = (OMX_COMPONENTTYPE *)hComp; in OMX_FreeHandle()
348 rc = p_comp->ComponentDeInit(hComp); in OMX_FreeHandle()
/device/lge/bullhead/camera/mm-image-codec/qomx_core/
Dqomx_core.c154 static int get_free_inst_idx(omx_core_component_t *p_comp) in get_free_inst_idx() argument
159 if (NULL == p_comp->handle[i]) { in get_free_inst_idx()
183 OMX_COMPONENTTYPE *p_comp = NULL; in OMX_GetHandle() local
245 p_comp = (*p_core_comp->create_comp_func)(p_obj); in OMX_GetHandle()
246 if (NULL == p_comp) { in OMX_GetHandle()
252 *handle = p_core_comp->handle[inst_idx] = (OMX_HANDLETYPE)p_comp; in OMX_GetHandle()
259 p_comp->SetCallbacks(p_comp, callBacks, appData); in OMX_GetHandle()
329 OMX_COMPONENTTYPE *p_comp = NULL; in OMX_FreeHandle() local
339 p_comp = (OMX_COMPONENTTYPE *)hComp; in OMX_FreeHandle()
348 rc = p_comp->ComponentDeInit(hComp); in OMX_FreeHandle()