Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/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/msm8998/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.c2733 uint8_t session_idx = 0; in mm_jpeg_start_job() local
2750 session_idx = GET_SESSION_IDX(p_jobparams->session_id); in mm_jpeg_start_job()
2753 session_idx, client_idx); in mm_jpeg_start_job()
2755 if ((session_idx >= MM_JPEG_MAX_SESSION) || 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()
2977 int session_idx = -1; in mm_jpeg_create_session() local
3053 session_idx = mm_jpeg_get_new_session_idx(my_obj, clnt_idx, &p_session); in mm_jpeg_create_session()
3054 if (session_idx < 0 || NULL == p_session) { in mm_jpeg_create_session()
3055 LOGE("invalid session id (%d)", session_idx); in mm_jpeg_create_session()
[all …]