Compartir a través de


CBaseVideoRenderer::PreparePerformanceData (Compact 2013)

3/26/2014

Sets the m_trLate and m_trFrame values of the current frame.

Syntax

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 Value

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

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseVideoRenderer Class