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

PINDEX PVideoInputDevice_VideoForWindows::GetMaxFrameBytes (  ) [virtual]

Get the maximum frame size in bytes.

Note a particular device may be able to provide variable length frames (eg motion JPEG) so will be the maximum size of all frames.

Implements PVideoDevice.

Definition at line 913 of file vfw.cxx.

References IsOpen().

{
  if (!IsOpen())
    return 0;

  return GetMaxFrameBytesConverted(PVideoDeviceBitmap(hCaptureWindow)->bmiHeader.biSizeImage);
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index