Logo Search packages:      
Sourcecode: pwlib version File versions

PINDEX PVideoChannel::GetGrabWidth (  )  [virtual]

Return the width of the currently selected grabbing device.

Definition at line 274 of file pvidchan.cxx.

References accessMutex, PVideoDevice::GetFrameWidth(), and mpInput.

Referenced by DisplayRawData(), and SetGrabberFrameSize().

{
   PWaitAndSignal m(accessMutex);

   if (mpInput != NULL)
     return mpInput->GetFrameWidth();
   else
     return 0;
}


Generated by  Doxygen 1.6.0   Back to index