summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxfengcarl <carl.zhang@intel.com>2017-10-26 01:52:06 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2017-11-21 23:27:31 -0800
commita3f3b60d8026c48d72c17ab88c588409d4c520cc (patch)
tree4cdd432dff3a17161a2e4b1498e87c4df929b4fb
parenta50ba10be3bd89d5edcc122c8fcfeed4440b9ca7 (diff)
downloadlibva-a3f3b60d8026c48d72c17ab88c588409d4c520cc.tar.gz
report QP Block Size
Signed-off-by: Carl.Zhang<carl.zhang@intel.com>
-rw-r--r--va/va.h6
-rw-r--r--va/va_str.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/va/va.h b/va/va.h
index 1276794..4fbf4e3 100644
--- a/va/va.h
+++ b/va/va.h
@@ -692,6 +692,12 @@ typedef enum
* application can change the rounding setting by VAEncMiscParameterTypeCustomRoundingControl
*/
VAConfigAttribCustomRoundingControl = 36,
+ /**
+ * \brief Encoding QP info block size attribute. Read-only.
+ * This attribute conveys the block sizes that underlying driver
+ * support for QP info for buffer #VAEncQpBuffer.
+ */
+ VAConfigAttribQPBlockSize = 37,
/**@}*/
VAConfigAttribTypeMax
} VAConfigAttribType;
diff --git a/va/va_str.c b/va/va_str.c
index d321604..6dc5568 100644
--- a/va/va_str.c
+++ b/va/va_str.c
@@ -111,6 +111,7 @@ const char *vaConfigAttribTypeStr(VAConfigAttribType configAttribType)
TOSTR(VAConfigAttribFrameSizeToleranceSupport);
TOSTR(VAConfigAttribEncTileSupport);
TOSTR(VAConfigAttribCustomRoundingControl);
+ TOSTR(VAConfigAttribQPBlockSize);
case VAConfigAttribTypeMax: break;
}
return "<unknown config attribute type>";