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

BOOL PVideoDevice::GetFrameSizeLimits ( unsigned &  minWidth,
unsigned &  minHeight,
unsigned &  maxWidth,
unsigned &  maxHeight 
) [virtual, inherited]

Get the minimum & maximum size of a frame on the device.

Default behaviour returns the value 1 to UINT_MAX for both and returns FALSE.

Parameters:
minWidth  Variable to receive minimum width
minHeight  Variable to receive minimum height
maxWidth  Variable to receive maximum width
maxHeight  Variable to receive maximum height

Reimplemented in PVideoInput1394DcDevice, PVideoInputDevice_1394AVC, PVideoInputDevice_1394DC, and PVideoInputDevice_FakeVideo.

Definition at line 672 of file videoio.cxx.

Referenced by PVideoDevice::SetFrameSize(), and PVideoDevice::SetFrameSizeConverter().

{
  minWidth = minHeight = 1;
  maxWidth = maxHeight = UINT_MAX;
  return FALSE;
}


Generated by  Doxygen 1.6.0   Back to index