Logo Search packages:      
Sourcecode: pwlib version File versions

BOOL PVideoDevice::SetVFlipState ( BOOL  newVFlipState  )  [virtual, inherited]

Set the video conversion vertical flip state. Default action is to return FALSE.

Parameters:
newVFlipState  New vertical flip state

Reimplemented in PVideoOutputDevice_Window.

Definition at line 654 of file videoio.cxx.

References PColourConverter::Create(), and PColourConverter::SetVFlipState().

Referenced by PVideoDevice::OpenFull(), and PVideoChannel::ToggleVFlipInput().

{
  if (newVFlip && converter == NULL)
    converter = PColourConverter::Create(colourFormat, colourFormat, frameWidth, frameHeight);

  if (converter != NULL)
    converter->SetVFlipState(newVFlip ^ nativeVerticalFlip);

  return TRUE;
}


Generated by  Doxygen 1.6.0   Back to index