summaryrefslogtreecommitdiff
path: root/va/va.h
diff options
context:
space:
mode:
Diffstat (limited to 'va/va.h')
-rw-r--r--va/va.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/va/va.h b/va/va.h
index 4c67546..e610a07 100644
--- a/va/va.h
+++ b/va/va.h
@@ -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 */