Searched refs:clnt_mgr (Results 1 – 10 of 10) sorted by relevance
62 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_session()63 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_get_session()64 pthread_mutex_unlock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_session()87 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_new_session_idx()88 if (!my_obj->clnt_mgr[client_idx].session[i].active) { in mm_jpeg_get_new_session_idx()89 *pp_session = &my_obj->clnt_mgr[client_idx].session[i]; in mm_jpeg_get_new_session_idx()90 my_obj->clnt_mgr[client_idx].session[i].active = OMX_TRUE; in mm_jpeg_get_new_session_idx()92 pthread_mutex_unlock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_new_session_idx()95 pthread_mutex_unlock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_new_session_idx()119 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_remove_session_idx()[all …]
370 mm_jpeg_client_t clnt_mgr[MAX_JPEG_CLIENT_NUM]; /* client manager */ member
1190 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_new_session_idx()1191 if (!my_obj->clnt_mgr[client_idx].session[i].active) { in mm_jpeg_get_new_session_idx()1192 *pp_session = &my_obj->clnt_mgr[client_idx].session[i]; in mm_jpeg_get_new_session_idx()1193 my_obj->clnt_mgr[client_idx].session[i].active = OMX_TRUE; in mm_jpeg_get_new_session_idx()1195 pthread_mutex_unlock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_new_session_idx()1198 pthread_mutex_unlock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_new_session_idx()1222 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_remove_session_idx()1223 my_obj->clnt_mgr[client_idx].session[session_idx].active = OMX_FALSE; in mm_jpeg_remove_session_idx()1224 pthread_mutex_unlock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_remove_session_idx()1254 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_session()[all …]
1297 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_new_session_idx()1298 if (!my_obj->clnt_mgr[client_idx].session[i].active) { in mm_jpeg_get_new_session_idx()1299 *pp_session = &my_obj->clnt_mgr[client_idx].session[i]; in mm_jpeg_get_new_session_idx()1300 my_obj->clnt_mgr[client_idx].session[i].active = OMX_TRUE; in mm_jpeg_get_new_session_idx()1302 pthread_mutex_unlock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_new_session_idx()1305 pthread_mutex_unlock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_new_session_idx()1329 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_remove_session_idx()1330 my_obj->clnt_mgr[client_idx].session[session_idx].active = OMX_FALSE; in mm_jpeg_remove_session_idx()1331 pthread_mutex_unlock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_remove_session_idx()1361 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_session()[all …]
120 mm_jpeg_client_t clnt_mgr[MAX_JPEG_CLIENT_NUM]; /* client manager */ member
155 mm_jpeg_client_t clnt_mgr[MAX_JPEG_CLIENT_NUM]; /* client manager */ member
157 mm_jpeg_client_t clnt_mgr[MAX_JPEG_CLIENT_NUM]; /* client manager */ member
1896 if (0 == my_obj->clnt_mgr[idx].is_used) { in mm_jpeg_new_client()1907 my_obj->clnt_mgr[idx].is_used = 1; in mm_jpeg_new_client()1908 my_obj->clnt_mgr[idx].client_handle = client_hdl; in mm_jpeg_new_client()1910 pthread_mutex_init(&my_obj->clnt_mgr[idx].lock, NULL); in mm_jpeg_new_client()1912 memset(&my_obj->clnt_mgr[idx].session[i], 0x0, sizeof(mm_jpeg_job_session_t)); in mm_jpeg_new_client()1964 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_start_job()2534 if (OMX_TRUE == my_obj->clnt_mgr[clnt_idx].session[i].active) in mm_jpeg_close()2536 &my_obj->clnt_mgr[clnt_idx].session[i]); in mm_jpeg_close()2552 pthread_mutex_destroy(&my_obj->clnt_mgr[clnt_idx].lock); in mm_jpeg_close()2553 memset(&my_obj->clnt_mgr[clnt_idx], 0, sizeof(mm_jpeg_client_t)); in mm_jpeg_close()
771 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpegdec_start_decode_job()
933 if (0 == my_obj->clnt_mgr[idx].is_used) { in mm_jpeg_new_client()944 my_obj->clnt_mgr[idx].is_used = 1; in mm_jpeg_new_client()945 my_obj->clnt_mgr[idx].client_handle = client_hdl; in mm_jpeg_new_client()1114 memset(&my_obj->clnt_mgr[clnt_idx], 0, sizeof(mm_jpeg_client_t)); in mm_jpeg_close()