Skip to content

Commit

Permalink
va: Add VAConfigAttribLowLatency
Browse files Browse the repository at this point in the history
Driver should minimize latency of operations, possibly at the cost of
increased power use.

Signed-off-by: David Rosca <[email protected]>
  • Loading branch information
nowrep committed Nov 27, 2024
1 parent 25381db commit 0d5f2b0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions va/va.h
Original file line number Diff line number Diff line change
Expand Up @@ -1062,6 +1062,19 @@ typedef enum {
* VAConfigAttribValEncVP9 union.
*/
VAConfigAttribEncVP9 = 58,

/**
* \brief Low latency context. Read/write.
*
* This attribute determines if the driver supports low latency context,
* through vaGetConfigAttributes(); and the user requests low latency context
* through vaCreateConfig(), if the driver supports it.
*
* Driver should minimize latency of operations, possibly at the cost of
* increased power use.
*/
VAConfigAttribLowLatency = 59,

/**@}*/
VAConfigAttribTypeMax
} VAConfigAttribType;
Expand Down
1 change: 1 addition & 0 deletions va/va_str.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ const char *vaConfigAttribTypeStr(VAConfigAttribType configAttribType)
TOSTR(VAConfigAttribEncMaxTileRows);
TOSTR(VAConfigAttribEncMaxTileCols);
TOSTR(VAConfigAttribEncVP9);
TOSTR(VAConfigAttribLowLatency);
case VAConfigAttribTypeMax:
break;
}
Expand Down

0 comments on commit 0d5f2b0

Please sign in to comment.