diff --git a/va/va.h b/va/va.h index 928703ee4..3270f7d3f 100644 --- a/va/va.h +++ b/va/va.h @@ -1063,6 +1063,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; diff --git a/va/va_str.c b/va/va_str.c index 000d1166a..03c3f40db 100644 --- a/va/va_str.c +++ b/va/va_str.c @@ -156,6 +156,7 @@ const char *vaConfigAttribTypeStr(VAConfigAttribType configAttribType) TOSTR(VAConfigAttribEncMaxTileRows); TOSTR(VAConfigAttribEncMaxTileCols); TOSTR(VAConfigAttribEncVP9); + TOSTR(VAConfigAttribLowLatency); case VAConfigAttribTypeMax: break; }