Home
last modified time | relevance | path

Searched refs:job_id (Results 1 – 23 of 23) sorted by relevance

/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg_inlines.h48 static inline mm_jpeg_job_session_t *mm_jpeg_get_session(mm_jpeg_obj *my_obj, uint32_t job_id) in mm_jpeg_get_session() argument
51 int client_idx = GET_CLIENT_IDX(job_id); in mm_jpeg_get_session()
52 int session_idx= GET_SESSION_IDX(job_id); in mm_jpeg_get_session()
59 job_id); in mm_jpeg_get_session()
113 static inline void mm_jpeg_remove_session_idx(mm_jpeg_obj *my_obj, uint32_t job_id) in mm_jpeg_remove_session_idx() argument
115 int client_idx = GET_CLIENT_IDX(job_id); in mm_jpeg_remove_session_idx()
116 int session_idx= GET_SESSION_IDX(job_id); in mm_jpeg_remove_session_idx()
Dmm_jpeg.h335 uint32_t job_id; member
341 uint32_t job_id; member
472 mm_jpeg_queue_t* queue, uint32_t job_id);
476 mm_jpeg_queue_t* queue, uint32_t job_id);
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpegdec_interface.c62 static int32_t mm_jpegdec_intf_start_job(mm_jpeg_job_t* job, uint32_t* job_id) in mm_jpegdec_intf_start_job() argument
67 NULL == job_id) { in mm_jpegdec_intf_start_job()
79 rc = mm_jpegdec_start_decode_job(g_jpegdec_obj, job, job_id); in mm_jpegdec_intf_start_job()
168 static int32_t mm_jpegdec_intf_abort_job(uint32_t job_id) in mm_jpegdec_intf_abort_job() argument
172 if (0 == job_id) { in mm_jpegdec_intf_abort_job()
185 rc = mm_jpegdec_abort_job(g_jpegdec_obj, job_id); in mm_jpegdec_intf_abort_job()
Dmm_jpeg_interface.c106 static int32_t mm_jpeg_intf_start_job(mm_jpeg_job_t* job, uint32_t* job_id) in mm_jpeg_intf_start_job() argument
111 NULL == job_id) { in mm_jpeg_intf_start_job()
123 rc = mm_jpeg_start_job(g_jpeg_obj, job, job_id); in mm_jpeg_intf_start_job()
212 static int32_t mm_jpeg_intf_abort_job(uint32_t job_id) in mm_jpeg_intf_abort_job() argument
216 if (0 == job_id) { in mm_jpeg_intf_abort_job()
229 rc = mm_jpeg_abort_job(g_jpeg_obj, job_id); in mm_jpeg_intf_abort_job()
Dmm_jpegdec.c683 p_session = mm_jpeg_get_session(my_obj, job_node->dec_info.job_id); in mm_jpegdec_process_decoding_job()
686 job_node->dec_info.job_id); in mm_jpegdec_process_decoding_job()
699 p_session->jobId = job_node->dec_info.job_id; in mm_jpegdec_process_decoding_job()
747 uint32_t *job_id) in mm_jpegdec_start_decode_job() argument
756 *job_id = 0; in mm_jpegdec_start_decode_job()
791 *job_id = job->decode_job.session_id | in mm_jpegdec_start_decode_job()
796 node->dec_info.job_id = *job_id; in mm_jpegdec_start_decode_job()
1109 p_session = mm_jpeg_get_session(my_obj, node->dec_info.job_id); in mm_jpegdec_abort_job()
1114 node->dec_info.job_id); in mm_jpegdec_abort_job()
Dmm_jpeg.c1518 p_session = mm_jpeg_get_session(my_obj, job_node->enc_info.job_id); in mm_jpeg_process_encoding_job()
1521 job_node->enc_info.job_id); in mm_jpeg_process_encoding_job()
1569 p_session->jobId = job_node->enc_info.job_id; in mm_jpeg_process_encoding_job()
1939 uint32_t *job_id) in mm_jpeg_start_job() argument
1949 *job_id = 0; in mm_jpeg_start_job()
1984 *job_id = job->encode_job.session_id | in mm_jpeg_start_job()
1989 node->enc_info.job_id = *job_id; in mm_jpeg_start_job()
2044 p_session = mm_jpeg_get_session(my_obj, node->enc_info.job_id); in mm_jpeg_abort_job()
2049 node->enc_info.job_id); in mm_jpeg_abort_job()
2745 mm_jpeg_queue_t* queue, uint32_t job_id) in mm_jpeg_queue_remove_job_by_job_id() argument
[all …]
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_interface.c104 static int32_t mm_jpeg_intf_start_job(mm_jpeg_job_t* job, uint32_t* job_id) in mm_jpeg_intf_start_job() argument
109 NULL == job_id) { in mm_jpeg_intf_start_job()
121 rc = mm_jpeg_start_job(g_jpeg_obj, job, job_id); in mm_jpeg_intf_start_job()
210 static int32_t mm_jpeg_intf_abort_job(uint32_t job_id) in mm_jpeg_intf_abort_job() argument
214 if (0 == job_id) { in mm_jpeg_intf_abort_job()
227 rc = mm_jpeg_abort_job(g_jpeg_obj, job_id); in mm_jpeg_intf_abort_job()
Dmm_jpeg.c229 mm_jpeg_queue_t* queue, uint32_t job_id);
233 mm_jpeg_queue_t* queue, uint32_t job_id);
1216 inline void mm_jpeg_remove_session_idx(mm_jpeg_obj *my_obj, uint32_t job_id) in mm_jpeg_remove_session_idx() argument
1218 int client_idx = GET_CLIENT_IDX(job_id); in mm_jpeg_remove_session_idx()
1219 int session_idx= GET_SESSION_IDX(job_id); in mm_jpeg_remove_session_idx()
1240 inline mm_jpeg_job_session_t *mm_jpeg_get_session(mm_jpeg_obj *my_obj, uint32_t job_id) in mm_jpeg_get_session() argument
1243 int client_idx = GET_CLIENT_IDX(job_id); in mm_jpeg_get_session()
1244 int session_idx= GET_SESSION_IDX(job_id); in mm_jpeg_get_session()
1251 job_id); in mm_jpeg_get_session()
1460 p_session = mm_jpeg_get_session(my_obj, job_node->enc_info.job_id); in mm_jpeg_process_encoding_job()
[all …]
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_interface.c104 static int32_t mm_jpeg_intf_start_job(mm_jpeg_job_t* job, uint32_t* job_id) in mm_jpeg_intf_start_job() argument
109 NULL == job_id) { in mm_jpeg_intf_start_job()
121 rc = mm_jpeg_start_job(g_jpeg_obj, job, job_id); in mm_jpeg_intf_start_job()
210 static int32_t mm_jpeg_intf_abort_job(uint32_t job_id) in mm_jpeg_intf_abort_job() argument
214 if (0 == job_id) { in mm_jpeg_intf_abort_job()
227 rc = mm_jpeg_abort_job(g_jpeg_obj, job_id); in mm_jpeg_intf_abort_job()
Dmm_jpeg.c248 mm_jpeg_queue_t* queue, uint32_t job_id);
252 mm_jpeg_queue_t* queue, uint32_t job_id);
1323 inline void mm_jpeg_remove_session_idx(mm_jpeg_obj *my_obj, uint32_t job_id) in mm_jpeg_remove_session_idx() argument
1325 int client_idx = GET_CLIENT_IDX(job_id); in mm_jpeg_remove_session_idx()
1326 int session_idx= GET_SESSION_IDX(job_id); in mm_jpeg_remove_session_idx()
1347 inline mm_jpeg_job_session_t *mm_jpeg_get_session(mm_jpeg_obj *my_obj, uint32_t job_id) in mm_jpeg_get_session() argument
1350 int client_idx = GET_CLIENT_IDX(job_id); in mm_jpeg_get_session()
1351 int session_idx= GET_SESSION_IDX(job_id); in mm_jpeg_get_session()
1358 job_id); in mm_jpeg_get_session()
1607 p_session = mm_jpeg_get_session(my_obj, job_node->enc_info.job_id); in mm_jpeg_process_encoding_job()
[all …]
/device/moto/shamu/camera/QCamera2/stack/common/
Dmm_jpeg_interface.h262 int (*start_job)(mm_jpeg_job_t* job, uint32_t* job_id);
265 int (*abort_job)(uint32_t job_id);
280 int (*start_job)(mm_jpeg_job_t* job, uint32_t* job_id);
283 int (*abort_job)(uint32_t job_id);
/device/asus/flo/camera/QCamera2/stack/common/
Dmm_jpeg_interface.h168 int (*start_job)(mm_jpeg_job_t* job, uint32_t* job_id);
171 int (*abort_job)(uint32_t job_id);
/device/lge/hammerhead/camera/QCamera2/stack/common/
Dmm_jpeg_interface.h183 int (*start_job)(mm_jpeg_job_t* job, uint32_t* job_id);
186 int (*abort_job)(uint32_t job_id);
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c114 uint32_t job_id[MAX_NUM_BUFS]; member
156 for (i = 0; p_obj->job_id[i] && (jobId != p_obj->job_id[i]); i++) in mm_jpeg_encode_callback()
158 if (!p_obj->job_id[i]) { in mm_jpeg_encode_callback()
435 rc = jpeg_obj.ops.start_job(&jpeg_obj.job, &jpeg_obj.job_id[i]); in encode_test()
442 jpeg_obj.job_id[i] = 0; in encode_test()
Dmm_jpegdec_test.c82 uint32_t job_id[5]; member
411 rc = jpeg_obj.ops.start_job(&jpeg_obj.job, &jpeg_obj.job_id[i]); in decode_test()
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/src/
Dmm_jpeg.c68 int32_t mm_jpeg_queue_update_flag(mm_jpeg_queue_t* queue, uint32_t job_id, uint8_t flag);
70 mm_jpeg_job_q_node_t* mm_jpeg_queue_remove_job_by_job_id(mm_jpeg_queue_t* queue, uint32_t job_id);
961 uint32_t job_id = 0; in mm_jpeg_start_job() local
974 job_id = mm_jpeg_util_generate_handler(clnt_idx); in mm_jpeg_start_job()
986 node->entry.jobId = job_id; in mm_jpeg_start_job()
993 *jobId = job_id; in mm_jpeg_start_job()
1355 mm_jpeg_job_q_node_t* mm_jpeg_queue_remove_job_by_job_id(mm_jpeg_queue_t* queue, uint32_t job_id) in mm_jpeg_queue_remove_job_by_job_id() argument
1370 if (data && (data->entry.jobId == job_id)) { in mm_jpeg_queue_remove_job_by_job_id()
1386 int32_t mm_jpeg_queue_update_flag(mm_jpeg_queue_t* queue, uint32_t job_id, uint8_t flag) in mm_jpeg_queue_update_flag() argument
1401 if (data && (data->entry.jobId == job_id)) { in mm_jpeg_queue_update_flag()
[all …]
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c78 uint32_t job_id[5]; member
284 rc = jpeg_obj.ops.start_job(&jpeg_obj.job, &jpeg_obj.job_id[i]); in encode_test()
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c77 uint32_t job_id[5]; member
282 rc = jpeg_obj.ops.start_job(&jpeg_obj.job, &jpeg_obj.job_id[i]); in encode_test()
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h127 uint32_t job_id; member
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h129 uint32_t job_id; member
/device/moto/shamu/camera/QCamera2/HAL/
DQCamera2HWI.h610 int32_t waitDefferedWork(int32_t &job_id);
DQCamera2HWI.cpp6332 int32_t QCamera2HardwareInterface::waitDefferedWork(int32_t &job_id) in waitDefferedWork() argument
6336 if ((MAX_ONGOING_JOBS <= job_id) || (0 > job_id)) { in waitDefferedWork()
6340 while ( mDeffOngoingJobs[job_id] == true ) { in waitDefferedWork()
6344 job_id = MAX_ONGOING_JOBS; in waitDefferedWork()
DQCameraPostProc.cpp2406 uint32_t job_id = *((uint32_t *) match_data); in matchJobId() local
2407 return job->jobId == job_id; in matchJobId()