Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PVideoInputDevice::GetFrame ( PBYTEArray &  frame ) [virtual, inherited]

Grab a frame.

Reimplemented in PVideoInputDevice_BeOSVideo, and PVideoInputDevice_BSDCAPTURE.

Definition at line 1256 of file videoio.cxx.

{
  PINDEX returned;
  if (!GetFrameData(frame.GetPointer(GetMaxFrameBytes()), &returned))
    return FALSE;

  frame.SetSize(returned);
  return TRUE;
}

Generated by  Doxygen 1.6.0   Back to index