Share via


CBaseVideoRenderer::GetStdDev

 
Microsoft DirectShow 9.0

CBaseVideoRenderer::GetStdDev

The GetStdDev method estimates the standard deviation in milliseconds between when each frame is due and when it is actually rendered, for per-frame statistics.

Syntax

  HRESULT GetStdDev(
    int nSamples,
    int *piResult,
    LONGLONG llSumSq,
    LONGLONG iTot
);

Parameters

nSamples

Integer value that contains the number of video samples received by the video renderer.

piResult

Pointer to an integer value that will contain the standard deviation.

llSumSq

Value that represents the standard deviation, in milliseconds, of all rendered video samples. The lower the value, the more consistent the rendering.

iTot

Value that represents the mean value, in milliseconds, between the stamped time and rendered time for all rendered video samples.

Return Value

Returns NOERROR.

Requirements

**  Header:** Declared in Renbase.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also