Ignore:
Timestamp:
03/02/03 16:55:47 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/videodev/Camera.cc

    r1531 r1802  
    102102}
    103103
    104 Camera::Camera() : fd(-1), iBufferSize(0)
     104Camera::Camera(PixClient &client) : fd(-1), iBufferSize(0), fClient(client)
    105105{
    106106    cout << "Starting thread..." << flush;
     
    192192
    193193
    194 void Camera::ProcessFrame(const unsigned long n, byte *img,
    195                           struct timeval *tm)
    196 {
    197     cout << "Img: " << n << "  " << (void*)img << endl;
    198 }
    199 
    200194void *Camera::MapThread(void *arg)
    201195{
     
    251245                break;
    252246
    253             ProcessFrame(i, (byte*)fImg, &fTime);
     247            fClient.ProcessFrame(i, (byte*)fImg, &fTime);
    254248            i++;
    255249        }
     
    258252        {
    259253            LoopStep(i);
    260             ProcessFrame(i, (byte*)fImg, &fTime);
     254            fClient.ProcessFrame(i, (byte*)fImg, &fTime);
    261255            i++;
    262256        }
    263257
    264258        LoopStep(i);
    265         ProcessFrame(i, (byte*)fImg, &fTime);
     259        fClient.ProcessFrame(i, (byte*)fImg, &fTime);
    266260        i++;
    267261
Note: See TracChangeset for help on using the changeset viewer.