Home
last modified time | relevance | path

Searched refs:clnt_mgr (Results 1 – 10 of 10) sorted by relevance

/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg_inlines.h62 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 …]
Dmm_jpeg.h370 mm_jpeg_client_t clnt_mgr[MAX_JPEG_CLIENT_NUM]; /* client manager */ member
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c1190 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 …]
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c1297 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 …]
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h120 mm_jpeg_client_t clnt_mgr[MAX_JPEG_CLIENT_NUM]; /* client manager */ member
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h155 mm_jpeg_client_t clnt_mgr[MAX_JPEG_CLIENT_NUM]; /* client manager */ member
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h157 mm_jpeg_client_t clnt_mgr[MAX_JPEG_CLIENT_NUM]; /* client manager */ member
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c1896 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()
Dmm_jpegdec.c771 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpegdec_start_decode_job()
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/src/
Dmm_jpeg.c933 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()