Searched refs:clnt_mgr (Results 1 – 4 of 4) sorted by relevance
63 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_session()64 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_get_session()65 pthread_mutex_unlock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_session()88 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_new_session_idx()89 if (!my_obj->clnt_mgr[client_idx].session[i].active) { in mm_jpeg_get_new_session_idx()90 *pp_session = &my_obj->clnt_mgr[client_idx].session[i]; in mm_jpeg_get_new_session_idx()91 my_obj->clnt_mgr[client_idx].session[i].active = OMX_TRUE; in mm_jpeg_get_new_session_idx()93 pthread_mutex_unlock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_new_session_idx()96 pthread_mutex_unlock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_new_session_idx()120 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_remove_session_idx()[all …]
401 mm_jpeg_client_t clnt_mgr[MAX_JPEG_CLIENT_NUM]; /* client manager */ member
2478 if (0 == my_obj->clnt_mgr[idx].is_used) { in mm_jpeg_new_client()2489 my_obj->clnt_mgr[idx].is_used = 1; in mm_jpeg_new_client()2490 my_obj->clnt_mgr[idx].client_handle = client_hdl; in mm_jpeg_new_client()2492 pthread_mutex_init(&my_obj->clnt_mgr[idx].lock, NULL); in mm_jpeg_new_client()2494 memset(&my_obj->clnt_mgr[idx].session[i], 0x0, sizeof(mm_jpeg_job_session_t)); in mm_jpeg_new_client()2762 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_start_job()3506 if (OMX_TRUE == my_obj->clnt_mgr[clnt_idx].session[i].active) in mm_jpeg_close()3508 &my_obj->clnt_mgr[clnt_idx].session[i]); in mm_jpeg_close()3521 pthread_mutex_destroy(&my_obj->clnt_mgr[clnt_idx].lock); in mm_jpeg_close()3522 memset(&my_obj->clnt_mgr[clnt_idx], 0, sizeof(mm_jpeg_client_t)); in mm_jpeg_close()
755 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpegdec_start_decode_job()