• Home
  • Raw
  • Download

Lines Matching refs:job

764     qcamera_hal3_pp_data_t *job = (qcamera_hal3_pp_data_t *)m_ongoingPPQ.dequeue();  in processPPData()  local
765 if (job == NULL || ((NULL == job->src_frame) && (NULL == job->fwk_src_frame))) { in processPPData()
769 if (job->jpeg_settings == NULL) { in processPPData()
783 if(frame != job->src_frame) in processPPData()
784 jpeg_job->src_reproc_frame = job->src_frame; in processPPData()
785 if (NULL == job->fwk_src_frame) { in processPPData()
786 jpeg_job->metadata = job->metadata; in processPPData()
788 ATRACE_ASYNC_END("Camera:Reprocess", job->fwk_src_frame->frameNumber); in processPPData()
790 (metadata_buffer_t *) job->fwk_src_frame->metadata_buffer.buffer; in processPPData()
791 jpeg_job->fwk_src_buffer = job->fwk_src_frame; in processPPData()
793 jpeg_job->src_metadata = job->src_metadata; in processPPData()
794 jpeg_job->jpeg_settings = job->jpeg_settings; in processPPData()
797 free(job); in processPPData()
815 int32_t QCamera3PostProcessor::processJpegJob(qcamera_hal3_jpeg_data_t *job) { in processJpegJob() argument
816 if (job == nullptr) { in processJpegJob()
821 m_inputJpegQ.enqueue((void *)job); in processJpegJob()
870 qcamera_hal3_jpeg_data_t * job = NULL; in findJpegJobByJobId() local
877 job = (qcamera_hal3_jpeg_data_t *)m_ongoingJpegQ.dequeue(); in findJpegJobByJobId()
878 return job; in findJpegJobByJobId()
1026 void QCamera3PostProcessor::releaseJpegJobData(qcamera_hal3_jpeg_data_t *job) in releaseJpegJobData() argument
1031 if (NULL != job) { in releaseJpegJobData()
1032 if (NULL != job->src_reproc_frame) { in releaseJpegJobData()
1033 free(job->src_reproc_frame); in releaseJpegJobData()
1034 job->src_reproc_frame = NULL; in releaseJpegJobData()
1037 if (NULL != job->src_frame) { in releaseJpegJobData()
1038 if (NULL != m_pReprocChannel && !job->hdr_plus_processing) { in releaseJpegJobData()
1039 rc = m_pReprocChannel->bufDone(job->src_frame); in releaseJpegJobData()
1043 free(job->src_frame); in releaseJpegJobData()
1044 job->src_frame = NULL; in releaseJpegJobData()
1047 if (NULL != job->fwk_src_buffer) { in releaseJpegJobData()
1048 free(job->fwk_src_buffer); in releaseJpegJobData()
1049 job->fwk_src_buffer = NULL; in releaseJpegJobData()
1050 } else if (NULL != job->src_metadata) { in releaseJpegJobData()
1051 m_parent->metadataBufDone(job->src_metadata); in releaseJpegJobData()
1052 free(job->src_metadata); in releaseJpegJobData()
1053 job->src_metadata = NULL; in releaseJpegJobData()
1056 if (NULL != job->fwk_frame) { in releaseJpegJobData()
1057 free(job->fwk_frame); in releaseJpegJobData()
1058 job->fwk_frame = NULL; in releaseJpegJobData()
1061 if (NULL != job->pJpegExifObj) { in releaseJpegJobData()
1062 delete job->pJpegExifObj; in releaseJpegJobData()
1063 job->pJpegExifObj = NULL; in releaseJpegJobData()
1066 if (NULL != job->jpeg_settings) { in releaseJpegJobData()
1067 free(job->jpeg_settings); in releaseJpegJobData()
1068 job->jpeg_settings = NULL; in releaseJpegJobData()