Lines Matching refs:pme

707     QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data;  in releasePPInputData()  local
708 if (NULL != pme) { in releasePPInputData()
709 pme->releaseSuperBuf((mm_camera_super_buf_t *)data); in releasePPInputData()
726 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data; in releaseJpegData() local
727 if (NULL != pme) { in releaseJpegData()
728 pme->releaseJpegJobData((qcamera_jpeg_data_t *)data); in releaseJpegData()
745 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data; in releaseOngoingPPData() local
746 if (NULL != pme) { in releaseOngoingPPData()
749 pme->releaseSuperBuf(pp_job->src_frame); in releaseOngoingPPData()
1222 QCameraPostProcessor *pme = (QCameraPostProcessor *)data; in dataProcessRoutine() local
1223 QCameraCmdThread *cmdThread = &pme->m_dataProcTh; in dataProcessRoutine()
1251 (qcamera_jpeg_data_t *)pme->m_ongoingJpegQ.dequeue(); in dataProcessRoutine()
1253 pme->mJpegHandle.abort_job(jpeg_job->jobId); in dataProcessRoutine()
1255 pme->releaseJpegJobData(jpeg_job); in dataProcessRoutine()
1258 jpeg_job = (qcamera_jpeg_data_t *)pme->m_ongoingJpegQ.dequeue(); in dataProcessRoutine()
1262 if ( 0 < pme->mJpegSessionId ) { in dataProcessRoutine()
1263 pme->mJpegHandle.destroy_session(pme->mJpegSessionId); in dataProcessRoutine()
1264 pme->mJpegSessionId = 0; in dataProcessRoutine()
1268 if (pme->m_pJpegOutputMem != NULL) { in dataProcessRoutine()
1269 pme->m_pJpegOutputMem->deallocate(); in dataProcessRoutine()
1270 delete pme->m_pJpegOutputMem; in dataProcessRoutine()
1271 pme->m_pJpegOutputMem = NULL; in dataProcessRoutine()
1273 if (pme->m_pJpegExifObj != NULL) { in dataProcessRoutine()
1274 delete pme->m_pJpegExifObj; in dataProcessRoutine()
1275 pme->m_pJpegExifObj = NULL; in dataProcessRoutine()
1280 if (pme->m_pReprocChannel != NULL) { in dataProcessRoutine()
1281 pme->m_pReprocChannel->stop(); in dataProcessRoutine()
1282 delete pme->m_pReprocChannel; in dataProcessRoutine()
1283 pme->m_pReprocChannel = NULL; in dataProcessRoutine()
1287 pme->m_ongoingPPQ.flush(); in dataProcessRoutine()
1290 pme->m_inputJpegQ.flush(); in dataProcessRoutine()
1293 pme->m_inputPPQ.flush(); in dataProcessRoutine()
1296 pme->m_inputRawQ.flush(); in dataProcessRoutine()
1307 if (pme->m_ongoingJpegQ.isEmpty()) { in dataProcessRoutine()
1310 (qcamera_jpeg_data_t *)pme->m_inputJpegQ.dequeue(); in dataProcessRoutine()
1314 pme->m_parent->playShutter(); in dataProcessRoutine()
1317 pme->m_ongoingJpegQ.enqueue((void *)jpeg_job); in dataProcessRoutine()
1318 ret = pme->encodeData(jpeg_job, needNewSess); in dataProcessRoutine()
1321 pme->m_ongoingJpegQ.dequeue(false); in dataProcessRoutine()
1323 pme->releaseJpegJobData(jpeg_job); in dataProcessRoutine()
1325 pme->sendEvtNotify(CAMERA_MSG_ERROR, UNKNOWN_ERROR, 0); in dataProcessRoutine()
1332 (mm_camera_super_buf_t *)pme->m_inputRawQ.dequeue(); in dataProcessRoutine()
1336 pme->m_parent->playShutter(); in dataProcessRoutine()
1337 ret = pme->processRawImageImpl(super_buf); in dataProcessRoutine()
1339 pme->releaseSuperBuf(super_buf); in dataProcessRoutine()
1341 pme->sendEvtNotify(CAMERA_MSG_ERROR, UNKNOWN_ERROR, 0); in dataProcessRoutine()
1346 (mm_camera_super_buf_t *)pme->m_inputPPQ.dequeue(); in dataProcessRoutine()
1352 if (pme->m_pReprocChannel != NULL) { in dataProcessRoutine()
1355 pme->m_ongoingPPQ.enqueue((void *)pp_job); in dataProcessRoutine()
1356 ret = pme->m_pReprocChannel->doReprocess(pp_frame); in dataProcessRoutine()
1359 pme->m_ongoingPPQ.dequeue(false); in dataProcessRoutine()
1377 pme->releaseSuperBuf(pp_frame); in dataProcessRoutine()
1381 pme->sendEvtNotify(CAMERA_MSG_ERROR, UNKNOWN_ERROR, 0); in dataProcessRoutine()
1387 (qcamera_jpeg_data_t *)pme->m_inputJpegQ.dequeue(); in dataProcessRoutine()
1389 pme->releaseJpegJobData(jpeg_data); in dataProcessRoutine()
1393 (mm_camera_super_buf_t *)pme->m_inputRawQ.dequeue(); in dataProcessRoutine()
1395 pme->releaseSuperBuf(super_buf); in dataProcessRoutine()
1398 super_buf = (mm_camera_super_buf_t *)pme->m_inputPPQ.dequeue(); in dataProcessRoutine()
1400 pme->releaseSuperBuf(super_buf); in dataProcessRoutine()