Skip to content

Commit 0d5f2b0

Browse files
committed
va: Add VAConfigAttribLowLatency
Driver should minimize latency of operations, possibly at the cost of increased power use. Signed-off-by: David Rosca <[email protected]>
1 parent 25381db commit 0d5f2b0

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

va/va.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,6 +1062,19 @@ typedef enum {
10621062
* VAConfigAttribValEncVP9 union.
10631063
*/
10641064
VAConfigAttribEncVP9 = 58,
1065+
1066+
/**
1067+
* \brief Low latency context. Read/write.
1068+
*
1069+
* This attribute determines if the driver supports low latency context,
1070+
* through vaGetConfigAttributes(); and the user requests low latency context
1071+
* through vaCreateConfig(), if the driver supports it.
1072+
*
1073+
* Driver should minimize latency of operations, possibly at the cost of
1074+
* increased power use.
1075+
*/
1076+
VAConfigAttribLowLatency = 59,
1077+
10651078
/**@}*/
10661079
VAConfigAttribTypeMax
10671080
} VAConfigAttribType;

va/va_str.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ const char *vaConfigAttribTypeStr(VAConfigAttribType configAttribType)
155155
TOSTR(VAConfigAttribEncMaxTileRows);
156156
TOSTR(VAConfigAttribEncMaxTileCols);
157157
TOSTR(VAConfigAttribEncVP9);
158+
TOSTR(VAConfigAttribLowLatency);
158159
case VAConfigAttribTypeMax:
159160
break;
160161
}

0 commit comments

Comments
 (0)