Home
last modified time | relevance | path

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

/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c81 mm_jpeg_job_t job; in encodeData() local
92 memset(&job, 0, sizeof(job)); in encodeData()
93 job.job_type = JPEG_JOB_TYPE_ENCODE; in encodeData()
94 job.encode_job.session_id = test_obj->current_jpeg_sess_id; in encodeData()
96 job.encode_job.rotation = 0; in encodeData()
99 job.encode_job.rotation = 90; in encodeData()
103 job.encode_job.main_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
104 job.encode_job.main_dim.dst_dim = m_stream->s_config.stream_info->dim; in encodeData()
105 job.encode_job.src_index = 0; in encodeData()
107 job.encode_job.thumb_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
[all …]
/device/lge/mako/camera/QCamera/stack/mm-jpeg-interface/src/
Dmm_jpeg.c254 int32_t mm_jpeg_omx_config_user_preference(mm_jpeg_obj* my_obj, mm_jpeg_encode_job* job) in mm_jpeg_omx_config_user_preference() argument
262 …map_jpeg_format(job->encode_parm.buf_info.src_imgs.src_img[JPEG_SRC_IMAGE_TYPE_MAIN].color_format); in mm_jpeg_omx_config_user_preference()
263 if (job->encode_parm.buf_info.src_imgs.src_img_num > 1) { in mm_jpeg_omx_config_user_preference()
265 …map_jpeg_format(job->encode_parm.buf_info.src_imgs.src_img[JPEG_SRC_IMAGE_TYPE_THUMB].color_format… in mm_jpeg_omx_config_user_preference()
276 int32_t mm_jpeg_omx_config_thumbnail(mm_jpeg_obj* my_obj, mm_jpeg_encode_job* job) in mm_jpeg_omx_config_thumbnail() argument
284 &(job->encode_parm.buf_info.src_imgs.src_img[JPEG_SRC_IMAGE_TYPE_THUMB]); in mm_jpeg_omx_config_thumbnail()
382 int32_t mm_jpeg_omx_config_main(mm_jpeg_obj* my_obj, mm_jpeg_encode_job* job) in mm_jpeg_omx_config_main() argument
386 &(job->encode_parm.buf_info.src_imgs.src_img[JPEG_SRC_IMAGE_TYPE_MAIN]); in mm_jpeg_omx_config_main()
420 int32_t mm_jpeg_omx_config_common(mm_jpeg_obj* my_obj, mm_jpeg_encode_job* job) in mm_jpeg_omx_config_common() argument
429 rc = mm_jpeg_omx_config_user_preference(my_obj, job); in mm_jpeg_omx_config_common()
[all …]
Dmm_jpeg_interface.c68 static int32_t mm_jpeg_intf_start_job(uint32_t client_hdl, mm_jpeg_job* job, uint32_t* jobId) in mm_jpeg_intf_start_job() argument
73 NULL == job || in mm_jpeg_intf_start_job()
87 rc = mm_jpeg_start_job(g_jpeg_obj, client_hdl, job, jobId); in mm_jpeg_intf_start_job()
/device/asus/flo/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp509 qcamera_pp_data_t *job = (qcamera_pp_data_t *)m_ongoingPPQ.dequeue(); in processPPData() local
511 if (job == NULL || job->src_frame == NULL) { in processPPData()
525 jpeg_job->src_reproc_frame = job->src_frame; in processPPData()
528 free(job); in processPPData()
555 qcamera_jpeg_data_t * job = NULL; in findJpegJobByJobId() local
562 job = (qcamera_jpeg_data_t *)m_ongoingJpegQ.dequeue(); in findJpegJobByJobId()
563 return job; in findJpegJobByJobId()
661 void QCamera3PostProcessor::releaseJpegJobData(qcamera_jpeg_data_t *job) in releaseJpegJobData() argument
664 if (NULL != job) { in releaseJpegJobData()
665 if (NULL != job->src_reproc_frame) { in releaseJpegJobData()
[all …]
DQCamera3PostProc.h111 void releaseJpegJobData(qcamera_jpeg_data_t *job);
DQCamera3Channel.cpp851 qcamera_jpeg_data_t *job = obj->m_postprocessor.findJpegJobByJobId(jobId); in jpegEvtHandle() local
853 if ((job == NULL) || (status == JPEG_JOB_STATUS_ERROR)) { in jpegEvtHandle()
894 if (job != NULL) { in jpegEvtHandle()
895 obj->m_postprocessor.releaseJpegJobData(job); in jpegEvtHandle()
896 free(job); in jpegEvtHandle()
/device/asus/flo/camera/QCamera2/HAL/
DQCameraPostProc.cpp538 qcamera_jpeg_data_t *job = findJpegJobByJobId(evt->jobId); in processJpegEvt() local
540 if (job == NULL) { in processJpegEvt()
602 if (job != NULL) { in processJpegEvt()
603 releaseJpegJobData(job); in processJpegEvt()
604 free(job); in processJpegEvt()
630 qcamera_pp_data_t *job = (qcamera_pp_data_t *)m_ongoingPPQ.dequeue(); in processPPData() local
632 if (job == NULL || job->src_frame == NULL) { in processPPData()
638 releaseSuperBuf(job->src_frame); in processPPData()
639 free(job->src_frame); in processPPData()
640 free(job); in processPPData()
[all …]
DQCameraPostProc.h130 void releaseJpegJobData(qcamera_jpeg_data_t *job);
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c79 mm_jpeg_job_t job; member
171 mm_jpeg_encode_job_t *p_job_params = &p_obj->job.encode_job; in encode_init()
275 &jpeg_obj.job.encode_job.session_id); in encode_test()
276 if (jpeg_obj.job.encode_job.session_id == 0) { in encode_test()
282 jpeg_obj.job.job_type = JPEG_JOB_TYPE_ENCODE; in encode_test()
283 rc = jpeg_obj.ops.start_job(&jpeg_obj.job, &jpeg_obj.job_id[i]); in encode_test()
298 jpeg_obj.ops.destroy_session(jpeg_obj.job.encode_job.session_id); in encode_test()
/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
108 if (NULL == job || in mm_jpeg_intf_start_job()
121 rc = mm_jpeg_start_job(g_jpeg_obj, job, job_id); in mm_jpeg_intf_start_job()
Dmm_jpeg.c1786 mm_jpeg_job_t *job, in mm_jpeg_start_job() argument
1794 mm_jpeg_encode_job_t *p_jobparams = &job->encode_job; in mm_jpeg_start_job()
1807 job->encode_job.session_id); in mm_jpeg_start_job()
1814 job->encode_job.session_id); in mm_jpeg_start_job()
1831 *job_id = job->encode_job.session_id | in mm_jpeg_start_job()
1835 node->enc_info.encode_job = job->encode_job; in mm_jpeg_start_job()
/device/lge/mako/camera/QCamera/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h73 mm_jpeg_job job; /* job description */ member
143 mm_jpeg_job* job,
Dmm_jpeg_interface.h192 int32_t (* start_job) (uint32_t client_hdl, mm_jpeg_job* job, uint32_t* jobId);
/device/google/accessory/demokit/hardware/eng/shield/
Dashield_excellon.cam3 Description[en]="<b>Generates Excellon Drill Data </b><p>\nThis CAM job can be used to generate dat…
Dashield_gerb274x.cam3 Description[en]="<b>Generates Extended Gerber Format</b><p>\nThis CAM job consists of five sections…
/device/asus/flo/camera/QCamera2/stack/common/
Dmm_jpeg_interface.h168 int (*start_job)(mm_jpeg_job_t* job, uint32_t* job_id);
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h167 mm_jpeg_job_t* job,