Add performance overlay for DXVA2 renderer
This commit is contained in:
parent
e944c819d9
commit
b19c4bfc5d
10 changed files with 233 additions and 68 deletions
|
|
@ -33,6 +33,8 @@ private:
|
|||
int videoFormat, int width, int height,
|
||||
int maxFps, bool enableFramePacing, bool testOnly);
|
||||
|
||||
void stringifyVideoStats(VIDEO_STATS& stats, char* output);
|
||||
|
||||
void logVideoStats(VIDEO_STATS& stats, const char* title);
|
||||
|
||||
void addVideoStats(VIDEO_STATS& src, VIDEO_STATS& dst);
|
||||
|
|
@ -58,6 +60,7 @@ private:
|
|||
VIDEO_STATS m_ActiveWndVideoStats;
|
||||
VIDEO_STATS m_LastWndVideoStats;
|
||||
VIDEO_STATS m_GlobalVideoStats;
|
||||
|
||||
int m_LastFrameNumber;
|
||||
int m_StreamFps;
|
||||
bool m_NeedsSpsFixup;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue