Lines Matching refs:job
1280 qcamera_pp_data_t *job = (qcamera_pp_data_t *)m_ongoingPPQ.dequeue(); in processPPData() local
1281 if (NULL == job) { in processPPData()
1286 if (!needSuperBufMatch && (job->src_frame == NULL in processPPData()
1287 || job->src_reproc_frame == NULL) ) { in processPPData()
1294 releaseOngoingPPData(job, this); in processPPData()
1295 free(job); in processPPData()
1346 int8_t mCurReprocCount = job->reprocCount; in processPPData()
1347 int8_t mCurChannelIndex = job->ppChannelIndex; in processPPData()
1350 releaseSuperBuf(job->src_frame); in processPPData()
1351 free(job->src_frame); in processPPData()
1352 job->src_frame = NULL; in processPPData()
1360 qcamera_pp_data_t *pp_request_job = job; in processPPData()
1388 jpeg_job->src_reproc_frame = job ? job->src_reproc_frame : NULL; in processPPData()
1389 jpeg_job->src_reproc_bufs = job ? job->src_reproc_bufs : NULL; in processPPData()
1390 jpeg_job->reproc_frame_release = job ? job->reproc_frame_release : false; in processPPData()
1391 jpeg_job->offline_reproc_buf = job ? job->offline_reproc_buf : NULL; in processPPData()
1392 jpeg_job->offline_buffer = job ? job->offline_buffer : false; in processPPData()
1406 for (uint32_t i = 0; job && job->src_reproc_frame && in processPPData()
1407 (i < job->src_reproc_frame->num_bufs); i++) { in processPPData()
1409 if (job->src_reproc_frame->bufs[i]->stream_type == CAM_STREAM_TYPE_METADATA) { in processPPData()
1410 meta_frame = job->src_reproc_frame->bufs[i]; in processPPData()
1441 if (job) { in processPPData()
1442 free(job); in processPPData()
1473 qcamera_jpeg_data_t * job = NULL; in findJpegJobByJobId() local
1480 job = (qcamera_jpeg_data_t *)m_ongoingJpegQ.dequeue(); in findJpegJobByJobId()
1481 return job; in findJpegJobByJobId()
1727 void QCameraPostProcessor::releaseJpegJobData(qcamera_jpeg_data_t *job) in releaseJpegJobData() argument
1730 if (NULL != job) { in releaseJpegJobData()
1731 if (NULL != job->src_reproc_frame) { in releaseJpegJobData()
1732 if (!job->reproc_frame_release) { in releaseJpegJobData()
1733 releaseSuperBuf(job->src_reproc_frame); in releaseJpegJobData()
1735 free(job->src_reproc_frame); in releaseJpegJobData()
1736 job->src_reproc_frame = NULL; in releaseJpegJobData()
1739 if (NULL != job->src_frame) { in releaseJpegJobData()
1740 releaseSuperBuf(job->src_frame); in releaseJpegJobData()
1741 free(job->src_frame); in releaseJpegJobData()
1742 job->src_frame = NULL; in releaseJpegJobData()
1745 if (NULL != job->pJpegExifObj) { in releaseJpegJobData()
1746 delete job->pJpegExifObj; in releaseJpegJobData()
1747 job->pJpegExifObj = NULL; in releaseJpegJobData()
1750 if (NULL != job->src_reproc_bufs) { in releaseJpegJobData()
1751 delete [] job->src_reproc_bufs; in releaseJpegJobData()
1754 if ((job->offline_reproc_buf != NULL) in releaseJpegJobData()
1755 && (job->offline_buffer)) { in releaseJpegJobData()
1756 free(job->offline_reproc_buf); in releaseJpegJobData()
1757 job->offline_buffer = false; in releaseJpegJobData()
1791 qcamera_jpeg_data_t *job = pme->findJpegJobByJobId(job_data->jobId); in releaseSaveJobData() local
1793 if (NULL != job) { in releaseSaveJobData()
1794 pme->releaseJpegJobData(job); in releaseSaveJobData()
1795 free(job); in releaseSaveJobData()
3350 qcamera_jpeg_data_t * job = (qcamera_jpeg_data_t *) data; in matchJobId() local
3352 return job->jobId == job_id; in matchJobId()