|
@@ -887,7 +887,7 @@ void MainWindow::onTimerUpdateView()
|
|
|
time_gps = gTimeGPSIMUUpdate;
|
|
|
char strscript[256];
|
|
|
snprintf(strscript,255,"theLocation(%11.7f,%11.7f,%11.3f);",ggpsimu.lon(),ggpsimu.lat(),ggpsimu.heading());
|
|
|
- mMapview->page()->runJavaScript(strscript);
|
|
|
+// mMapview->page()->runJavaScript(strscript);
|
|
|
|
|
|
iv::gps::gpsimu xgpsimu;
|
|
|
xgpsimu.CopyFrom(ggpsimu);
|
|
@@ -920,7 +920,7 @@ void MainWindow::paintEvent(QPaintEvent *)
|
|
|
if(mbCamUpdate[i])
|
|
|
{
|
|
|
// xTime.start();
|
|
|
- std::cout<<" copy image. "<<std::endl;
|
|
|
+ // std::cout<<" copy image. "<<std::endl;
|
|
|
mMutexCam[i].lock();
|
|
|
// QImage image = mpImageCam[i]->copy();
|
|
|
mbCamUpdate[i] = false;
|
|
@@ -1188,7 +1188,7 @@ void MainWindow::threadinfo()
|
|
|
gTimeGPSIMUUpdate = QDateTime::currentMSecsSinceEpoch();
|
|
|
}
|
|
|
}
|
|
|
- std::cout<<" receive info msg. "<<std::endl;
|
|
|
+ // std::cout<<" receive info msg. "<<std::endl;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -1204,7 +1204,7 @@ void MainWindow::threadframe(int ncamppos)
|
|
|
nrtn = mgrpcpc->Consumeh264frame(ncamppos,xframe,10);
|
|
|
if(nrtn == 1)
|
|
|
{
|
|
|
- std::cout<<"recv a frame."<<std::endl;
|
|
|
+// std::cout<<"recv a frame."<<std::endl;
|
|
|
iv::rawframedata xrawframe;
|
|
|
xrawframe.mpstr_ptr = xframe.mpstr_ptr;
|
|
|
xrawframe.ndatasize = xframe.mdatasize;
|
|
@@ -1220,7 +1220,7 @@ void MainWindow::threadpic(int ncampos)
|
|
|
{
|
|
|
int nindex = mph264decode[ncampos]->GetUpdatedIndex(10);
|
|
|
if(nindex<0)continue;
|
|
|
- std::cout<<" recv a yuv."<<std::endl;
|
|
|
+// std::cout<<" recv a yuv."<<std::endl;
|
|
|
iv::framedecodebuf * pbuf = mph264decode[ncampos]->LockReadBuff(nindex);
|
|
|
int cy = pbuf->frameheight;
|
|
|
int cx = pbuf->framewidth;
|