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

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

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

Parameters:
newVFlipStateNew vertical flip state

Reimplemented in PVideoOutputDevice_Window.

Definition at line 654 of file videoio.cxx.

References PColourConverter::Create().

Referenced by VidTest::Main(), and PVideoChannel::ToggleVFlipInput().

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

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

  return TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index