Diff of /xbmc/VideoReferenceClock.h [7475bc] .. [6603ef]  Maximize  Restore

Repo status: analyzing...

Switch to unified view

a/xbmc/VideoReferenceClock.h b/xbmc/VideoReferenceClock.h
...
...
67
    int     GetRefreshRate(double* interval = NULL);
67
    int     GetRefreshRate(double* interval = NULL);
68
    int64_t Wait(int64_t Target);
68
    int64_t Wait(int64_t Target);
69
    bool    WaitStarted(int MSecs);
69
    bool    WaitStarted(int MSecs);
70
    bool    GetClockInfo(int& MissedVblanks, double& ClockSpeed, int& RefreshRate);
70
    bool    GetClockInfo(int& MissedVblanks, double& ClockSpeed, int& RefreshRate);
71
    void    SetFineAdjust(double fineadjust);
71
    void    SetFineAdjust(double fineadjust);
72
    void    RefreshChanged() { m_RefreshChanged = 1; }
72
73
73
#if defined(__APPLE__)
74
#if defined(__APPLE__)
74
    void VblankHandler(int64_t nowtime, double fps);
75
    void VblankHandler(int64_t nowtime, double fps);
75
#endif
76
#endif
76
77
...
...
91
92
92
    bool    m_UseVblank;         //set to true when vblank is used as clock source
93
    bool    m_UseVblank;         //set to true when vblank is used as clock source
93
    int64_t m_RefreshRate;       //current refreshrate
94
    int64_t m_RefreshRate;       //current refreshrate
94
    int     m_PrevRefreshRate;   //previous refreshrate, used for log printing and getting refreshrate from nvidia-settings
95
    int     m_PrevRefreshRate;   //previous refreshrate, used for log printing and getting refreshrate from nvidia-settings
95
    int     m_MissedVblanks;     //number of clock updates missed by the vblank clock
96
    int     m_MissedVblanks;     //number of clock updates missed by the vblank clock
97
    int     m_RefreshChanged;    //1 = we changed the refreshrate, 2 = we should check the refreshrate forced
96
    int     m_TotalMissedVblanks;//total number of clock updates missed, used by codec information screen
98
    int     m_TotalMissedVblanks;//total number of clock updates missed, used by codec information screen
97
    int64_t m_VblankTime;        //last time the clock was updated when using vblank as clock
99
    int64_t m_VblankTime;        //last time the clock was updated when using vblank as clock
98
100
99
    CEvent  m_Started;            //set when the vblank clock is started
101
    CEvent  m_Started;            //set when the vblank clock is started
100
    CEvent  m_VblankEvent;        //set when a vblank happens
102
    CEvent  m_VblankEvent;        //set when a vblank happens