Home
last modified time | relevance | path

Searched refs:client_idx (Results 1 – 3 of 3) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg_inlines.h52 int client_idx = GET_CLIENT_IDX(job_id); in mm_jpeg_get_session() local
56 client_idx, session_idx); in mm_jpeg_get_session()
58 (client_idx >= MAX_JPEG_CLIENT_NUM)) { in mm_jpeg_get_session()
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()
82 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
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()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpegdec.c735 uint8_t client_idx = 0; in mm_jpegdec_start_decode_job() local
744 client_idx = GET_CLIENT_IDX(p_jobparams->session_id); in mm_jpegdec_start_decode_job()
746 session_idx, client_idx); in mm_jpegdec_start_decode_job()
749 (client_idx >= MAX_JPEG_CLIENT_NUM)) { in mm_jpegdec_start_decode_job()
755 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpegdec_start_decode_job()
Dmm_jpeg.c2734 uint8_t client_idx = 0; in mm_jpeg_start_job() local
2751 client_idx = GET_CLIENT_IDX(p_jobparams->session_id); in mm_jpeg_start_job()
2753 session_idx, client_idx); in mm_jpeg_start_job()
2756 (client_idx >= MAX_JPEG_CLIENT_NUM)) { in mm_jpeg_start_job()
2762 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_start_job()
2862 session_idx, client_idx, *job_id); in mm_jpeg_start_job()