@@ -47,6 +47,15 @@ class AVInput: public PluginHost::IPlugin, public PluginHost::JSONRPC
47
47
48
48
int m_primVolume;
49
49
int m_inputVolume; // Player Volume
50
+
51
+ typedef enum {
52
+ VRR_NONE, // No VRR support
53
+ VRR_HDMI_VRR, // VRR (HDMI v2.1 flavour)
54
+ VRR_AMD_FREESYNC, // AMD FreeSync
55
+ VRR_AMD_FREESYNC_PREMIUM, // AMD FreeSync Premium
56
+ VRR_AMD_FREESYNC_PREMIUM_PRO // AMD FreeSync Premium Pro
57
+ }VRRType_t;
58
+
50
59
public:
51
60
// IPlugin methods
52
61
// -------------------------------------------------------------------------------------------------------
@@ -99,7 +108,7 @@ class AVInput: public PluginHost::IPlugin, public PluginHost::JSONRPC
99
108
int getEdidVersion (int iPort);
100
109
bool setVideoRectangle (int x, int y, int width, int height, int type);
101
110
bool getALLMStatus (int iPort);
102
- bool getVRRStatus (int iPort);
111
+ bool getVRRStatus (int iPort, VRRType_t vrrType );
103
112
104
113
void AVInputHotplug (int input , int connect, int type);
105
114
static void dsAVEventHandler (const char *owner, IARM_EventId_t eventId, void *data, size_t len);
@@ -114,6 +123,9 @@ class AVInput: public PluginHost::IPlugin, public PluginHost::JSONRPC
114
123
static void dsAVVideoModeEventHandler (const char *owner, IARM_EventId_t eventId, void *data, size_t len);
115
124
116
125
void AVInputALLMChange ( int port , bool allmMode);
126
+ void AVInput::AVInputHDMIVRRChange ( int port , bool vrr_mode);
127
+ void AVInput::AVInputAMDFreeSyncChange ( int port , bool vrr_mode);
128
+
117
129
static void dsAVGameFeatureStatusEventHandler (const char *owner, IARM_EventId_t eventId, void *data, size_t len);
118
130
119
131
void hdmiInputAviContentTypeChange (int port, int content_type);
0 commit comments