Microsoft Windows CE 3.0  

CBaseVideoRenderer::GetStdDev

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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

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 Values

Returns NOERROR.