diff options
-rw-r--r-- | va/va.h | 16 | ||||
-rw-r--r-- | va/va_str.c | 1 |
2 files changed, 17 insertions, 0 deletions
@@ -783,6 +783,10 @@ typedef enum * implementation, multiple frames encode/decode can improve HW concurrency */ VAConfigAttribMultipleFrame = 40, + /** \brief priority setting for the context. Read-Write + * attribute value is \c VAConfigAttribValContextPriority + */ + VAConfigAttribContextPriority = 41, /**@}*/ VAConfigAttribTypeMax } VAConfigAttribType; @@ -1141,6 +1145,18 @@ typedef union _VAConfigAttribValMultipleFrame { uint32_t value; }VAConfigAttribValMultipleFrame; +/** brief Attribute value VAConfigAttribValContestPriority */ +typedef union _VAConfigAttribValContextPriority{ + struct{ + /** \brief the priority , for the Query operation (read) it represents highest priority + * for the set operation (write), value should be [0~highest priority] , 0 is lowest priority*/ + uint32_t priority :16; + /** \brief reserved bits for future, must be zero*/ + uint32_t reserved :16; + }bits; + uint32_t value; +}VAConfigAttribValContextPriority; + /** @name Attribute values for VAConfigAttribProcessingRate. */ /**@{*/ /** \brief Driver does not support processing rate report */ diff --git a/va/va_str.c b/va/va_str.c index 716e20d..4b631ca 100644 --- a/va/va_str.c +++ b/va/va_str.c @@ -129,6 +129,7 @@ const char *vaConfigAttribTypeStr(VAConfigAttribType configAttribType) TOSTR(VAConfigAttribMaxFrameSize); TOSTR(VAConfigAttribPredictionDirection); TOSTR(VAConfigAttribMultipleFrame); + TOSTR(VAConfigAttribContextPriority); case VAConfigAttribTypeMax: break; } return "<unknown config attribute type>"; |