MCPcopy Create free account
hub / github.com/Aleksoid1978/VideoRenderer / get_Jitter

Method get_Jitter

Source/renbase2.cpp:965–974  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

963// of frames since streaming started.
964
965STDMETHODIMP CBaseVideoRenderer2::get_Jitter(__out int *piJitter)
966{
967 // First frames have invalid stamps, so we get no stats for them
968 // So second frame gives invalid inter-frame time
969 // So we need 3 frames to get 1 datum, so N is cFramesDrawn-2
970 return GetStdDev(m_cFramesDrawn - 2,
971 piJitter,
972 m_iSumSqFrameTime,
973 m_iSumFrameTime);
974} // get_Jitter
975
976
977// Overidden to return our IQualProp interface

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected