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

BOOL PVideoInputDevice_1394AVC::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 497 of file vidinput_avc.cxx.

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


Generated by  Doxygen 1.6.0   Back to index