Searched refs:client_idx (Results 1 – 9 of 9) sorted by relevance
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg_inlines.h | 51 int client_idx = GET_CLIENT_IDX(job_id); in mm_jpeg_get_session() local 55 client_idx, session_idx); in mm_jpeg_get_session() 57 (client_idx >= MAX_JPEG_CLIENT_NUM)) { in mm_jpeg_get_session() 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() 81 static inline int mm_jpeg_get_new_session_idx(mm_jpeg_obj *my_obj, int client_idx, in mm_jpeg_get_new_session_idx() argument 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() [all …]
|
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg_inlines.h | 51 int client_idx = GET_CLIENT_IDX(job_id); in mm_jpeg_get_session() local 55 client_idx, session_idx); in mm_jpeg_get_session() 57 (client_idx >= MAX_JPEG_CLIENT_NUM)) { in mm_jpeg_get_session() 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() 81 static inline int mm_jpeg_get_new_session_idx(mm_jpeg_obj *my_obj, int client_idx, in mm_jpeg_get_new_session_idx() argument 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() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg_inlines.h | 51 int client_idx = GET_CLIENT_IDX(job_id); in mm_jpeg_get_session() local 55 client_idx, session_idx); in mm_jpeg_get_session() 57 (client_idx >= MAX_JPEG_CLIENT_NUM)) { in mm_jpeg_get_session() 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() 81 static inline int mm_jpeg_get_new_session_idx(mm_jpeg_obj *my_obj, int client_idx, in mm_jpeg_get_new_session_idx() argument 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() [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpegdec.c | 742 uint8_t client_idx = 0; in mm_jpegdec_start_decode_job() local 751 client_idx = GET_CLIENT_IDX(p_jobparams->session_id); in mm_jpegdec_start_decode_job() 753 session_idx, client_idx); in mm_jpegdec_start_decode_job() 756 (client_idx >= MAX_JPEG_CLIENT_NUM)) { in mm_jpegdec_start_decode_job() 762 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpegdec_start_decode_job()
|
D | mm_jpeg.c | 2068 uint8_t client_idx = 0; in mm_jpeg_start_job() local 2077 client_idx = GET_CLIENT_IDX(p_jobparams->session_id); in mm_jpeg_start_job() 2079 session_idx, client_idx); in mm_jpeg_start_job() 2082 (client_idx >= MAX_JPEG_CLIENT_NUM)) { in mm_jpeg_start_job() 2088 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_start_job()
|
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpegdec.c | 751 uint8_t client_idx = 0; in mm_jpegdec_start_decode_job() local 760 client_idx = GET_CLIENT_IDX(p_jobparams->session_id); in mm_jpegdec_start_decode_job() 762 session_idx, client_idx); in mm_jpegdec_start_decode_job() 765 (client_idx >= MAX_JPEG_CLIENT_NUM)) { in mm_jpegdec_start_decode_job() 771 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpegdec_start_decode_job()
|
D | mm_jpeg.c | 1943 uint8_t client_idx = 0; in mm_jpeg_start_job() local 1953 client_idx = GET_CLIENT_IDX(p_jobparams->session_id); in mm_jpeg_start_job() 1955 session_idx, client_idx); in mm_jpeg_start_job() 1958 (client_idx >= MAX_JPEG_CLIENT_NUM)) { in mm_jpeg_start_job() 1964 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_start_job()
|
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpegdec.c | 742 uint8_t client_idx = 0; in mm_jpegdec_start_decode_job() local 751 client_idx = GET_CLIENT_IDX(p_jobparams->session_id); in mm_jpegdec_start_decode_job() 753 session_idx, client_idx); in mm_jpegdec_start_decode_job() 756 (client_idx >= MAX_JPEG_CLIENT_NUM)) { in mm_jpegdec_start_decode_job() 762 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpegdec_start_decode_job()
|
D | mm_jpeg.c | 2068 uint8_t client_idx = 0; in mm_jpeg_start_job() local 2077 client_idx = GET_CLIENT_IDX(p_jobparams->session_id); in mm_jpeg_start_job() 2079 session_idx, client_idx); in mm_jpeg_start_job() 2082 (client_idx >= MAX_JPEG_CLIENT_NUM)) { in mm_jpeg_start_job() 2088 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_start_job()
|