Logo Search packages:      
Sourcecode: pwlib version File versions

void PVideoChannel::SetGrabberFrameSize ( int  _width,
int  _height 
) [virtual]

Specifiy the width and height of the video stream, which is to be extracted from the previously specified device.

Definition at line 324 of file pvidchan.cxx.

References accessMutex, GetGrabHeight(), GetGrabWidth(), mpInput, and PVideoDevice::SetFrameSize().

{ 
  PTRACE(6, "PVC\t Set Grabber frame size to " << _width << "x" << _height);
  PWaitAndSignal m(accessMutex);

  if (mpInput != NULL) {
    if ((GetGrabWidth() != _width) || (GetGrabHeight() != _height))
      mpInput->SetFrameSize((unsigned)_width, (unsigned)_height);
  } 
}


Generated by  Doxygen 1.6.0   Back to index