Microsoft Windows CE 3.0  

CBaseVideoRenderer::PreparePerformanceData

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.

Sets the m_trLateand m_trFramevalues of the current frame.

void PreparePerformanceData(
int
trLate, 
int
trFrame
);

Parameters

trLate
How late the sample was beyond its due time, in reference time units.
trFrame
Interframe time, in reference time units.

Return Values

No return value.

Remarks

This member function sets m_trLateto the value of trLateand m_trFrameto the value of trFrame.

When the CBaseVideoRenderer::RecordFrameLatenessmember function is called from either CBaseVideoRenderer::OnRenderStartor CBaseVideoRenderer::OnDirectRender, it passes the values of m_trLateand m_trFramefor it to update the statistics. PreparePerformanceDatais called from CBaseVideoRenderer::OnWaitEndto set these data member values.