summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxfengcarl <carl.zhang@intel.com>2017-10-25 21:18:37 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2017-11-21 23:27:31 -0800
commita50ba10be3bd89d5edcc122c8fcfeed4440b9ca7 (patch)
treed22337c62a7e59f0c50a487416c76ad834ec6465
parent7493f357d9ca6ea42ed086d7d46ac6219ab4df33 (diff)
downloadlibva-a50ba10be3bd89d5edcc122c8fcfeed4440b9ca7.tar.gz
add decode stream out buffer type
stream out buffer include intermedia data of decoder Signed-off-by: Carl.Zhang<carl.zhang@intel.com>
-rw-r--r--va/va.h3
-rw-r--r--va/va_str.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/va/va.h b/va/va.h
index d2cbe60..1276794 100644
--- a/va/va.h
+++ b/va/va.h
@@ -1551,6 +1551,9 @@ typedef enum
*surface, it will override the "skipCheckDisable" setting in VAEncMiscParameterEncQuality.
*/
VAEncMacroblockDisableSkipMapBufferType = 53,
+ /** decode stream out buffer, intermedia data of decode, it may include MV, MB mode etc.
+ * it can be used to detect motion and analyze the frame contain */
+ VADecodeStreamoutBufferType = 56,
VABufferTypeMax
} VABufferType;
diff --git a/va/va_str.c b/va/va_str.c
index 3492a17..d321604 100644
--- a/va/va_str.c
+++ b/va/va_str.c
@@ -151,6 +151,7 @@ const char *vaBufferTypeStr(VABufferType bufferType)
TOSTR(VAEncFEIMBControlBufferType);
TOSTR(VAEncFEIMVPredictorBufferType);
TOSTR(VAEncMacroblockDisableSkipMapBufferType);
+ TOSTR(VADecodeStreamoutBufferType);
case VABufferTypeMax: break;
}
return "<unknown buffer type>";