diff --git a/va/va.h b/va/va.h index a4dda28a5..30850566e 100644 --- a/va/va.h +++ b/va/va.h @@ -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; diff --git a/va/va_str.c b/va/va_str.c index b47bf69a2..dae9a3931 100644 --- a/va/va_str.c +++ b/va/va_str.c @@ -155,6 +155,7 @@ const char *vaConfigAttribTypeStr(VAConfigAttribType configAttribType) TOSTR(VAConfigAttribEncMaxTileRows); TOSTR(VAConfigAttribEncMaxTileCols); TOSTR(VAConfigAttribEncVP9); + TOSTR(VAConfigAttribLowLatency); case VAConfigAttribTypeMax: break; }