Home
last modified time | relevance | path

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

/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg_inlines.h53 int session_idx= GET_SESSION_IDX(job_id); in mm_jpeg_get_session() local
56 client_idx, session_idx); in mm_jpeg_get_session()
57 if ((session_idx >= MM_JPEG_MAX_SESSION) || in mm_jpeg_get_session()
64 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_get_session()
117 int session_idx= GET_SESSION_IDX(job_id); in mm_jpeg_remove_session_idx() local
119 client_idx, session_idx); in mm_jpeg_remove_session_idx()
121 my_obj->clnt_mgr[client_idx].session[session_idx].active = OMX_FALSE; in mm_jpeg_remove_session_idx()
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpegdec.c734 uint8_t session_idx = 0; in mm_jpegdec_start_decode_job() local
743 session_idx = GET_SESSION_IDX(p_jobparams->session_id); in mm_jpegdec_start_decode_job()
746 session_idx, client_idx); in mm_jpegdec_start_decode_job()
748 if ((session_idx >= MM_JPEG_MAX_SESSION) || in mm_jpegdec_start_decode_job()
755 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpegdec_start_decode_job()
816 int session_idx = -1; in mm_jpegdec_create_session() local
834 session_idx = mm_jpeg_get_new_session_idx(my_obj, clnt_idx, &p_session); in mm_jpegdec_create_session()
835 if (session_idx < 0) { in mm_jpegdec_create_session()
836 LOGE("invalid session id (%d)", session_idx); in mm_jpegdec_create_session()
848 ((unsigned)session_idx << 8) | clnt_idx; in mm_jpegdec_create_session()
Dmm_jpeg.c2333 uint8_t session_idx = 0; in mm_jpeg_start_job() local
2350 session_idx = GET_SESSION_IDX(p_jobparams->session_id); in mm_jpeg_start_job()
2353 session_idx, client_idx); in mm_jpeg_start_job()
2355 if ((session_idx >= MM_JPEG_MAX_SESSION) || in mm_jpeg_start_job()
2362 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_start_job()
2418 (int32_t)((uint32_t)session_idx<<16 | ++p_session->job_index)); in mm_jpeg_start_job()
2444 session_idx, client_idx, *job_id); in mm_jpeg_start_job()
2559 int session_idx = -1; in mm_jpeg_create_session() local
2634 session_idx = mm_jpeg_get_new_session_idx(my_obj, clnt_idx, &p_session); in mm_jpeg_create_session()
2635 if (session_idx < 0 || NULL == p_session) { in mm_jpeg_create_session()
[all …]