/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg_inlines.h | 49 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()
|
D | mm_jpeg.h | 366 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/ |
D | mm_jpegdec_interface.c | 56 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()
|
D | mm_jpeg_interface.c | 107 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()
|
D | mm_jpegdec.c | 666 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()
|
D | mm_jpeg.c | 2024 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/ |
D | mm_jpeg_interface.h | 374 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/ |
D | mm_jpeg_test.c | 127 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()
|
D | mm_jpegdec_test.c | 91 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/ |
D | QCamera2HWI.h | 773 int32_t waitDeferredWork(uint32_t &job_id); 775 bool checkDeferredWork(uint32_t &job_id); 776 int32_t getDefJobStatus(uint32_t &job_id);
|
D | QCamera2HWI.cpp | 11012 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()
|
D | QCameraPostProc.cpp | 3688 uint32_t job_id = *((uint32_t *) match_data); in matchJobId() local 3689 return job->jobId == job_id; in matchJobId()
|