OSDN Git Service

add Encoding quantization
[android-x86/hardware-intel-common-libva.git] / va / va_str.c
index af8180b..359fab9 100644 (file)
@@ -52,6 +52,7 @@ const char *vaProfileStr(VAProfile profile)
     TOSTR(VAProfileVP9Profile1);
     TOSTR(VAProfileVP9Profile2);
     TOSTR(VAProfileVP9Profile3);
+    default: break;
     }
     return "<unknown profile>";
 }
@@ -95,6 +96,13 @@ const char *vaConfigAttribTypeStr(VAConfigAttribType configAttribType)
     TOSTR(VAConfigAttribEncSkipFrame);
     TOSTR(VAConfigAttribEncROI);
     TOSTR(VAConfigAttribEncRateControlExt);
+    TOSTR(VAConfigAttribFEIFunctionType);
+    TOSTR(VAConfigAttribFEIMVPredictors);
+    TOSTR(VAConfigAttribDecJPEG);
+    TOSTR(VAConfigAttribMaxPictureWidth);
+    TOSTR(VAConfigAttribMaxPictureHeight);
+    TOSTR(VAConfigAttribEncQuantization);
+    case VAConfigAttribTypeMax: break;
     }
     return "<unknown config attribute type>";
 }
@@ -127,6 +135,13 @@ const char *vaBufferTypeStr(VABufferType bufferType)
     TOSTR(VAEncMacroblockMapBufferType);
     TOSTR(VAProcPipelineParameterBufferType);
     TOSTR(VAProcFilterParameterBufferType);
+    TOSTR(VAEncQPBufferType);
+    TOSTR(VAEncFEIMVBufferType);
+    TOSTR(VAEncFEIMBCodeBufferType);
+    TOSTR(VAEncFEIDistortionBufferType);
+    TOSTR(VAEncFEIMBControlBufferType);
+    TOSTR(VAEncFEIMVPredictorBufferType);
+    case VABufferTypeMax: break;
     }
     return "<unknown buffer type>";
 }