Searched refs:clnt_mgr (Results 1 – 14 of 14) sorted by relevance
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg_inlines.h | 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 …]
|
D | mm_jpeg.h | 379 mm_jpeg_client_t clnt_mgr[MAX_JPEG_CLIENT_NUM]; /* client manager */ member
|
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg_inlines.h | 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 …]
|
D | mm_jpeg.h | 379 mm_jpeg_client_t clnt_mgr[MAX_JPEG_CLIENT_NUM]; /* client manager */ member
|
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg_inlines.h | 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 …]
|
D | mm_jpeg.h | 370 mm_jpeg_client_t clnt_mgr[MAX_JPEG_CLIENT_NUM]; /* client manager */ member
|
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg.h | 120 mm_jpeg_client_t clnt_mgr[MAX_JPEG_CLIENT_NUM]; /* client manager */ member
|
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg.c | 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()
|
D | mm_jpegdec.c | 771 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpegdec_start_decode_job()
|
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg.c | 2020 if (0 == my_obj->clnt_mgr[idx].is_used) { in mm_jpeg_new_client() 2031 my_obj->clnt_mgr[idx].is_used = 1; in mm_jpeg_new_client() 2032 my_obj->clnt_mgr[idx].client_handle = client_hdl; in mm_jpeg_new_client() 2034 pthread_mutex_init(&my_obj->clnt_mgr[idx].lock, NULL); in mm_jpeg_new_client() 2036 memset(&my_obj->clnt_mgr[idx].session[i], 0x0, sizeof(mm_jpeg_job_session_t)); in mm_jpeg_new_client() 2088 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_start_job() 2704 if (OMX_TRUE == my_obj->clnt_mgr[clnt_idx].session[i].active) in mm_jpeg_close() 2706 &my_obj->clnt_mgr[clnt_idx].session[i]); in mm_jpeg_close() 2722 pthread_mutex_destroy(&my_obj->clnt_mgr[clnt_idx].lock); in mm_jpeg_close() 2723 memset(&my_obj->clnt_mgr[clnt_idx], 0, sizeof(mm_jpeg_client_t)); in mm_jpeg_close()
|
D | mm_jpegdec.c | 762 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpegdec_start_decode_job()
|
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg.c | 2020 if (0 == my_obj->clnt_mgr[idx].is_used) { in mm_jpeg_new_client() 2031 my_obj->clnt_mgr[idx].is_used = 1; in mm_jpeg_new_client() 2032 my_obj->clnt_mgr[idx].client_handle = client_hdl; in mm_jpeg_new_client() 2034 pthread_mutex_init(&my_obj->clnt_mgr[idx].lock, NULL); in mm_jpeg_new_client() 2036 memset(&my_obj->clnt_mgr[idx].session[i], 0x0, sizeof(mm_jpeg_job_session_t)); in mm_jpeg_new_client() 2088 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_start_job() 2704 if (OMX_TRUE == my_obj->clnt_mgr[clnt_idx].session[i].active) in mm_jpeg_close() 2706 &my_obj->clnt_mgr[clnt_idx].session[i]); in mm_jpeg_close() 2722 pthread_mutex_destroy(&my_obj->clnt_mgr[clnt_idx].lock); in mm_jpeg_close() 2723 memset(&my_obj->clnt_mgr[clnt_idx], 0, sizeof(mm_jpeg_client_t)); in mm_jpeg_close()
|
D | mm_jpegdec.c | 762 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/ |
D | mm_jpeg.c | 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()
|