Home | History | Annotate | Download | only in HAL3

Lines Matching refs:job

242  * DESCRIPTION: function to prepare encoding job information
376 ALOGV("%s: meta queue is not empty, do next job", __func__);
385 ALOGE("%s: No memory for jpeg job", __func__);
419 ALOGI("%s: pp queue is not empty, do next job", __func__);
422 ALOGI("%s: pp queue is empty, not calling do next job", __func__);
487 qcamera_pp_data_t *job = (qcamera_pp_data_t *)m_ongoingPPQ.dequeue();
490 if (job == NULL || job->src_frame == NULL) {
491 ALOGE("%s: Cannot find reprocess job", __func__);
502 ALOGE("%s: No memory for jpeg job", __func__);
508 jpeg_job->src_reproc_frame = job->src_frame;
509 jpeg_job->metadata = job->metadata;
512 // free pp job buf
513 free(job);
527 * DESCRIPTION: find a jpeg job from ongoing Jpeg queue by its job ID
530 * @jobId : job Id of the job
532 * RETURN : ptr to a jpeg job struct. NULL if not found.
534 * NOTE : Currently only one job is sending to mm-jpeg-interface for jpeg
536 * will serve the purpose to find the jpeg job.
540 qcamera_jpeg_data_t * job = NULL;
546 // currely only one jpeg job ongoing, so simply dequeue the head
547 job = (qcamera_jpeg_data_t *)m_ongoingJpegQ.dequeue();
548 return job;
609 * DESCRIPTION: callback function to release jpeg job node
612 * @data : ptr to ongoing jpeg job data
628 * DESCRIPTION: callback function to release ongoing postprocess job node
631 * @data : ptr to onging postprocess job
673 * DESCRIPTION: function to release internal resources in jpeg job struct
676 * @job : ptr to jpeg job struct
681 * future use. Output buf of jpeg job need to be released since
682 * it's allocated for each job. Exif object need to be deleted.
684 void QCamera3PostProcessor::releaseJpegJobData(qcamera_jpeg_data_t *job)
687 if (NULL != job) {
688 if (NULL != job->src_reproc_frame) {
689 free(job->src_reproc_frame);
690 job->src_reproc_frame = NULL;
693 if (NULL != job->src_frame) {
694 free(job->src_frame);
695 job->src_frame = NULL;
698 if (NULL != job->metadata) {
699 free(job->metadata);
700 job->metadata = NULL;
703 if (NULL != job->jpeg_settings) {
704 free(job->jpeg_settings);
705 job->jpeg_settings = NULL;
769 * DESCRIPTION: function to prepare encoding job information and send to
770 * mm-jpeg-interface to do the encoding job
773 * @jpeg_job_data : ptr to a struct saving job related information
904 // Fill in new job
986 // remember job info
1096 ALOGD("%s: Do next job, active is %d", __func__, is_active);
1100 ALOGI("%s: ongoing jpeg queue is empty so doing the jpeg job", __func__);
1101 // no ongoing jpeg job, we are fine to send jpeg encoding job
1106 // add into ongoing jpeg job Q
1129 // add into ongoing PP job Q
1135 // remove from ongoing PP job Q