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

Method get_DevSyncOffset

Source/renbase2.cpp:951–959  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

949// of each frame since streaming started.
950
951STDMETHODIMP CBaseVideoRenderer2::get_DevSyncOffset(__out int *piDev)
952{
953 // First frames have invalid stamps, so we get no stats for them
954 // So we need 2 frames to get 1 datum, so N is cFramesDrawn-1
955 return GetStdDev(m_cFramesDrawn - 1,
956 piDev,
957 m_iSumSqAcc,
958 m_iTotAcc);
959} // get_DevSyncOffset
960
961
962// Set *piJitter to the standard deviation in mSec of the inter-frame time

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected