OSDN Git Service

omx: add (temporary) index for automatic video frc support
authorLajos Molnar <lajos@google.com>
Thu, 6 Nov 2014 18:47:41 +0000 (10:47 -0800)
committerLajos Molnar <lajos@google.com>
Thu, 20 Nov 2014 00:09:49 +0000 (16:09 -0800)
Bug: 17383204
Change-Id: I9b22da03ea3f2a7d9dd85042fff442d2414cbc26

include/media/openmax/OMX_AsString.h
include/media/openmax/OMX_IndexExt.h

index 18e1e52..0f177a1 100644 (file)
@@ -520,7 +520,7 @@ inline static const char *asString(OMX_INDEXEXTTYPE i, const char *def = "??") {
         case OMX_IndexParamVideoAndroidVp8Encoder:      return "ParamVideoAndroidVp8Encoder";
         case OMX_IndexParamVideoHevc:                   return "ParamVideoHevc";
 //      case OMX_IndexParamSliceSegments:               return "ParamSliceSegments";
-//      case OMX_IndexConfigAutoFramerateConversion:    return "ConfigAutoFramerateConversion";
+        case OMX_IndexConfigAutoFramerateConversion:    return "ConfigAutoFramerateConversion";
         default:                                        return asString((OMX_INDEXTYPE)i, def);
     }
 }
index 6cd774b..699efcb 100644 (file)
@@ -81,6 +81,7 @@ typedef enum OMX_INDEXEXTTYPE {
 
     /* Other configurations */
     OMX_IndexExtOtherStartUnused = OMX_IndexKhronosExtensions + 0x00800000,
+    OMX_IndexConfigAutoFramerateConversion,         /**< reference: OMX_CONFIG_BOOLEANTYPE */
 
     /* Time configurations */
     OMX_IndexExtTimeStartUnused = OMX_IndexKhronosExtensions + 0x00900000,