IMVDemoSource

The IMVDemoSource Interface provides methods to configure the output video stream from the MV Demo Source filter.

DrawMode Output video content.
FrameRate Output video frame rate.
ObjectSet Selects the object set.

Header file: IMVDemoSource.h
Interface definition language file: IMVDemoSource.idl
Typelib: MV DemoSource
Interface ID: IID_IMVDemoSource


Property IMVDemoSource::DrawMode

Declaration: Property Get/Put DrawMode As Long

Output video content.

Mode Value Description
MV_DEMO_MODE_LOGO

0

Shows a moving MontiVision or custom logo.
MV_DEMO_MODE_OBJECTS

1

Shows some coloured objects.
MV_DEMO_MODE_NUMBERED_FRAMES

3

Draws the current frame number into the video stream.
MV_DEMO_MODE_WHITE_NOISE

4

Draws white noise images into the video stream.
MV_DEMO_MODE_TV_TEST_IMAGE

5

Shows a TV test image.
MV_DEMO_MODE_RESOLUTION_TEST

6

Shows a resolution test chart.
Prototype:

HRESULT put_DrawMode(LONG Mode);
HRESULT get_DrawMode(LONG* Mode);


Property IMVDemoSource::FrameRate

Declaration: Property Get/Put FrameRate As Double

Output video frame rate.

Prototype:

HRESULT put_FrameRate(DOUBLE Rate);
HRESULT get_FrameRate(DOUBLE* Rate);


Property IMVDemoSource::ObjectSet

Declaration: Property Get/Put ObjectSet As Long

Selects the object set. Valid values from 0 to 3.

Prototype:

HRESULT put_ObjectSet(LONG Set);
HRESULT get_ObjectSet(LONG* Set);