Lines Matching refs:pme
1708 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data; in releasePPInputData() local
1709 if (NULL != pme) { in releasePPInputData()
1712 pme->releaseSuperBuf(pp_job->src_frame); in releasePPInputData()
1719 pme->releaseSuperBuf(pp_job->src_reproc_frame); in releasePPInputData()
1740 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data; in releaseJpegData() local
1741 if (NULL != pme) { in releaseJpegData()
1742 pme->releaseJpegJobData((qcamera_jpeg_data_t *)data); in releaseJpegData()
1761 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data; in releaseOngoingPPData() local
1762 if (NULL != pme) { in releaseOngoingPPData()
1766 pme->releaseSuperBuf(pp_job->src_frame); in releaseOngoingPPData()
1775 pme->releaseSuperBuf(pp_job->src_reproc_frame); in releaseOngoingPPData()
2009 QCameraPostProcessor *pme = (QCameraPostProcessor *) user_data; in releaseSaveJobData() local
2010 if (NULL == pme) { in releaseSaveJobData()
2022 qcamera_jpeg_data_t *job = pme->findJpegJobByJobId(job_data->jobId); in releaseSaveJobData()
2025 pme->releaseJpegJobData(job); in releaseSaveJobData()
2049 QCameraPostProcessor *pme = (QCameraPostProcessor *) user_data; in releaseRawData() local
2050 if (NULL == pme) { in releaseRawData()
2055 pme->releaseSuperBuf(super_buf); in releaseRawData()
3022 QCameraPostProcessor *pme = (QCameraPostProcessor *)data; in dataSaveRoutine() local
3023 QCameraCmdThread *cmdThread = &pme->m_saveProcTh; in dataSaveRoutine()
3044 pme->m_inputSaveQ.init(); in dataSaveRoutine()
3052 pme->m_inputSaveQ.flush(); in dataSaveRoutine()
3062 … qcamera_jpeg_evt_payload_t *job_data = (qcamera_jpeg_evt_payload_t *) pme->m_inputSaveQ.dequeue(); in dataSaveRoutine()
3072 pme->m_ongoingJpegQ.flushNodes(matchJobId, (void*)&job_data->jobId); in dataSaveRoutine()
3081 pme->mSaveFrmCnt); in dataSaveRoutine()
3101 pme->mSaveFrmCnt++; in dataSaveRoutine()
3103 camera_memory_t* jpeg_mem = pme->m_parent->mGetMemory(-1, in dataSaveRoutine()
3106 pme->m_parent->mCallbackCookie); in dataSaveRoutine()
3120 ret = pme->sendDataNotify(CAMERA_MSG_COMPRESSED_IMAGE, in dataSaveRoutine()
3161 QCameraPostProcessor *pme = (QCameraPostProcessor *)data; in dataProcessRoutine() local
3162 QCameraCmdThread *cmdThread = &pme->m_dataProcTh; in dataProcessRoutine()
3183 pme->m_ongoingPPQ.init(); in dataProcessRoutine()
3184 pme->m_inputJpegQ.init(); in dataProcessRoutine()
3185 pme->m_inputPPQ.init(); in dataProcessRoutine()
3186 pme->m_inputRawQ.init(); in dataProcessRoutine()
3187 if (pme->m_halPP != NULL) { in dataProcessRoutine()
3188 pme->m_halPP->initQ(); in dataProcessRoutine()
3190 pme->m_saveProcTh.sendCmd(CAMERA_CMD_TYPE_START_DATA_PROC, in dataProcessRoutine()
3203 pme->m_saveProcTh.sendCmd(CAMERA_CMD_TYPE_STOP_DATA_PROC, in dataProcessRoutine()
3208 (qcamera_jpeg_data_t *)pme->m_ongoingJpegQ.dequeue(); in dataProcessRoutine()
3210 pme->mJpegHandle.abort_job(jpeg_job->jobId); in dataProcessRoutine()
3212 pme->releaseJpegJobData(jpeg_job); in dataProcessRoutine()
3215 jpeg_job = (qcamera_jpeg_data_t *)pme->m_ongoingJpegQ.dequeue(); in dataProcessRoutine()
3219 if ( 0 < pme->mJpegSessionId ) { in dataProcessRoutine()
3220 pme->mJpegHandle.destroy_session(pme->mJpegSessionId); in dataProcessRoutine()
3221 pme->mJpegSessionId = 0; in dataProcessRoutine()
3225 {FREE_JPEG_OUTPUT_BUFFER(pme->m_pJpegOutputMem, in dataProcessRoutine()
3226 pme->m_JpegOutputMemCount);} in dataProcessRoutine()
3229 if ( 0 < pme->mJpegSessionIdHalPP) { in dataProcessRoutine()
3230 LOGE("destroying hal pp jpeg session:%d", pme->mJpegSessionIdHalPP); in dataProcessRoutine()
3231 pme->mJpegHandle.destroy_session(pme->mJpegSessionIdHalPP); in dataProcessRoutine()
3232 pme->mJpegSessionIdHalPP = 0; in dataProcessRoutine()
3235 {FREE_JPEG_OUTPUT_BUFFER(pme->m_pJpegOutputMemHalPP, in dataProcessRoutine()
3236 pme->m_JpegOutputMemCountHALPP);} in dataProcessRoutine()
3238 if (pme->m_pJpegExifObj != NULL) { in dataProcessRoutine()
3239 delete pme->m_pJpegExifObj; in dataProcessRoutine()
3240 pme->m_pJpegExifObj = NULL; in dataProcessRoutine()
3244 pme->m_ongoingPPQ.flush(); in dataProcessRoutine()
3247 pme->m_inputJpegQ.flush(); in dataProcessRoutine()
3250 pme->m_inputPPQ.flush(); in dataProcessRoutine()
3253 pme->m_inputRawQ.flush(); in dataProcessRoutine()
3256 if (pme->m_halPP != NULL) { in dataProcessRoutine()
3257 pme->m_halPP->flushQ(); in dataProcessRoutine()
3262 pme->pJpegSrcStream = NULL; in dataProcessRoutine()
3263 pme->mNewJpegSessionNeeded = true; in dataProcessRoutine()
3264 pme->mNewJpegSessionNeededHalPP = true; in dataProcessRoutine()
3273 if ((!pme->m_parent->isDualCamera()) || in dataProcessRoutine()
3274 (pme->m_ongoingJpegQ.isEmpty())) { in dataProcessRoutine()
3275 jpeg_job = (qcamera_jpeg_data_t *)pme->m_inputJpegQ.dequeue(); in dataProcessRoutine()
3281 if (pme->m_parent->mParameters.isAdvCamFeaturesEnabled()) { in dataProcessRoutine()
3284 pme->syncStreamParams(jpeg_job->src_frame, NULL); in dataProcessRoutine()
3288 if (pme->m_ongoingJpegQ.enqueue((void *)jpeg_job)) { in dataProcessRoutine()
3291 ret = pme->encodeData(jpeg_job, pme->mNewJpegSessionNeededHalPP); in dataProcessRoutine()
3293 ret = pme->encodeData(jpeg_job, pme->mNewJpegSessionNeeded); in dataProcessRoutine()
3297 pme->m_ongoingJpegQ.dequeue(false); in dataProcessRoutine()
3298 pme->releaseJpegJobData(jpeg_job); in dataProcessRoutine()
3301 pme->sendEvtNotify(CAMERA_MSG_ERROR, UNKNOWN_ERROR, 0); in dataProcessRoutine()
3305 pme->releaseJpegJobData(jpeg_job); in dataProcessRoutine()
3312 if (pme->m_halPP != NULL) { in dataProcessRoutine()
3313 pme->m_halPP->process(); in dataProcessRoutine()
3318 (mm_camera_super_buf_t *)pme->m_inputRawQ.dequeue(); in dataProcessRoutine()
3322 pme->m_parent->playShutter(); in dataProcessRoutine()
3323 ret = pme->processRawImageImpl(super_buf); in dataProcessRoutine()
3325 pme->releaseSuperBuf(super_buf); in dataProcessRoutine()
3327 pme->sendEvtNotify(CAMERA_MSG_ERROR, UNKNOWN_ERROR, 0); in dataProcessRoutine()
3331 ret = pme->doReprocess(); in dataProcessRoutine()
3333 pme->sendEvtNotify(CAMERA_MSG_ERROR, UNKNOWN_ERROR, 0); in dataProcessRoutine()
3335 ret = pme->stopCapture(); in dataProcessRoutine()
3341 (qcamera_jpeg_data_t *)pme->m_inputJpegQ.dequeue(); in dataProcessRoutine()
3343 pme->releaseJpegJobData(jpeg_data); in dataProcessRoutine()
3347 (mm_camera_super_buf_t *)pme->m_inputRawQ.dequeue(); in dataProcessRoutine()
3349 pme->releaseSuperBuf(super_buf); in dataProcessRoutine()
3354 pme->m_inputPPQ.flush(); in dataProcessRoutine()
4023 QCameraPostProcessor *pme = (QCameraPostProcessor *)pUserData; in processHalPPDataCB() local
4024 pme->processHalPPData(pOutput); in processHalPPDataCB()
4135 QCameraPostProcessor *pme = (QCameraPostProcessor *)pUserData; in getHalPPOutputBufferCB() local
4136 pme->getHalPPOutputBuffer(frameIndex); in getHalPPOutputBufferCB()