Lines Matching refs:pme

785     QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data;  in releasePPInputData()  local
786 if (NULL != pme) { in releasePPInputData()
790 pme->releaseSuperBuf(buf->input); in releasePPInputData()
811 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data; in releaseMetadata() local
812 if (NULL != pme) { in releaseMetadata()
813 pme->m_parent->metadataBufDone((mm_camera_super_buf_t *)data); in releaseMetadata()
830 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data; in releaseJpegData() local
831 if (NULL != pme) { in releaseJpegData()
832 pme->releaseJpegJobData((qcamera_hal3_jpeg_data_t *)data); in releaseJpegData()
849 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data; in releaseOngoingPPData() local
850 if (NULL != pme) { in releaseOngoingPPData()
854 pme->releaseSuperBuf(pp_data->src_frame); in releaseOngoingPPData()
856 pme->releasePPJobData(pp_data); in releaseOngoingPPData()
1608 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)data; in dataProcessRoutine() local
1609 QCameraCmdThread *cmdThread = &pme->m_dataProcTh; in dataProcessRoutine()
1630 pme->m_ongoingPPQ.init(); in dataProcessRoutine()
1631 pme->m_inputJpegQ.init(); in dataProcessRoutine()
1632 pme->m_inputPPQ.init(); in dataProcessRoutine()
1633 pme->m_inputFWKPPQ.init(); in dataProcessRoutine()
1634 pme->m_inputMetaQ.init(); in dataProcessRoutine()
1645 (qcamera_hal3_jpeg_data_t *)pme->m_ongoingJpegQ.dequeue(); in dataProcessRoutine()
1647 pme->mJpegHandle.abort_job(jpeg_job->jobId); in dataProcessRoutine()
1649 pme->releaseJpegJobData(jpeg_job); in dataProcessRoutine()
1652 jpeg_job = (qcamera_hal3_jpeg_data_t *)pme->m_ongoingJpegQ.dequeue(); in dataProcessRoutine()
1656 if ( 0 < pme->mJpegSessionId ) { in dataProcessRoutine()
1657 pme->mJpegHandle.destroy_session(pme->mJpegSessionId); in dataProcessRoutine()
1658 pme->mJpegSessionId = 0; in dataProcessRoutine()
1664 pme->m_ongoingPPQ.flush(); in dataProcessRoutine()
1667 pme->m_inputJpegQ.flush(); in dataProcessRoutine()
1670 pme->m_inputPPQ.flush(); in dataProcessRoutine()
1673 pme->m_inputFWKPPQ.flush(); in dataProcessRoutine()
1675 pme->m_inputMetaQ.flush(); in dataProcessRoutine()
1689 if (pme->m_ongoingJpegQ.isEmpty()) { in dataProcessRoutine()
1693 (qcamera_hal3_jpeg_data_t *)pme->m_inputJpegQ.dequeue(); in dataProcessRoutine()
1697 pme->m_ongoingJpegQ.enqueue((void *)jpeg_job); in dataProcessRoutine()
1700 ret = pme->encodeFWKData(jpeg_job, needNewSess); in dataProcessRoutine()
1702 ret = pme->encodeData(jpeg_job, needNewSess); in dataProcessRoutine()
1706 pme->m_ongoingJpegQ.dequeue(false); in dataProcessRoutine()
1708 pme->releaseJpegJobData(jpeg_job); in dataProcessRoutine()
1715 if (!pme->m_inputFWKPPQ.isEmpty()) { in dataProcessRoutine()
1717 (qcamera_fwk_input_pp_data_t *) pme->m_inputFWKPPQ.dequeue(); in dataProcessRoutine()
1722 (jpeg_settings_t *)pme->m_jpegSettingsQ.dequeue(); in dataProcessRoutine()
1726 if (pme->m_pReprocChannel != NULL) { in dataProcessRoutine()
1727 … if (NO_ERROR != pme->m_pReprocChannel->overrideFwkMetadata(fwk_frame)) { in dataProcessRoutine()
1732 pme->m_ongoingPPQ.enqueue((void *)pp_job); in dataProcessRoutine()
1733 ret = pme->m_pReprocChannel->doReprocessOffline(fwk_frame); in dataProcessRoutine()
1736 pme->m_ongoingPPQ.dequeue(false); in dataProcessRoutine()
1761 pthread_mutex_lock(&pme->mReprocJobLock); in dataProcessRoutine()
1762 if(!pme->m_inputPPQ.isEmpty() && !pme->m_inputMetaQ.isEmpty()) { in dataProcessRoutine()
1764 (qcamera_hal3_pp_buffer_t *)pme->m_inputPPQ.dequeue(); in dataProcessRoutine()
1766 (mm_camera_super_buf_t *)pme->m_inputMetaQ.dequeue(); in dataProcessRoutine()
1768 (jpeg_settings_t *)pme->m_jpegSettingsQ.dequeue(); in dataProcessRoutine()
1769 pthread_mutex_unlock(&pme->mReprocJobLock); in dataProcessRoutine()
1789 pme->m_ongoingPPQ.enqueue((void *)pp_job); in dataProcessRoutine()
1790 if (pme->m_pReprocChannel != NULL) { in dataProcessRoutine()
1796 ret = pme->m_pReprocChannel->overrideMetadata( in dataProcessRoutine()
1802 ret = pme->m_pReprocChannel->doReprocessOffline( in dataProcessRoutine()
1806 pme->m_ongoingPPQ.dequeue(false); in dataProcessRoutine()
1812 ret = pme->processPPData(pp_buffer->input); in dataProcessRoutine()
1824 pme->releaseSuperBuf(pp_buffer->input); in dataProcessRoutine()
1831 pme->m_parent->metadataBufDone(meta_buffer); in dataProcessRoutine()
1840 pthread_mutex_unlock(&pme->mReprocJobLock); in dataProcessRoutine()
1845 (qcamera_hal3_jpeg_data_t *)pme->m_inputJpegQ.dequeue(); in dataProcessRoutine()
1851 (qcamera_hal3_pp_buffer_t *)pme->m_inputPPQ.dequeue(); in dataProcessRoutine()
1854 pme->releaseSuperBuf(pp_buf->input); in dataProcessRoutine()
1860 … mm_camera_super_buf_t *metadata = (mm_camera_super_buf_t *)pme->m_inputMetaQ.dequeue(); in dataProcessRoutine()
1862 pme->m_parent->metadataBufDone(metadata); in dataProcessRoutine()
1866 (qcamera_fwk_input_pp_data_t *) pme->m_inputFWKPPQ.dequeue(); in dataProcessRoutine()