Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-lib2d-interface/src/
Dmm_lib2d.c289 img_component_ops_t *p_comp = NULL; in mm_lib2d_init() local
330 p_comp = &lib2d_obj->comp; in mm_lib2d_init()
348 rc = IMG_COMP_CREATE(p_core_ops, p_comp); in mm_lib2d_init()
354 rc = IMG_COMP_INIT(p_comp, (void *)lib2d_obj, lib2d_callback_handler); in mm_lib2d_init()
360 rc = IMG_COMP_SET_CB(p_comp, lib2d_event_handler); in mm_lib2d_init()
375 rc = IMG_COMP_SET_PARAM(p_comp, QLIB2D_SOURCE_FORMAT, (void *)&src_format); in mm_lib2d_init()
382 rc = IMG_COMP_SET_PARAM(p_comp, QLIB2D_DESTINATION_FORMAT, in mm_lib2d_init()
390 rc = IMG_COMP_SET_PARAM(p_comp, QIMG_PARAM_MODE, (void *)&comp_mode); in mm_lib2d_init()
398 rc = IMG_COMP_GET_PARAM(p_comp, QIMG_PARAM_MODE, in mm_lib2d_init()
415 rc = IMG_COMP_DEINIT(p_comp); in mm_lib2d_init()
[all …]
/hardware/qcom/camera/msm8998/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()