PERFINFO_DSHOW_AVREND Structure
Microsoft DirectShow 9.0 |
PERFINFO_DSHOW_AVREND Structure
The PERFINFO_DSHOW_AVREND structure contains data for a trace event of type GUID_VIDEOREND.
The VMR logs this event immediately before rendering a frame.
Syntax
typedef struct PERFINFO_DSHOW_AVREND { ULONGLONG cycleCounter; ULONGLONG dshowClock; ULONGLONG sampleTime; } PERFINFO_DSHOW_AVREND, *PPERFINFO_DSHOW_AVREND;
Members
cycleCounter
Latest clock cycle count (RDTSC instruction).
dshowClock
Current reference time, as returned by the IReferenceClock::GetTime method.
sampleTime
Start time of the sample.
Remarks
To enable this event, you must set the DXMPERF_VIDEOREND flag in the EnableFlag parameter when you call EnableTrace. This flag is defined in the header file Dxmperf.h, which is included in the DirectShow base classes.
To log this event from a DirectShow filter, use the PERFLOG_VIDEOREND macro, which is defined in Dxmperf.h.
Requirements
Header: Perfstruct.h.
See Also