OSDN Git Service

add decode stream out buffer type
authorxfengcarl <carl.zhang@intel.com>
Wed, 25 Oct 2017 13:18:37 +0000 (21:18 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Wed, 22 Nov 2017 07:27:31 +0000 (23:27 -0800)
stream out buffer include intermedia data of decoder

Signed-off-by: Carl.Zhang<carl.zhang@intel.com>
va/va.h
va/va_str.c

diff --git a/va/va.h b/va/va.h
index d2cbe60..1276794 100644 (file)
--- 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;
 
index 3492a17..d321604 100644 (file)
@@ -151,6 +151,7 @@ const char *vaBufferTypeStr(VABufferType bufferType)
     TOSTR(VAEncFEIMBControlBufferType);
     TOSTR(VAEncFEIMVPredictorBufferType);
     TOSTR(VAEncMacroblockDisableSkipMapBufferType);
+    TOSTR(VADecodeStreamoutBufferType);
     case VABufferTypeMax: break;
     }
     return "<unknown buffer type>";