Home
last modified time | relevance | path

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

/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg_inlines.h52 int session_idx= GET_SESSION_IDX(job_id); in mm_jpeg_get_session() local
55 client_idx, session_idx); in mm_jpeg_get_session()
56 if ((session_idx >= MM_JPEG_MAX_SESSION) || in mm_jpeg_get_session()
63 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_get_session()
116 int session_idx= GET_SESSION_IDX(job_id); in mm_jpeg_remove_session_idx() local
118 client_idx, session_idx); in mm_jpeg_remove_session_idx()
120 my_obj->clnt_mgr[client_idx].session[session_idx].active = OMX_FALSE; in mm_jpeg_remove_session_idx()
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpegdec.c750 uint8_t session_idx = 0; in mm_jpegdec_start_decode_job() local
759 session_idx = GET_SESSION_IDX(p_jobparams->session_id); in mm_jpegdec_start_decode_job()
762 session_idx, client_idx); in mm_jpegdec_start_decode_job()
764 if ((session_idx >= MM_JPEG_MAX_SESSION) || in mm_jpegdec_start_decode_job()
771 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpegdec_start_decode_job()
831 int session_idx = -1; in mm_jpegdec_create_session() local
849 session_idx = mm_jpeg_get_new_session_idx(my_obj, clnt_idx, &p_session); in mm_jpegdec_create_session()
850 if (session_idx < 0) { in mm_jpegdec_create_session()
851 CDBG_ERROR("%s:%d] invalid session id (%d)", __func__, __LINE__, session_idx); in mm_jpegdec_create_session()
862 *p_session_id = (JOB_ID_MAGICVAL << 24) | (session_idx << 8) | clnt_idx; in mm_jpegdec_create_session()
Dmm_jpeg.c1942 uint8_t session_idx = 0; in mm_jpeg_start_job() local
1952 session_idx = GET_SESSION_IDX(p_jobparams->session_id); in mm_jpeg_start_job()
1955 session_idx, client_idx); in mm_jpeg_start_job()
1957 if ((session_idx >= MM_JPEG_MAX_SESSION) || in mm_jpeg_start_job()
1964 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_start_job()
2114 int session_idx = -1; in mm_jpeg_create_session() local
2194 session_idx = mm_jpeg_get_new_session_idx(my_obj, clnt_idx, &p_session); in mm_jpeg_create_session()
2195 if (session_idx < 0) { in mm_jpeg_create_session()
2196 CDBG_ERROR("%s:%d] invalid session id (%d)", __func__, __LINE__, session_idx); in mm_jpeg_create_session()
2225 uint32_t session_id = (JOB_ID_MAGICVAL << 24) | (session_idx << 8) | clnt_idx; in mm_jpeg_create_session()
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c1219 int session_idx= GET_SESSION_IDX(job_id); in mm_jpeg_remove_session_idx() local
1221 client_idx, session_idx); in mm_jpeg_remove_session_idx()
1223 my_obj->clnt_mgr[client_idx].session[session_idx].active = OMX_FALSE; in mm_jpeg_remove_session_idx()
1244 int session_idx= GET_SESSION_IDX(job_id); in mm_jpeg_get_session() local
1247 client_idx, session_idx); in mm_jpeg_get_session()
1248 if ((session_idx >= MM_JPEG_MAX_SESSION) || in mm_jpeg_get_session()
1255 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_get_session()
1790 uint8_t session_idx = 0; in mm_jpeg_start_job() local
1799 session_idx = GET_SESSION_IDX(p_jobparams->session_id); in mm_jpeg_start_job()
1802 session_idx, client_idx); in mm_jpeg_start_job()
[all …]
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c1326 int session_idx= GET_SESSION_IDX(job_id); in mm_jpeg_remove_session_idx() local
1328 client_idx, session_idx); in mm_jpeg_remove_session_idx()
1330 my_obj->clnt_mgr[client_idx].session[session_idx].active = OMX_FALSE; in mm_jpeg_remove_session_idx()
1351 int session_idx= GET_SESSION_IDX(job_id); in mm_jpeg_get_session() local
1354 client_idx, session_idx); in mm_jpeg_get_session()
1355 if ((session_idx >= MM_JPEG_MAX_SESSION) || in mm_jpeg_get_session()
1362 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_get_session()
1938 uint8_t session_idx = 0; in mm_jpeg_start_job() local
1947 session_idx = GET_SESSION_IDX(p_jobparams->session_id); in mm_jpeg_start_job()
1950 session_idx, client_idx); in mm_jpeg_start_job()
[all …]