Lines Matching refs:job
708 qcamera_hal3_pp_data_t *job = (qcamera_hal3_pp_data_t *)m_ongoingPPQ.dequeue(); in processPPData() local
709 if (job == NULL || ((NULL == job->src_frame) && (NULL == job->fwk_src_frame))) { in processPPData()
713 if (job->jpeg_settings == NULL) { in processPPData()
727 if(frame != job->src_frame) in processPPData()
728 jpeg_job->src_reproc_frame = job->src_frame; in processPPData()
729 if (NULL == job->fwk_src_frame) { in processPPData()
730 jpeg_job->metadata = job->metadata; in processPPData()
732 KPI_ATRACE_ASYNC_END("Camera:Reprocess", job->fwk_src_frame->frameNumber); in processPPData()
734 (metadata_buffer_t *) job->fwk_src_frame->metadata_buffer.buffer; in processPPData()
735 jpeg_job->fwk_src_buffer = job->fwk_src_frame; in processPPData()
737 jpeg_job->src_metadata = job->src_metadata; in processPPData()
738 jpeg_job->jpeg_settings = job->jpeg_settings; in processPPData()
741 free(job); in processPPData()
793 qcamera_hal3_jpeg_data_t * job = NULL; in findJpegJobByJobId() local
800 job = (qcamera_hal3_jpeg_data_t *)m_ongoingJpegQ.dequeue(); in findJpegJobByJobId()
801 return job; in findJpegJobByJobId()
949 void QCamera3PostProcessor::releaseJpegJobData(qcamera_hal3_jpeg_data_t *job) in releaseJpegJobData() argument
954 if (NULL != job) { in releaseJpegJobData()
955 if (NULL != job->src_reproc_frame) { in releaseJpegJobData()
956 free(job->src_reproc_frame); in releaseJpegJobData()
957 job->src_reproc_frame = NULL; in releaseJpegJobData()
960 if (NULL != job->src_frame) { in releaseJpegJobData()
962 rc = m_pReprocChannel->bufDone(job->src_frame); in releaseJpegJobData()
966 free(job->src_frame); in releaseJpegJobData()
967 job->src_frame = NULL; in releaseJpegJobData()
970 if (NULL != job->fwk_src_buffer) { in releaseJpegJobData()
971 free(job->fwk_src_buffer); in releaseJpegJobData()
972 job->fwk_src_buffer = NULL; in releaseJpegJobData()
973 } else if (NULL != job->src_metadata) { in releaseJpegJobData()
974 m_parent->metadataBufDone(job->src_metadata); in releaseJpegJobData()
975 free(job->src_metadata); in releaseJpegJobData()
976 job->src_metadata = NULL; in releaseJpegJobData()
979 if (NULL != job->fwk_frame) { in releaseJpegJobData()
980 free(job->fwk_frame); in releaseJpegJobData()
981 job->fwk_frame = NULL; in releaseJpegJobData()
984 if (NULL != job->pJpegExifObj) { in releaseJpegJobData()
985 delete job->pJpegExifObj; in releaseJpegJobData()
986 job->pJpegExifObj = NULL; in releaseJpegJobData()
989 if (NULL != job->jpeg_settings) { in releaseJpegJobData()
990 free(job->jpeg_settings); in releaseJpegJobData()
991 job->jpeg_settings = NULL; in releaseJpegJobData()