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

PINDEX PVideoInputDevice_BeOSVideo::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 876 of file video4beos.cxx.

References IsOpen().

Referenced by GetFrameDataNoDelay().

  if (!IsOpen())
    return 0;
  return GetMaxFrameBytesConverted(frameWidth * frameHeight *4); // RGB32 only 

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index