IMVSCQualityProperties

The IMVSCQualityProperties Interface from the MontiVision Smart Control  provides methods to get some information of the video stream processing. This interface based on the IQualProp DirectShow interface. 

Attention: Before you could use this interface you have to set the video renderer. Call the IMVSCVideoWindow::SetVideoRenderer() method or set the IMVSCVideoWindow::RendererFilter property with the label of the video renderer. A good playe for this is after loading the filter graph configuration (MVP-file).

Methods:

AverageFrameRate Get the average frame rate achieved.
AverageSyncOffset Retrieves the average time difference between when a frame was due for rendering and when rendering actually began (this is returned as a value in milliseconds).
DroppedFramesCount Retrieves the number of frames dropped by the renderer.
FrameCount Get the number of frames rendered since streaming began.
Jitter Expresses the average time between successive frames delivered to the video renderer.

Typelib: MV SmartControl


Property IMVSCQualityProperties::AverageFrameRate

Declaration: Property Get AverageFrameRate As Long

Get the average frame rate achieved. The value is multiplied with 100. For example a frame rate of 10 frames per seconds results a value of 1000.

Prototype:

HRESULT get_AverageFrameRate(LONG*);


Property IMVSCQualityProperties::AverageSyncOffset

Declaration: Property Get AverageSyncOffset As Long

Retrieves the average time difference between when a frame was due for rendering and when rendering actually began (this is returned as a value in milliseconds).

Prototype:

HRESULT get_AverageSyncOffset(LONG*);


Property IMVSCQualityProperties::DroppedFramesCount

Declaration: Property Get DroppedFramesCount As Long

Retrieves the number of frames dropped by the renderer.

Prototype:

HRESULT get_DroppedFramesCount(LONG*);


Property IMVSCQualityProperties::FrameCount

Declaration: Property Get FrameCount As Long

Get the number of frames rendered since streaming began.  

Prototype:

HRESULT get_FrameCount(LONG*);


Property IMVSCQualityProperties::Jitter

Declaration: Property Get Jitter As Long

Expresses the average time in milliseconds between successive frames delivered to the video renderer.

Prototype:

HRESULT get_Jitter(LONG*);