Changeset 1802 for trunk/MagicSoft/Cosy/videodev/Camera.cc
- Timestamp:
- 03/02/03 16:55:47 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/videodev/Camera.cc
r1531 r1802 102 102 } 103 103 104 Camera::Camera( ) : fd(-1), iBufferSize(0)104 Camera::Camera(PixClient &client) : fd(-1), iBufferSize(0), fClient(client) 105 105 { 106 106 cout << "Starting thread..." << flush; … … 192 192 193 193 194 void Camera::ProcessFrame(const unsigned long n, byte *img,195 struct timeval *tm)196 {197 cout << "Img: " << n << " " << (void*)img << endl;198 }199 200 194 void *Camera::MapThread(void *arg) 201 195 { … … 251 245 break; 252 246 253 ProcessFrame(i, (byte*)fImg, &fTime);247 fClient.ProcessFrame(i, (byte*)fImg, &fTime); 254 248 i++; 255 249 } … … 258 252 { 259 253 LoopStep(i); 260 ProcessFrame(i, (byte*)fImg, &fTime);254 fClient.ProcessFrame(i, (byte*)fImg, &fTime); 261 255 i++; 262 256 } 263 257 264 258 LoopStep(i); 265 ProcessFrame(i, (byte*)fImg, &fTime);259 fClient.ProcessFrame(i, (byte*)fImg, &fTime); 266 260 i++; 267 261
Note:
See TracChangeset
for help on using the changeset viewer.