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

unsigned PVideoDevice::GetFrameWidth (  ) const [virtual, inherited]

Get the width of the frame being used.

Default behaviour returns the value of the frameWidth variable

Definition at line 859 of file videoio.cxx.

Referenced by PVideoChannel::GetGrabWidth(), PVideoChannel::GetRenderWidth(), VidTest::Main(), and PVideoChannel::Write().

{
#if 1
    unsigned w,h;

    // Channels get very upset at this not returning the output size.
    if (converter) {
      converter->GetDstFrameSize(w, h);
      return w;
    }
#endif
  return frameWidth;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index