Lines Matching refs:jpeg_job
280 qcamera_hal3_jpeg_data_t *jpeg_job = in flush() local
282 while (jpeg_job != NULL) { in flush()
283 rc = mJpegHandle.abort_job(jpeg_job->jobId); in flush()
284 releaseJpegJobData(jpeg_job); in flush()
285 free(jpeg_job); in flush()
287 jpeg_job = (qcamera_hal3_jpeg_data_t *)m_ongoingJpegQ.dequeue(); in flush()
675 qcamera_hal3_jpeg_data_t *jpeg_job = in processData() local
677 if (jpeg_job == NULL) { in processData()
682 memset(jpeg_job, 0, sizeof(qcamera_hal3_jpeg_data_t)); in processData()
683 jpeg_job->fwk_frame = frame; in processData()
684 jpeg_job->jpeg_settings = jpeg_settings; in processData()
685 jpeg_job->metadata = in processData()
689 m_inputJpegQ.enqueue((void *)jpeg_job); in processData()
774 qcamera_hal3_jpeg_data_t *jpeg_job = in processPPData() local
776 if (jpeg_job == NULL) { in processPPData()
781 memset(jpeg_job, 0, sizeof(qcamera_hal3_jpeg_data_t)); in processPPData()
782 jpeg_job->src_frame = frame; in processPPData()
784 jpeg_job->src_reproc_frame = job->src_frame; in processPPData()
786 jpeg_job->metadata = job->metadata; in processPPData()
789 jpeg_job->metadata = 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()
799 return processJpegJob(jpeg_job); in processPPData()
2074 qcamera_hal3_jpeg_data_t *jpeg_job = in dataProcessRoutine() local
2076 while (jpeg_job != NULL) { in dataProcessRoutine()
2077 pme->mJpegHandle.abort_job(jpeg_job->jobId); in dataProcessRoutine()
2079 pme->releaseJpegJobData(jpeg_job); in dataProcessRoutine()
2080 free(jpeg_job); in dataProcessRoutine()
2082 jpeg_job = (qcamera_hal3_jpeg_data_t *)pme->m_ongoingJpegQ.dequeue(); in dataProcessRoutine()
2124 qcamera_hal3_jpeg_data_t *jpeg_job = in dataProcessRoutine() local
2127 if (NULL != jpeg_job) { in dataProcessRoutine()
2129 pme->m_ongoingJpegQ.enqueue((void *)jpeg_job); in dataProcessRoutine()
2131 if (jpeg_job->fwk_frame) { in dataProcessRoutine()
2132 ret = pme->encodeFWKData(jpeg_job, needNewSess); in dataProcessRoutine()
2134 ret = pme->encodeData(jpeg_job, needNewSess); in dataProcessRoutine()
2140 pme->releaseJpegJobData(jpeg_job); in dataProcessRoutine()
2141 free(jpeg_job); in dataProcessRoutine()
2279 qcamera_hal3_jpeg_data_t *jpeg_job = in dataProcessRoutine() local
2281 if (NULL != jpeg_job) { in dataProcessRoutine()
2282 free(jpeg_job); in dataProcessRoutine()