Lines Matching refs:job
1429 qcamera_pp_data_t *job = (qcamera_pp_data_t *)m_ongoingPPQ.dequeue(); in processPPData() local
1430 if (NULL == job) { in processPPData()
1435 if (!needSuperBufMatch && (job->src_frame == NULL in processPPData()
1436 || job->src_reproc_frame == NULL) ) { in processPPData()
1443 releaseOngoingPPData(job, this); in processPPData()
1444 free(job); in processPPData()
1488 int8_t mCurReprocCount = job->reprocCount; in processPPData()
1499 int8_t mCurChannelIndex = job->ppChannelIndex; in processPPData()
1502 releaseSuperBuf(job->src_frame); in processPPData()
1503 free(job->src_frame); in processPPData()
1504 job->src_frame = NULL; in processPPData()
1512 qcamera_pp_data_t *pp_request_job = job; in processPPData()
1538 hal_pp_job->src_reproc_frame = job ? job->src_reproc_frame : NULL; in processPPData()
1539 hal_pp_job->src_reproc_bufs = job ? job->src_reproc_bufs : NULL; in processPPData()
1540 hal_pp_job->reproc_frame_release = job ? job->reproc_frame_release : false; in processPPData()
1541 hal_pp_job->offline_reproc_buf = job ? job->offline_reproc_buf : NULL; in processPPData()
1542 hal_pp_job->offline_buffer = job ? job->offline_buffer : false; in processPPData()
1555 jpeg_job->src_reproc_frame = job ? job->src_reproc_frame : NULL; in processPPData()
1556 jpeg_job->src_reproc_bufs = job ? job->src_reproc_bufs : NULL; in processPPData()
1557 jpeg_job->reproc_frame_release = job ? job->reproc_frame_release : false; in processPPData()
1558 jpeg_job->offline_reproc_buf = job ? job->offline_reproc_buf : NULL; in processPPData()
1559 jpeg_job->offline_buffer = job ? job->offline_buffer : false; in processPPData()
1573 for (uint32_t i = 0; job && job->src_reproc_frame && in processPPData()
1574 (i < job->src_reproc_frame->num_bufs); i++) { in processPPData()
1576 if (job->src_reproc_frame->bufs[i]->stream_type == CAM_STREAM_TYPE_METADATA) { in processPPData()
1577 meta_frame = job->src_reproc_frame->bufs[i]; in processPPData()
1652 if (job) { in processPPData()
1653 free(job); in processPPData()
1684 qcamera_jpeg_data_t * job = NULL; in findJpegJobByJobId() local
1691 job = (qcamera_jpeg_data_t *)m_ongoingJpegQ.dequeue(); in findJpegJobByJobId()
1692 return job; in findJpegJobByJobId()
1940 void QCameraPostProcessor::releaseJpegJobData(qcamera_jpeg_data_t *job) in releaseJpegJobData() argument
1943 if (NULL != job) { in releaseJpegJobData()
1944 if (NULL != job->src_reproc_frame) { in releaseJpegJobData()
1945 if (!job->reproc_frame_release) { in releaseJpegJobData()
1946 releaseSuperBuf(job->src_reproc_frame); in releaseJpegJobData()
1948 free(job->src_reproc_frame); in releaseJpegJobData()
1949 job->src_reproc_frame = NULL; in releaseJpegJobData()
1952 if (NULL != job->src_frame) { in releaseJpegJobData()
1953 if (!job->halPPAllocatedBuf) { in releaseJpegJobData()
1954 releaseSuperBuf(job->src_frame); in releaseJpegJobData()
1957 if (job->hal_pp_bufs) { in releaseJpegJobData()
1958 free(job->hal_pp_bufs); in releaseJpegJobData()
1959 job->hal_pp_bufs = NULL; in releaseJpegJobData()
1961 if (job->snapshot_heap) { in releaseJpegJobData()
1962 job->snapshot_heap->deallocate(); in releaseJpegJobData()
1963 delete job->snapshot_heap; in releaseJpegJobData()
1964 job->snapshot_heap = NULL; in releaseJpegJobData()
1966 if (job->metadata_heap) { in releaseJpegJobData()
1967 job->metadata_heap->deallocate(); in releaseJpegJobData()
1968 delete job->metadata_heap; in releaseJpegJobData()
1969 job->metadata_heap = NULL; in releaseJpegJobData()
1972 free(job->src_frame); in releaseJpegJobData()
1973 job->src_frame = NULL; in releaseJpegJobData()
1976 if (NULL != job->pJpegExifObj) { in releaseJpegJobData()
1977 delete job->pJpegExifObj; in releaseJpegJobData()
1978 job->pJpegExifObj = NULL; in releaseJpegJobData()
1981 if (NULL != job->src_reproc_bufs) { in releaseJpegJobData()
1982 delete [] job->src_reproc_bufs; in releaseJpegJobData()
1985 if ((job->offline_reproc_buf != NULL) in releaseJpegJobData()
1986 && (job->offline_buffer)) { in releaseJpegJobData()
1987 free(job->offline_reproc_buf); in releaseJpegJobData()
1988 job->offline_buffer = false; in releaseJpegJobData()
2022 qcamera_jpeg_data_t *job = pme->findJpegJobByJobId(job_data->jobId); in releaseSaveJobData() local
2024 if (NULL != job) { in releaseSaveJobData()
2025 pme->releaseJpegJobData(job); in releaseSaveJobData()
2026 free(job); in releaseSaveJobData()
3687 qcamera_jpeg_data_t * job = (qcamera_jpeg_data_t *) data; in matchJobId() local
3689 return job->jobId == job_id; in matchJobId()