You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
This project houses required resources for Entertainment Services API documentation. The documentation is hosted as a static web site on Github and is created using the Docsify site generator.
Copy file name to clipboardExpand all lines: docs/apis/AVInputPlugin.md
+163-6Lines changed: 163 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,6 @@
2
2
<aname="AVInput_Plugin"></a>
3
3
# AVInput Plugin
4
4
5
-
**Version: [1.0.0]()**
6
-
7
5
A org.rdk.AVInput plugin for Thunder framework.
8
6
9
7
### Table of Contents
@@ -52,6 +50,8 @@ AVInput interface methods:
52
50
|[numberOfInputs](#numberOfInputs)| Returns an integer that specifies the number of available inputs |
53
51
|[getInputDevices](#getInputDevices)| Returns an array of available HDMI/Composite Input ports |
54
52
|[getEdid2AllmSupport](#getEdid2AllmSupport)| Returns the EDID ALLM bit value |
53
+
|[getVRRSupport](#getVRRSupport)| Returns the EDID VRR bit value |
54
+
|[getVRRFrameRate](#getVRRFrameRate)| Returns the VRR FrameRate |
55
55
|[getEdidVersion](#getEdidVersion)| Returns the EDID version |
56
56
|[getSPD](#getSPD)| Returns the Source Data Product Descriptor (SPD) infoFrame packet information for the specified HDMI Input device |
57
57
|[getRawSPD](#getRawSPD)| Returns the Source Data Product Descriptor (SPD) infoFrame packet information for the specified HDMI Input device as raw bits |
@@ -60,6 +60,7 @@ AVInput interface methods:
60
60
|[stopInput](#stopInput)| Deactivates the HDMI/Composite Input port currently selected as the primary video source |
61
61
|[setAudioMixerLevels](#setAudioMixerLevels)| Sets the audio mixer level for given audio input |
62
62
|[setEdid2AllmSupport](#setEdid2AllmSupport)| Sets an HDMI ALLM bit in EDID |
63
+
|[setVRRSupport](#setVRRSupport)| Sets an HDMI VRR bit in EDID |
63
64
|[setEdidVersion](#setEdidVersion)| Sets an HDMI EDID version |
64
65
|[setVideoRectangle](#setVideoRectangle)| Sets an HDMI/Composite Input video window |
65
66
|[writeEDID](#writeEDID)| Changes a current EDID value |
@@ -336,6 +337,110 @@ No Events
336
337
}
337
338
```
338
339
340
+
<aname="getVRRSupport"></a>
341
+
## *getVRRSupport*
342
+
343
+
Returns the EDID VRR bit value.
344
+
345
+
### Events
346
+
347
+
No Events
348
+
349
+
### Parameters
350
+
351
+
| Name | Type | Description |
352
+
| :-------- | :-------- | :-------- |
353
+
| params | object ||
354
+
| params?.portId | string | <sup>*(optional)*</sup> An ID of an HDMI/Composite Input port as returned by the `getInputDevices` method |
355
+
356
+
### Result
357
+
358
+
| Name | Type | Description |
359
+
| :-------- | :-------- | :-------- |
360
+
| result | object ||
361
+
| result.vrrSupport | boolean | The VRR bit value in edid |
362
+
| result.success | boolean | Whether the request succeeded |
363
+
364
+
### Example
365
+
366
+
#### Request
367
+
368
+
```json
369
+
{
370
+
"jsonrpc": "2.0",
371
+
"id": 42,
372
+
"method": "org.rdk.AVInput.getVRRSupport",
373
+
"params": {
374
+
"portId": "0"
375
+
}
376
+
}
377
+
```
378
+
379
+
#### Response
380
+
381
+
```json
382
+
{
383
+
"jsonrpc": "2.0",
384
+
"id": 42,
385
+
"result": {
386
+
"vrrSupport": true,
387
+
"success": true
388
+
}
389
+
}
390
+
```
391
+
392
+
<aname="getVRRFrameRate"></a>
393
+
## *getVRRFrameRate*
394
+
395
+
Returns the VRR FrameRate.
396
+
397
+
### Events
398
+
399
+
No Events
400
+
401
+
### Parameters
402
+
403
+
| Name | Type | Description |
404
+
| :-------- | :-------- | :-------- |
405
+
| params | object ||
406
+
| params?.portId | string | <sup>*(optional)*</sup> An ID of an HDMI/Composite Input port as returned by the `getInputDevices` method |
407
+
408
+
### Result
409
+
410
+
| Name | Type | Description |
411
+
| :-------- | :-------- | :-------- |
412
+
| result | object ||
413
+
| result.currentVRRVideoFrameRate | number | The VRR FrameRate |
414
+
| result.success | boolean | Whether the request succeeded |
415
+
416
+
### Example
417
+
418
+
#### Request
419
+
420
+
```json
421
+
{
422
+
"jsonrpc": "2.0",
423
+
"id": 42,
424
+
"method": "org.rdk.AVInput.getVRRFrameRate",
425
+
"params": {
426
+
"portId": "0"
427
+
}
428
+
}
429
+
```
430
+
431
+
#### Response
432
+
433
+
```json
434
+
{
435
+
"jsonrpc": "2.0",
436
+
"id": 42,
437
+
"result": {
438
+
"currentVRRVideoFrameRate": 48.6,
439
+
"success": true
440
+
}
441
+
}
442
+
```
443
+
339
444
<aname="getEdidVersion"></a>
340
445
## *getEdidVersion*
341
446
@@ -787,6 +892,58 @@ No Events
787
892
}
788
893
```
789
894
895
+
<aname="setVRRSupport"></a>
896
+
## *setVRRSupport*
897
+
898
+
Sets an HDMI VRR bit in EDID.
899
+
900
+
### Events
901
+
902
+
No Events
903
+
904
+
### Parameters
905
+
906
+
| Name | Type | Description |
907
+
| :-------- | :-------- | :-------- |
908
+
| params | object ||
909
+
| params.portId | string | An ID of an HDMI/Composite Input port as returned by the `getInputDevices` method |
910
+
| params.vrrSupport | boolean | The VRR support in EDID |
911
+
912
+
### Result
913
+
914
+
| Name | Type | Description |
915
+
| :-------- | :-------- | :-------- |
916
+
| result | object ||
917
+
| result.success | boolean | Whether the request succeeded |
918
+
919
+
### Example
920
+
921
+
#### Request
922
+
923
+
```json
924
+
{
925
+
"jsonrpc": "2.0",
926
+
"id": 42,
927
+
"method": "org.rdk.AVInput.setVRRSupport",
928
+
"params": {
929
+
"portId": "0",
930
+
"vrrSupport": true
931
+
}
932
+
}
933
+
```
934
+
935
+
#### Response
936
+
937
+
```json
938
+
{
939
+
"jsonrpc": "2.0",
940
+
"id": 42,
941
+
"result": {
942
+
"success": true
943
+
}
944
+
}
945
+
```
946
+
790
947
<aname="setEdidVersion"></a>
791
948
## *setEdidVersion*
792
949
@@ -1035,7 +1192,7 @@ No Events
1035
1192
| Name | Type | Description |
1036
1193
| :-------- | :-------- | :-------- |
1037
1194
| result | object ||
1038
-
| result.mode | boolean | The current game feature status. Mode is required only for ALLM. Need to add support for future game features|
1195
+
| result.mode | boolean | The current status of the game features like ALLM, VRR-HDMI, VRR-FREESYNC, VRR-FREESYNC-PREMIUM and VRR-FREESYNC-PREMIUM-PRO|
1039
1196
1040
1197
### Errors
1041
1198
@@ -1086,7 +1243,7 @@ AVInput interface events:
1086
1243
|[onInputStatusChanged](#onInputStatusChanged)| Triggered whenever the status changes for an HDMI/Composite Input |
1087
1244
|[onSignalChanged](#onSignalChanged)| Triggered whenever the signal status changes for an HDMI/Composite Input |
1088
1245
|[videoStreamInfoUpdate](#videoStreamInfoUpdate)| Triggered whenever there is an update in HDMI Input video stream info |
1089
-
|[gameFeatureStatusUpdate](#gameFeatureStatusUpdate)| Triggered whenever game feature(ALLM) status changes for an HDMI Input |
1246
+
|[gameFeatureStatusUpdate](#gameFeatureStatusUpdate)| Triggered whenever game feature status changes for an HDMI Input |
1090
1247
|[hdmiContentTypeUpdate](#hdmiContentTypeUpdate)| Triggered whenever AV Infoframe content type changes for an HDMI Input |
1091
1248
1092
1249
@@ -1221,7 +1378,7 @@ Triggered whenever there is an update in HDMI Input video stream info.
1221
1378
<aname="gameFeatureStatusUpdate"></a>
1222
1379
## *gameFeatureStatusUpdate*
1223
1380
1224
-
Triggered whenever game feature(ALLM) status changes for an HDMI Input.
1381
+
Triggered whenever game feature status changes for an HDMI Input.
1225
1382
1226
1383
### Parameters
1227
1384
@@ -1230,7 +1387,7 @@ Triggered whenever game feature(ALLM) status changes for an HDMI Input.
1230
1387
| params | object ||
1231
1388
| params.id | number | The port identifier for the HDMI/Composite Input |
1232
1389
| params.gameFeature | string | Game Feature to which current status requested |
1233
-
| params.mode | boolean | The current game feature status. Mode is required only for ALLM. Need to add support for future game features|
1390
+
| params.mode | boolean | The current status of the game features like ALLM, VRR-HDMI, VRR-FREESYNC, VRR-FREESYNC-PREMIUM and VRR-FREESYNC-PREMIUM-PRO|
0 commit comments