Compartilhar via


CBaseVideoRenderer::GetStdDev (Compact 2013)

3/26/2014

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

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseVideoRenderer Class