Skip to content

Commit f4c33f5

Browse files
nowrepXinfengZhang
authored andcommitted
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 98a86ce commit f4c33f5

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
@@ -1063,6 +1063,19 @@ typedef enum {
10631063
* VAConfigAttribValEncVP9 union.
10641064
*/
10651065
VAConfigAttribEncVP9 = 58,
1066+
1067+
/**
1068+
* \brief Low latency context. Read/write.
1069+
*
1070+
* This attribute determines if the driver supports low latency context,
1071+
* through vaGetConfigAttributes(); and the user requests low latency context
1072+
* through vaCreateConfig(), if the driver supports it.
1073+
*
1074+
* Driver should minimize latency of operations, possibly at the cost of
1075+
* increased power use.
1076+
*/
1077+
VAConfigAttribLowLatency = 59,
1078+
10661079
/**@}*/
10671080
VAConfigAttribTypeMax
10681081
} VAConfigAttribType;

va/va_str.c

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

0 commit comments

Comments
 (0)