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

BOOL PVideoInputDevice_1394DC::SetColourFormat ( const PString colourFormat ) [virtual]

Set the colour format to be used. Note that this function does not do any conversion. If it returns TRUE then the video device does the colour format in native mode.

To utilise an internal converter use the SetColourFormatConverter() function.

Default behaviour sets the value of the colourFormat variable and then returns TRUE.

Reimplemented from PVideoDevice.

Definition at line 756 of file video4dc1394.cxx.

{
  if (newFormat != colourFormat) {
    return FALSE;
  }
  return TRUE;
}

Generated by  Doxygen 1.6.0   Back to index