Logo Search packages:      
Sourcecode: pwlib version File versions

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.

References PColourConverter::GetDstFrameSize().

Referenced by PVideoChannel::GetGrabWidth(), PVideoChannel::GetRenderWidth(), 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;
  return frameWidth;

Generated by  Doxygen 1.6.0   Back to index