Changeset 94 in pacpusframework for branches/2.0-beta1/src/TestComponents/Video/sensor/Camera1394.cpp
- Timestamp:
- May 22, 2013, 3:25:24 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0-beta1/src/TestComponents/Video/sensor/Camera1394.cpp
r89 r94 79 79 imageMutex_ = new QMutex; 80 80 81 if (displaying_)81 /* if (displaying_) 82 82 { 83 83 viewer_ = new ImageViewer; … … 86 86 viewer_->setWindowTitle(componentName); 87 87 connect(this, SIGNAL( newImage(QImage*) ), viewer_, SLOT( display(QImage*) ) ); 88 } 88 }*/ 89 89 90 90 return ComponentBase::CONFIGURED_OK; … … 282 282 // send image in shared memory 283 283 if (firstTime) { 284 shMem = new ShMem("IMAGE", qimage_->numBytes());284 // shMem = new ShMem("IMAGE", qimage_->numBytes()); 285 285 firstTime = false; 286 286 } 287 287 assert(shMem); 288 shMem->write(qimage_->bits(), qimage_->numBytes());288 // shMem->write(qimage_->bits(), qimage_->numBytes()); 289 289 290 290 #ifdef MEASURE_TIME
Note:
See TracChangeset
for help on using the changeset viewer.