Searched refs:job (Results 1 - 11 of 11) sorted by relevance

/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
H A Dmm_qcamera_snapshot.c48 CDBG_ERROR("%s: NULL current job frames or not matching job ID (%d, %d)",
54 CDBG_ERROR("%s: job %d, status=%d", __func__, jobId, status);
81 mm_jpeg_job_t job; local
92 memset(&job, 0, sizeof(job));
93 job.job_type = JPEG_JOB_TYPE_ENCODE;
94 job.encode_job.session_id = test_obj->current_jpeg_sess_id;
96 job.encode_job.rotation = 0;
99 job
[all...]
/hardware/qcom/camera/QCamera2/HAL3/
H A DQCamera3PostProc.cpp229 * DESCRIPTION: function to prepare encoding job information
375 ALOGI("%s: meta queue is not empty, do next job", __func__);
378 ALOGI("%s: meta queue is empty, not calling do next job", __func__);
386 ALOGE("%s: No memory for jpeg job", __func__);
424 ALOGV("%s: meta queue is not empty, do next job", __func__);
435 ALOGE("%s: No memory for jpeg job", __func__);
469 ALOGI("%s: pp queue is not empty, do next job", __func__);
472 ALOGI("%s: pp queue is empty, not calling do next job", __func__);
514 qcamera_pp_data_t *job = (qcamera_pp_data_t *)m_ongoingPPQ.dequeue(); local
516 if (job
560 qcamera_jpeg_data_t * job = NULL; local
666 releaseJpegJobData(qcamera_jpeg_data_t *job) argument
[all...]
H A DQCamera3PostProc.h51 uint32_t jobId; // job ID
60 uint32_t jobId; // job ID
69 uint32_t jobId; // job ID (obtained when start_jpeg_job)
112 void releaseJpegJobData(qcamera_jpeg_data_t *job);
149 QCameraQueue m_inputJpegQ; // input jpeg job queue
150 QCameraQueue m_ongoingJpegQ; // ongoing jpeg job queue
151 QCameraQueue m_inputRawQ; // input raw job queue
H A DQCamera3Channel.cpp846 * @status : status of jpeg job
848 * @jobId : jpeg job Id
880 qcamera_jpeg_data_t *job = obj->m_postprocessor.findJpegJobByJobId(jobId); local
882 if ((job == NULL) || (status == JPEG_JOB_STATUS_ERROR)) {
922 // release internal data for jpeg job
923 if (job != NULL) {
924 obj->m_postprocessor.releaseJpegJobData(job);
925 free(job);
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/
H A Dmm_jpeg_test.c79 mm_jpeg_job_t job; member in struct:__anon633
171 mm_jpeg_encode_job_t *p_job_params = &p_obj->job.encode_job;
275 &jpeg_obj.job.encode_job.session_id);
276 if (jpeg_obj.job.encode_job.session_id == 0) {
282 jpeg_obj.job.job_type = JPEG_JOB_TYPE_ENCODE;
283 rc = jpeg_obj.ops.start_job(&jpeg_obj.job, &jpeg_obj.job_id[i]);
298 jpeg_obj.ops.destroy_session(jpeg_obj.job.encode_job.session_id);
/hardware/qcom/camera/QCamera2/HAL/
H A DQCameraPostProc.cpp213 // dataProc Thread need to process "stop" as sync call because abort jpeg job should be a sync call
222 * DESCRIPTION: function to prepare encoding job information
480 ALOGE("%s: No memory for jpeg job", __func__);
528 * NOTE : This event will also trigger DataProc thread to move to next job
529 * processing (i.e., send a new jpeg encoding job to mm-jpeg-interface
530 * if there is any pending job in jpeg input queue)
537 // find job by jobId
538 qcamera_jpeg_data_t *job = findJpegJobByJobId(evt->jobId); local
540 if (job == NULL) {
541 ALOGE("%s: Cannot find jpeg job b
630 qcamera_pp_data_t *job = (qcamera_pp_data_t *)m_ongoingPPQ.dequeue(); local
683 qcamera_jpeg_data_t * job = NULL; local
835 releaseJpegJobData(qcamera_jpeg_data_t *job) argument
[all...]
H A DQCameraPostProc.h44 uint32_t jobId; // job ID
51 uint32_t jobId; // job ID
60 uint32_t jobId; // job ID (obtained when start_jpeg_job)
130 void releaseJpegJobData(qcamera_jpeg_data_t *job);
154 QCameraQueue m_inputJpegQ; // input jpeg job queue
155 QCameraQueue m_ongoingJpegQ; // ongoing jpeg job queue
156 QCameraQueue m_inputRawQ; // input raw job queue
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
H A Dmm_jpeg_interface.c94 * @job: jpeg job object
95 * @jobId: job id
101 * start the jpeg job
104 static int32_t mm_jpeg_intf_start_job(mm_jpeg_job_t* job, uint32_t* job_id) argument
108 if (NULL == job ||
110 CDBG_ERROR("%s:%d] invalid parameters for job or jobId", __func__, __LINE__);
121 rc = mm_jpeg_start_job(g_jpeg_obj, job, job_id);
201 * @jobId: job id
207 * Abort the jpeg job
[all...]
H A Dmm_jpeg.c225 * special queue functions for job queue
252 * @data: job session
313 * @data: job session
363 * @p_session: job session
434 * @p_session: job session
478 * @p_session: job session
522 * @p_session: job session
581 * @p_session: job session
662 * @p_session: job session
784 * @p_session: job sessio
1832 mm_jpeg_start_job(mm_jpeg_obj *my_obj, mm_jpeg_job_t *job, uint32_t *job_id) argument
[all...]
/hardware/qcom/camera/QCamera2/stack/common/
H A Dmm_jpeg_interface.h179 /* config a job -- async call */
180 int (*start_job)(mm_jpeg_job_t* job, uint32_t* job_id);
182 /* abort a job -- sync call */
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/inc/
H A Dmm_jpeg.h59 MM_JPEG_CMD_TYPE_JOB, /* job cmd */
77 uint32_t jobId; /* job ID */
80 mm_jpeg_encode_job_t encode_job; /* job description */
84 jpeg_job_status_t job_status; /* job status */
114 /* this flag represents whether the job is active */
120 /* job history count to generate unique id */
143 pthread_mutex_t lock; /* job lock */
147 pthread_t pid; /* job cmd thread ID */
148 cam_semaphore_t job_sem; /* semaphore for job cmd thread */
149 mm_jpeg_queue_t job_queue; /* queue for job t
[all...]

Completed in 273 milliseconds