From a3f3b60d8026c48d72c17ab88c588409d4c520cc Mon Sep 17 00:00:00 2001 From: xfengcarl Date: Thu, 26 Oct 2017 01:52:06 +0800 Subject: report QP Block Size Signed-off-by: Carl.Zhang --- va/va.h | 6 ++++++ va/va_str.c | 1 + 2 files changed, 7 insertions(+) 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 ""; -- cgit v1.2.1