From a50ba10be3bd89d5edcc122c8fcfeed4440b9ca7 Mon Sep 17 00:00:00 2001 From: xfengcarl Date: Wed, 25 Oct 2017 21:18:37 +0800 Subject: [PATCH] add decode stream out buffer type stream out buffer include intermedia data of decoder Signed-off-by: Carl.Zhang --- va/va.h | 3 +++ va/va_str.c | 1 + 2 files changed, 4 insertions(+) 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 ""; -- 2.11.0