CBaseVideoRenderer::PreparePerformanceData (Windows CE 5.0)

Send Feedback

Sets the m_trLate and m_trFrame values of the current frame.

void PreparePerformanceData(inttrLate,inttrFrame);

Parameters

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

Return Values

None.

Remarks

This member function sets m_trLate to the value of trLate and m_trFrame to the value of trFrame.

When the CBaseVideoRenderer::RecordFrameLateness member function is called from either CBaseVideoRenderer::OnRenderStart or CBaseVideoRenderer::OnDirectRender, it passes the values of m_trLate and m_trFrame for it to update the statistics.

PreparePerformanceData is called from CBaseVideoRenderer::OnWaitEnd to set these data member values.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.