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

QSize CVideoDevice::GetMaxSize (  )  const

Return the maximum image size this device supports.

an Object of type QSize
With this function the maximum image size in pixels is retrieved. See also GetMinSize and SetSize

Not all sizes between the minimum and maximum size may be allowed by the device; however, there is currently no way to retrieve a list of possible sizes. It's safest to stick to CIF (352x288) and SIF (320x240) formats and subsizes hereof, and VGA. Also it's wise to use to multiples of 8 in both directions. SetSize will return FALSE when the size was rejected by the driver.

Definition at line 782 of file VideoDevice.cc.

Referenced by CCamStreamMainWindow::FileOpenNewViewer().

   return QSize(max_w, max_h);

Generated by  Doxygen 1.6.0   Back to index