Home
last modified time | relevance | path

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

/device/lge/bullhead/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/huawei/angler/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/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/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpegdec.c741 uint8_t session_idx = 0; in mm_jpegdec_start_decode_job() local
750 session_idx = GET_SESSION_IDX(p_jobparams->session_id); in mm_jpegdec_start_decode_job()
753 session_idx, client_idx); in mm_jpegdec_start_decode_job()
755 if ((session_idx >= MM_JPEG_MAX_SESSION) || in mm_jpegdec_start_decode_job()
762 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpegdec_start_decode_job()
823 int session_idx = -1; in mm_jpegdec_create_session() local
841 session_idx = mm_jpeg_get_new_session_idx(my_obj, clnt_idx, &p_session); in mm_jpegdec_create_session()
842 if (session_idx < 0) { in mm_jpegdec_create_session()
843 CDBG_ERROR("%s:%d] invalid session id (%d)", __func__, __LINE__, session_idx); in mm_jpegdec_create_session()
855 ((unsigned)session_idx << 8) | clnt_idx; in mm_jpegdec_create_session()
Dmm_jpeg.c2067 uint8_t session_idx = 0; in mm_jpeg_start_job() local
2076 session_idx = GET_SESSION_IDX(p_jobparams->session_id); in mm_jpeg_start_job()
2079 session_idx, client_idx); in mm_jpeg_start_job()
2081 if ((session_idx >= MM_JPEG_MAX_SESSION) || in mm_jpeg_start_job()
2088 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_start_job()
2109 (int32_t)((uint32_t)session_idx<<16 | ++p_session->job_index)); in mm_jpeg_start_job()
2250 int session_idx = -1; in mm_jpeg_create_session() local
2330 session_idx = mm_jpeg_get_new_session_idx(my_obj, clnt_idx, &p_session); in mm_jpeg_create_session()
2331 if (session_idx < 0 || NULL == p_session) { in mm_jpeg_create_session()
2332 CDBG_ERROR("%s:%d] invalid session id (%d)", __func__, __LINE__, session_idx); in mm_jpeg_create_session()
[all …]
/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/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpegdec.c741 uint8_t session_idx = 0; in mm_jpegdec_start_decode_job() local
750 session_idx = GET_SESSION_IDX(p_jobparams->session_id); in mm_jpegdec_start_decode_job()
753 session_idx, client_idx); in mm_jpegdec_start_decode_job()
755 if ((session_idx >= MM_JPEG_MAX_SESSION) || in mm_jpegdec_start_decode_job()
762 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpegdec_start_decode_job()
823 int session_idx = -1; in mm_jpegdec_create_session() local
841 session_idx = mm_jpeg_get_new_session_idx(my_obj, clnt_idx, &p_session); in mm_jpegdec_create_session()
842 if (session_idx < 0) { in mm_jpegdec_create_session()
843 CDBG_ERROR("%s:%d] invalid session id (%d)", __func__, __LINE__, session_idx); in mm_jpegdec_create_session()
855 ((unsigned)session_idx << 8) | clnt_idx; in mm_jpegdec_create_session()
Dmm_jpeg.c2067 uint8_t session_idx = 0; in mm_jpeg_start_job() local
2076 session_idx = GET_SESSION_IDX(p_jobparams->session_id); in mm_jpeg_start_job()
2079 session_idx, client_idx); in mm_jpeg_start_job()
2081 if ((session_idx >= MM_JPEG_MAX_SESSION) || in mm_jpeg_start_job()
2088 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_start_job()
2109 (int32_t)((uint32_t)session_idx<<16 | ++p_session->job_index)); in mm_jpeg_start_job()
2250 int session_idx = -1; in mm_jpeg_create_session() local
2330 session_idx = mm_jpeg_get_new_session_idx(my_obj, clnt_idx, &p_session); in mm_jpeg_create_session()
2331 if (session_idx < 0 || NULL == p_session) { in mm_jpeg_create_session()
2332 CDBG_ERROR("%s:%d] invalid session id (%d)", __func__, __LINE__, session_idx); in mm_jpeg_create_session()
[all …]