Changeset 94 in pacpusframework for branches/2.0-beta1/src/TestComponents/Video


Ignore:
Timestamp:
May 22, 2013, 3:25:24 PM (12 years ago)
Author:
DHERBOMEZ Gérald
Message:

fix windows

Location:
branches/2.0-beta1/src/TestComponents/Video
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0-beta1/src/TestComponents/Video/CMakeLists.txt

    r90 r94  
    1515  ${QT_DEFINITIONS}
    1616  -DVIDEO_EXPORTS
     17  -DDBTPLYVISION_EXPORTS
    1718)
    1819
  • branches/2.0-beta1/src/TestComponents/Video/sensor/Camera1394.cpp

    r89 r94  
    7979  imageMutex_ = new QMutex;
    8080
    81   if (displaying_)
     81/*  if (displaying_)
    8282  {
    8383    viewer_ = new ImageViewer;
     
    8686    viewer_->setWindowTitle(componentName);
    8787    connect(this, SIGNAL( newImage(QImage*) ), viewer_, SLOT( display(QImage*) ) );
    88   }
     88  }*/
    8989
    9090  return ComponentBase::CONFIGURED_OK;
     
    282282    // send image in shared memory
    283283    if (firstTime) {
    284       shMem = new ShMem("IMAGE", qimage_->numBytes());
     284//      shMem = new ShMem("IMAGE", qimage_->numBytes());
    285285      firstTime = false;
    286286    }
    287287    assert(shMem);
    288     shMem->write(qimage_->bits(), qimage_->numBytes());
     288//    shMem->write(qimage_->bits(), qimage_->numBytes());
    289289
    290290#ifdef MEASURE_TIME
Note: See TracChangeset for help on using the changeset viewer.