Home
last modified time | relevance | path

Searched refs:job (Results 1 – 15 of 15) sorted by relevance

/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c85 mm_jpeg_job_t job; in encodeData() local
96 memset(&job, 0, sizeof(job)); in encodeData()
97 job.job_type = JPEG_JOB_TYPE_ENCODE; in encodeData()
98 job.encode_job.session_id = test_obj->current_jpeg_sess_id; in encodeData()
102 job.encode_job.rotation = 0; in encodeData()
104 job.encode_job.rotation = 270; in encodeData()
108 job.encode_job.main_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
109 job.encode_job.main_dim.dst_dim = m_stream->s_config.stream_info->dim; in encodeData()
110 job.encode_job.src_index = 0; in encodeData()
112 job.encode_job.thumb_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
[all …]
/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp676 qcamera_hal3_pp_data_t *job = (qcamera_hal3_pp_data_t *)m_ongoingPPQ.dequeue(); in processPPData() local
678 if (job == NULL || ((NULL == job->src_frame) && (NULL == job->fwk_src_frame))) { in processPPData()
682 if (job->jpeg_settings == NULL) { in processPPData()
696 if(frame != job->src_frame) in processPPData()
697 jpeg_job->src_reproc_frame = job->src_frame; in processPPData()
698 if (NULL == job->fwk_src_frame) { in processPPData()
699 jpeg_job->metadata = job->metadata; in processPPData()
702 (metadata_buffer_t *) job->fwk_src_frame->metadata_buffer.buffer; in processPPData()
703 jpeg_job->fwk_src_buffer = job->fwk_src_frame; in processPPData()
705 jpeg_job->src_metadata = job->src_metadata; in processPPData()
[all …]
DQCamera3PostProc.h133 void releaseJpegJobData(qcamera_hal3_jpeg_data_t *job);
134 void releasePPJobData(qcamera_hal3_pp_data_t *job);
DQCamera3Channel.cpp2751 qcamera_hal3_jpeg_data_t *job = obj->m_postprocessor.findJpegJobByJobId(jobId); in jpegEvtHandle() local
2753 if ((job == NULL) || (status == JPEG_JOB_STATUS_ERROR)) { in jpegEvtHandle()
2758 if (NULL != job) { in jpegEvtHandle()
2759 uint32_t bufIdx = (uint32_t)job->jpeg_settings->out_buf_index; in jpegEvtHandle()
2821 if (job->src_reproc_frame) in jpegEvtHandle()
2822 src_frame = job->src_reproc_frame; in jpegEvtHandle()
2824 src_frame = job->src_frame; in jpegEvtHandle()
2853 if ((NULL != job->fwk_frame) || (NULL != job->fwk_src_buffer)) { in jpegEvtHandle()
2880 obj->m_postprocessor.releaseJpegJobData(job); in jpegEvtHandle()
2881 free(job); in jpegEvtHandle()
/hardware/qcom/camera/QCamera2/HAL/
DQCameraPostProc.cpp1074 qcamera_pp_data_t *job = (qcamera_pp_data_t *)m_ongoingPPQ.dequeue(); in processPPData() local
1075 if (NULL == job) { in processPPData()
1080 if (!needSuperBufMatch && (job->src_frame == NULL in processPPData()
1081 || job->src_reproc_frame == NULL) ) { in processPPData()
1088 releaseOngoingPPData(job, this); in processPPData()
1089 free(job); in processPPData()
1103 int8_t mCurReprocCount = job->reprocCount; in processPPData()
1106 releaseSuperBuf(job->src_frame); in processPPData()
1107 free(job->src_frame); in processPPData()
1108 job->src_frame = NULL; in processPPData()
[all …]
DQCameraPostProc.h164 void releaseJpegJobData(qcamera_jpeg_data_t *job);
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c116 mm_jpeg_job_t job; member
250 mm_jpeg_encode_job_t *p_job_params = &p_obj->job.encode_job; in encode_init()
421 &jpeg_obj.job.encode_job.session_id); in encode_test()
422 if (jpeg_obj.job.encode_job.session_id == 0) { in encode_test()
428 jpeg_obj.job.job_type = JPEG_JOB_TYPE_ENCODE; in encode_test()
429 jpeg_obj.job.encode_job.src_index = (int32_t) i; in encode_test()
430 jpeg_obj.job.encode_job.dst_index = (int32_t) i; in encode_test()
431 jpeg_obj.job.encode_job.thumb_index = (uint32_t) i; in encode_test()
434 jpeg_obj.job.encode_job.dst_index = -1; in encode_test()
437 rc = jpeg_obj.ops.start_job(&jpeg_obj.job, &jpeg_obj.job_id[i]); in encode_test()
[all …]
Dmm_jpegdec_test.c85 mm_jpeg_job_t job; member
236 mm_jpeg_decode_job_t *p_job_params = &p_obj->job.decode_job; in decode_init()
398 &jpeg_obj.job.decode_job.session_id); in decode_test()
399 if (jpeg_obj.job.decode_job.session_id == 0) { in decode_test()
405 jpeg_obj.job.job_type = JPEG_JOB_TYPE_DECODE; in decode_test()
413 rc = jpeg_obj.ops.start_job(&jpeg_obj.job, &jpeg_obj.job_id[i]); in decode_test()
432 jpeg_obj.ops.destroy_session(jpeg_obj.job.decode_job.session_id); in decode_test()
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpegdec_interface.c59 static int32_t mm_jpegdec_intf_start_job(mm_jpeg_job_t* job, uint32_t* job_id) in mm_jpegdec_intf_start_job() argument
63 if (NULL == job || in mm_jpegdec_intf_start_job()
76 rc = mm_jpegdec_start_decode_job(g_jpegdec_obj, job, job_id); in mm_jpegdec_intf_start_job()
Dmm_jpeg_interface.c108 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 if (NULL == job || in mm_jpeg_intf_start_job()
125 rc = mm_jpeg_start_job(g_jpeg_obj, job, job_id); in mm_jpeg_intf_start_job()
Dmm_jpegdec.c736 mm_jpeg_job_t *job, in mm_jpegdec_start_decode_job() argument
745 mm_jpeg_decode_job_t *p_jobparams = &job->decode_job; in mm_jpegdec_start_decode_job()
758 job->decode_job.session_id); in mm_jpegdec_start_decode_job()
765 job->decode_job.session_id); in mm_jpegdec_start_decode_job()
782 *job_id = job->decode_job.session_id | in mm_jpegdec_start_decode_job()
786 node->dec_info.decode_job = job->decode_job; in mm_jpegdec_start_decode_job()
Dmm_jpeg.c2062 mm_jpeg_job_t *job, in mm_jpeg_start_job() argument
2071 mm_jpeg_encode_job_t *p_jobparams = &job->encode_job; in mm_jpeg_start_job()
2084 job->encode_job.session_id); in mm_jpeg_start_job()
2091 job->encode_job.session_id); in mm_jpeg_start_job()
2111 *job_id = job->encode_job.session_id | in mm_jpeg_start_job()
2115 node->enc_info.encode_job = job->encode_job; in mm_jpeg_start_job()
/hardware/qcom/camera/QCamera2/stack/common/
Dmm_jpeg_interface.h275 int (*start_job)(mm_jpeg_job_t* job, uint32_t* job_id);
293 int (*start_job)(mm_jpeg_job_t* job, uint32_t* job_id);
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h411 mm_jpeg_job_t* job,
429 mm_jpeg_job_t* job,
/hardware/ti/omap3/dspbridge/libbridge/
DCOPYING93 library does the same job as widely used non-free libraries. In this