Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg_inlines.h49 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
52 int client_idx = GET_CLIENT_IDX(job_id); in mm_jpeg_get_session()
53 int session_idx= GET_SESSION_IDX(job_id); in mm_jpeg_get_session()
60 job_id); in mm_jpeg_get_session()
114 static inline void mm_jpeg_remove_session_idx(mm_jpeg_obj *my_obj, uint32_t job_id) in mm_jpeg_remove_session_idx() argument
116 int client_idx = GET_CLIENT_IDX(job_id); in mm_jpeg_remove_session_idx()
117 int session_idx= GET_SESSION_IDX(job_id); in mm_jpeg_remove_session_idx()
Dmm_jpeg.h366 uint32_t job_id; member
372 uint32_t job_id; member
513 mm_jpeg_queue_t* queue, uint32_t job_id);
517 mm_jpeg_queue_t* queue, uint32_t job_id);
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpegdec_interface.c56 static int32_t mm_jpegdec_intf_start_job(mm_jpeg_job_t* job, uint32_t* job_id) in mm_jpegdec_intf_start_job() argument
61 NULL == job_id) { in mm_jpegdec_intf_start_job()
73 rc = mm_jpegdec_start_decode_job(g_jpegdec_obj, job, job_id); in mm_jpegdec_intf_start_job()
162 static int32_t mm_jpegdec_intf_abort_job(uint32_t job_id) in mm_jpegdec_intf_abort_job() argument
166 if (0 == job_id) { in mm_jpegdec_intf_abort_job()
179 rc = mm_jpegdec_abort_job(g_jpegdec_obj, job_id); in mm_jpegdec_intf_abort_job()
Dmm_jpeg_interface.c107 static int32_t mm_jpeg_intf_start_job(mm_jpeg_job_t* job, uint32_t* job_id) in mm_jpeg_intf_start_job() argument
112 NULL == job_id) { in mm_jpeg_intf_start_job()
124 rc = mm_jpeg_start_job(g_jpeg_obj, job, job_id); in mm_jpeg_intf_start_job()
213 static int32_t mm_jpeg_intf_abort_job(uint32_t job_id) in mm_jpeg_intf_abort_job() argument
217 if (0 == job_id) { in mm_jpeg_intf_abort_job()
230 rc = mm_jpeg_abort_job(g_jpeg_obj, job_id); in mm_jpeg_intf_abort_job()
Dmm_jpegdec.c666 p_session = mm_jpeg_get_session(my_obj, job_node->dec_info.job_id); in mm_jpegdec_process_decoding_job()
669 job_node->dec_info.job_id); in mm_jpegdec_process_decoding_job()
682 p_session->jobId = job_node->dec_info.job_id; in mm_jpegdec_process_decoding_job()
730 uint32_t *job_id) in mm_jpegdec_start_decode_job() argument
740 *job_id = 0; in mm_jpegdec_start_decode_job()
775 *job_id = job->decode_job.session_id | in mm_jpegdec_start_decode_job()
780 node->dec_info.job_id = *job_id; in mm_jpegdec_start_decode_job()
1088 p_session = mm_jpeg_get_session(my_obj, node->dec_info.job_id); in mm_jpegdec_abort_job()
1093 node->dec_info.job_id); in mm_jpegdec_abort_job()
Dmm_jpeg.c2024 p_session = mm_jpeg_get_session(my_obj, job_node->enc_info.job_id); in mm_jpeg_process_encoding_job()
2027 job_node->enc_info.job_id); in mm_jpeg_process_encoding_job()
2074 p_session->jobId = job_node->enc_info.job_id; in mm_jpeg_process_encoding_job()
2729 uint32_t *job_id) in mm_jpeg_start_job() argument
2741 *job_id = 0; in mm_jpeg_start_job()
2820 *job_id = job->encode_job.session_id | in mm_jpeg_start_job()
2828 rc = mm_jpeg_lib2d_rotation(p_session, node, job, job_id); in mm_jpeg_start_job()
2851 node->enc_info.job_id = *job_id; in mm_jpeg_start_job()
2862 session_idx, client_idx, *job_id); in mm_jpeg_start_job()
2903 p_session = mm_jpeg_get_session(my_obj, node->enc_info.job_id); in mm_jpeg_abort_job()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/common/
Dmm_jpeg_interface.h374 int (*start_job)(mm_jpeg_job_t* job, uint32_t* job_id);
377 int (*abort_job)(uint32_t job_id);
393 int (*start_job)(mm_jpeg_job_t* job, uint32_t* job_id);
396 int (*abort_job)(uint32_t job_id);
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c127 uint32_t job_id[MAX_NUM_BUFS]; member
173 for (i = 0; p_obj->job_id[i] && (jobId != p_obj->job_id[i]); i++) in mm_jpeg_encode_callback()
175 if (!p_obj->job_id[i]) { in mm_jpeg_encode_callback()
507 rc = jpeg_obj->ops.start_job(&jpeg_obj->job, &jpeg_obj->job_id[i]); in encode_test()
514 jpeg_obj->job_id[i] = 0; in encode_test()
Dmm_jpegdec_test.c91 uint32_t job_id[5]; member
421 rc = jpeg_obj.ops.start_job(&jpeg_obj.job, &jpeg_obj.job_id[i]); in decode_test()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCamera2HWI.h773 int32_t waitDeferredWork(uint32_t &job_id);
775 bool checkDeferredWork(uint32_t &job_id);
776 int32_t getDefJobStatus(uint32_t &job_id);
DQCamera2HWI.cpp11012 int32_t QCamera2HardwareInterface::getDefJobStatus(uint32_t &job_id) in getDefJobStatus() argument
11015 if (mDefOngoingJobs[i].mDefJobId == job_id) { in getDefJobStatus()
11017 LOGE("job_id (%d) was failed", job_id); in getDefJobStatus()
11040 bool QCamera2HardwareInterface::checkDeferredWork(uint32_t &job_id) in checkDeferredWork() argument
11043 if (mDefOngoingJobs[i].mDefJobId == job_id) { in checkDeferredWork()
11062 int32_t QCamera2HardwareInterface::waitDeferredWork(uint32_t &job_id) in waitDeferredWork() argument
11066 if (job_id == 0) { in waitDeferredWork()
11067 LOGD("Invalid job id %d", job_id); in waitDeferredWork()
11071 while (checkDeferredWork(job_id) == true ) { in waitDeferredWork()
11074 return getDefJobStatus(job_id); in waitDeferredWork()
DQCameraPostProc.cpp3688 uint32_t job_id = *((uint32_t *) match_data); in matchJobId() local
3689 return job->jobId == job_id; in matchJobId()