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

BOOL PVideoDevice::SetVideoFormat ( VideoFormat  videoFormat ) [virtual, inherited]

Set the video format to be used.

Default behaviour sets the value of the videoFormat variable and then returns TRUE.

Parameters:
videoFormatNew video format

Reimplemented in PVideoInput1394DcDevice, PVideoInputDevice_1394AVC, PVideoInputDevice_BSDCAPTURE, PVideoInputDevice_1394DC, PVideoInputDevice_V4L, PVideoInputDevice_V4L2, and PVideoInputDevice_FakeVideo.

Definition at line 437 of file videoio.cxx.

Referenced by VidTest::Main(), PVideoInputDevice_V4L::SetVideoChannelFormat(), PVideoInputDevice_V4L2::SetVideoFormat(), PVideoInputDevice_V4L::SetVideoFormat(), PVideoInputDevice_1394DC::SetVideoFormat(), PVideoInputDevice_BSDCAPTURE::SetVideoFormat(), and PVideoInputDevice_1394AVC::SetVideoFormat().

{
  videoFormat = videoFmt;
  return TRUE;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index