Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 408c2409 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh Committed by android-build-merger
Browse files

Merge "Fix misc-macro-parentheses warnings in openmax."

am: cb68066d

* commit 'cb68066d':
  Fix misc-macro-parentheses warnings in openmax.

Change-Id: If7ab868482330861222c3371d90957d25b1146eb
parents 17500816 cb68066d
Loading
Loading
Loading
Loading
+18 −18
Original line number Diff line number Diff line
@@ -720,7 +720,7 @@ typedef struct OMX_TUNNELSETUPTYPE
        pComponentVersion,                                  \
        pSpecVersion,                                       \
        pComponentUUID)                                     \
    ((OMX_COMPONENTTYPE*)hComponent)->GetComponentVersion(  \
    ((OMX_COMPONENTTYPE*)(hComponent))->GetComponentVersion(\
        hComponent,                                         \
        pComponentName,                                     \
        pComponentVersion,                                  \
@@ -780,7 +780,7 @@ typedef struct OMX_TUNNELSETUPTYPE
         Cmd,                                               \
         nParam,                                            \
         pCmdData)                                          \
     ((OMX_COMPONENTTYPE*)hComponent)->SendCommand(         \
     ((OMX_COMPONENTTYPE*)(hComponent))->SendCommand(       \
         hComponent,                                        \
         Cmd,                                               \
         nParam,                                            \
@@ -820,7 +820,7 @@ typedef struct OMX_TUNNELSETUPTYPE
        hComponent,                                         \
        nParamIndex,                                        \
        pComponentParameterStructure)                       \
    ((OMX_COMPONENTTYPE*)hComponent)->GetParameter(         \
    ((OMX_COMPONENTTYPE*)(hComponent))->GetParameter(       \
        hComponent,                                         \
        nParamIndex,                                        \
        pComponentParameterStructure)    /* Macro End */
@@ -859,7 +859,7 @@ typedef struct OMX_TUNNELSETUPTYPE
        hComponent,                                         \
        nParamIndex,                                        \
        pComponentParameterStructure)                       \
    ((OMX_COMPONENTTYPE*)hComponent)->SetParameter(         \
    ((OMX_COMPONENTTYPE*)(hComponent))->SetParameter(       \
        hComponent,                                         \
        nParamIndex,                                        \
        pComponentParameterStructure)    /* Macro End */
@@ -895,7 +895,7 @@ typedef struct OMX_TUNNELSETUPTYPE
        hComponent,                                         \
        nConfigIndex,                                       \
        pComponentConfigStructure)                          \
    ((OMX_COMPONENTTYPE*)hComponent)->GetConfig(            \
    ((OMX_COMPONENTTYPE*)(hComponent))->GetConfig(          \
        hComponent,                                         \
        nConfigIndex,                                       \
        pComponentConfigStructure)       /* Macro End */
@@ -931,7 +931,7 @@ typedef struct OMX_TUNNELSETUPTYPE
        hComponent,                                         \
        nConfigIndex,                                       \
        pComponentConfigStructure)                          \
    ((OMX_COMPONENTTYPE*)hComponent)->SetConfig(            \
    ((OMX_COMPONENTTYPE*)(hComponent))->SetConfig(          \
        hComponent,                                         \
        nConfigIndex,                                       \
        pComponentConfigStructure)       /* Macro End */
@@ -965,7 +965,7 @@ typedef struct OMX_TUNNELSETUPTYPE
        hComponent,                                         \
        cParameterName,                                     \
        pIndexType)                                         \
    ((OMX_COMPONENTTYPE*)hComponent)->GetExtensionIndex(    \
    ((OMX_COMPONENTTYPE*)(hComponent))->GetExtensionIndex(  \
        hComponent,                                         \
        cParameterName,                                     \
        pIndexType)                     /* Macro End */
@@ -991,7 +991,7 @@ typedef struct OMX_TUNNELSETUPTYPE
#define OMX_GetState(                                       \
        hComponent,                                         \
        pState)                                             \
    ((OMX_COMPONENTTYPE*)hComponent)->GetState(             \
    ((OMX_COMPONENTTYPE*)(hComponent))->GetState(           \
        hComponent,                                         \
        pState)                         /* Macro End */

@@ -1022,7 +1022,7 @@ typedef struct OMX_TUNNELSETUPTYPE
           pAppPrivate,                                     \
           nSizeBytes,                                      \
           pBuffer)                                         \
    ((OMX_COMPONENTTYPE*)hComponent)->UseBuffer(            \
    ((OMX_COMPONENTTYPE*)(hComponent))->UseBuffer(          \
           hComponent,                                      \
           ppBufferHdr,                                     \
           nPortIndex,                                      \
@@ -1064,7 +1064,7 @@ typedef struct OMX_TUNNELSETUPTYPE
        nPortIndex,                                         \
        pAppPrivate,                                        \
        nSizeBytes)                                         \
    ((OMX_COMPONENTTYPE*)hComponent)->AllocateBuffer(       \
    ((OMX_COMPONENTTYPE*)(hComponent))->AllocateBuffer(     \
        hComponent,                                         \
        ppBuffer,                                           \
        nPortIndex,                                         \
@@ -1098,7 +1098,7 @@ typedef struct OMX_TUNNELSETUPTYPE
        hComponent,                                         \
        nPortIndex,                                         \
        pBuffer)                                            \
    ((OMX_COMPONENTTYPE*)hComponent)->FreeBuffer(           \
    ((OMX_COMPONENTTYPE*)(hComponent))->FreeBuffer(         \
        hComponent,                                         \
        nPortIndex,                                         \
        pBuffer)                        /* Macro End */
@@ -1129,7 +1129,7 @@ typedef struct OMX_TUNNELSETUPTYPE
#define OMX_EmptyThisBuffer(                                \
        hComponent,                                         \
        pBuffer)                                            \
    ((OMX_COMPONENTTYPE*)hComponent)->EmptyThisBuffer(      \
    ((OMX_COMPONENTTYPE*)(hComponent))->EmptyThisBuffer(    \
        hComponent,                                         \
        pBuffer)                        /* Macro End */

@@ -1159,7 +1159,7 @@ typedef struct OMX_TUNNELSETUPTYPE
#define OMX_FillThisBuffer(                                 \
        hComponent,                                         \
        pBuffer)                                            \
    ((OMX_COMPONENTTYPE*)hComponent)->FillThisBuffer(       \
    ((OMX_COMPONENTTYPE*)(hComponent))->FillThisBuffer(     \
        hComponent,                                         \
        pBuffer)                        /* Macro End */

@@ -1201,7 +1201,7 @@ typedef struct OMX_TUNNELSETUPTYPE
           nPortIndex,                                      \
           pAppPrivate,                                     \
           eglImage)                                        \
    ((OMX_COMPONENTTYPE*)hComponent)->UseEGLImage(          \
    ((OMX_COMPONENTTYPE*)(hComponent))->UseEGLImage(        \
           hComponent,                                      \
           ppBufferHdr,                                     \
           nPortIndex,                                      \