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 …]
385 mm_jpeg_client_t clnt_mgr[MAX_JPEG_CLIENT_NUM]; /* client manager */ member
2286 if (0 == my_obj->clnt_mgr[idx].is_used) { in mm_jpeg_new_client()2297 my_obj->clnt_mgr[idx].is_used = 1; in mm_jpeg_new_client()2298 my_obj->clnt_mgr[idx].client_handle = client_hdl; in mm_jpeg_new_client()2300 pthread_mutex_init(&my_obj->clnt_mgr[idx].lock, NULL); in mm_jpeg_new_client()2302 memset(&my_obj->clnt_mgr[idx].session[i], 0x0, sizeof(mm_jpeg_job_session_t)); in mm_jpeg_new_client()2362 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_start_job()3014 if (OMX_TRUE == my_obj->clnt_mgr[clnt_idx].session[i].active) in mm_jpeg_close()3016 &my_obj->clnt_mgr[clnt_idx].session[i]); in mm_jpeg_close()3029 pthread_mutex_destroy(&my_obj->clnt_mgr[clnt_idx].lock); in mm_jpeg_close()3030 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()