OSDN Git Service

add perMB skip disable control.
authorxfengcarl <carl.zhang@intel.com>
Tue, 24 Oct 2017 12:49:43 +0000 (20:49 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Wed, 22 Nov 2017 07:27:31 +0000 (23:27 -0800)
per MB skip buffer can disable skip/direct for each MB
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 8cbde80..28a532f 100644 (file)
--- a/va/va.h
+++ b/va/va.h
@@ -1544,6 +1544,13 @@ typedef enum
     VAEncFEIDistortionBufferType        = 45,
     VAEncFEIMBControlBufferType         = 46,
     VAEncFEIMVPredictorBufferType       = 47,
+    /** Force MB's to be non skip for encode.it's per-mb control buffer, The width of the MB map
+     * Surface is (width of the Picture in MB unit) * 1 byte, multiple of 64 bytes.
+     * The height is (height of the picture in MB unit). The picture is either
+     * frame or non-interleaved top or bottom field.  If the application provides this
+     *surface, it will override the "skipCheckDisable" setting in VAEncMiscParameterEncQuality.
+     */
+    VAEncMacroblockDisableSkipMapBufferType = 53,
     VABufferTypeMax
 } VABufferType;
 
index 3c85455..3492a17 100644 (file)
@@ -150,6 +150,7 @@ const char *vaBufferTypeStr(VABufferType bufferType)
     TOSTR(VAEncFEIDistortionBufferType);
     TOSTR(VAEncFEIMBControlBufferType);
     TOSTR(VAEncFEIMVPredictorBufferType);
+    TOSTR(VAEncMacroblockDisableSkipMapBufferType);
     case VABufferTypeMax: break;
     }
     return "<unknown buffer type>";