diff options
author | 2016-05-27 17:58:01 +0000 | |
---|---|---|
committer | 2016-05-27 17:58:01 +0000 | |
commit | a623d136730c5f87d49030e521dc702901b5b6ea (patch) | |
tree | ac2f7e6e750e1ed12b503874855d66dae2dce772 | |
parent | 95e76d6b820adb487a22dc878a28f09bdffa5fa7 (diff) | |
parent | 408c24097392d52c38bd0e26e3d9a3c76e4cc0a4 (diff) |
Merge "Fix misc-macro-parentheses warnings in openmax." am: cb68066d06
am: 408c240973
* commit '408c24097392d52c38bd0e26e3d9a3c76e4cc0a4':
Fix misc-macro-parentheses warnings in openmax.
Change-Id: I987a1c8cbd2b28becc7df69912cd0d88ed17c52d
-rw-r--r-- | include/media/openmax/OMX_Core.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/include/media/openmax/OMX_Core.h b/include/media/openmax/OMX_Core.h index 99a7622838..eeacf43569 100644 --- a/include/media/openmax/OMX_Core.h +++ b/include/media/openmax/OMX_Core.h @@ -735,7 +735,7 @@ typedef struct OMX_TUNNELSETUPTYPE pComponentVersion, \ pSpecVersion, \ pComponentUUID) \ - ((OMX_COMPONENTTYPE*)hComponent)->GetComponentVersion( \ + ((OMX_COMPONENTTYPE*)(hComponent))->GetComponentVersion(\ hComponent, \ pComponentName, \ pComponentVersion, \ @@ -795,7 +795,7 @@ typedef struct OMX_TUNNELSETUPTYPE Cmd, \ nParam, \ pCmdData) \ - ((OMX_COMPONENTTYPE*)hComponent)->SendCommand( \ + ((OMX_COMPONENTTYPE*)(hComponent))->SendCommand( \ hComponent, \ Cmd, \ nParam, \ @@ -834,8 +834,8 @@ typedef struct OMX_TUNNELSETUPTYPE #define OMX_GetParameter( \ hComponent, \ nParamIndex, \ - pComponentParameterStructure) \ - ((OMX_COMPONENTTYPE*)hComponent)->GetParameter( \ + pComponentParameterStructure) \ + ((OMX_COMPONENTTYPE*)(hComponent))->GetParameter( \ hComponent, \ nParamIndex, \ pComponentParameterStructure) /* Macro End */ @@ -873,8 +873,8 @@ typedef struct OMX_TUNNELSETUPTYPE #define OMX_SetParameter( \ hComponent, \ nParamIndex, \ - pComponentParameterStructure) \ - ((OMX_COMPONENTTYPE*)hComponent)->SetParameter( \ + pComponentParameterStructure) \ + ((OMX_COMPONENTTYPE*)(hComponent))->SetParameter( \ hComponent, \ nParamIndex, \ pComponentParameterStructure) /* Macro End */ @@ -909,8 +909,8 @@ typedef struct OMX_TUNNELSETUPTYPE #define OMX_GetConfig( \ hComponent, \ nConfigIndex, \ - pComponentConfigStructure) \ - ((OMX_COMPONENTTYPE*)hComponent)->GetConfig( \ + pComponentConfigStructure) \ + ((OMX_COMPONENTTYPE*)(hComponent))->GetConfig( \ hComponent, \ nConfigIndex, \ pComponentConfigStructure) /* Macro End */ @@ -945,8 +945,8 @@ typedef struct OMX_TUNNELSETUPTYPE #define OMX_SetConfig( \ hComponent, \ nConfigIndex, \ - pComponentConfigStructure) \ - ((OMX_COMPONENTTYPE*)hComponent)->SetConfig( \ + pComponentConfigStructure) \ + ((OMX_COMPONENTTYPE*)(hComponent))->SetConfig( \ hComponent, \ nConfigIndex, \ pComponentConfigStructure) /* Macro End */ @@ -980,7 +980,7 @@ typedef struct OMX_TUNNELSETUPTYPE hComponent, \ cParameterName, \ pIndexType) \ - ((OMX_COMPONENTTYPE*)hComponent)->GetExtensionIndex( \ + ((OMX_COMPONENTTYPE*)(hComponent))->GetExtensionIndex( \ hComponent, \ cParameterName, \ pIndexType) /* Macro End */ @@ -1006,7 +1006,7 @@ typedef struct OMX_TUNNELSETUPTYPE #define OMX_GetState( \ hComponent, \ pState) \ - ((OMX_COMPONENTTYPE*)hComponent)->GetState( \ + ((OMX_COMPONENTTYPE*)(hComponent))->GetState( \ hComponent, \ pState) /* Macro End */ @@ -1037,7 +1037,7 @@ typedef struct OMX_TUNNELSETUPTYPE pAppPrivate, \ nSizeBytes, \ pBuffer) \ - ((OMX_COMPONENTTYPE*)hComponent)->UseBuffer( \ + ((OMX_COMPONENTTYPE*)(hComponent))->UseBuffer( \ hComponent, \ ppBufferHdr, \ nPortIndex, \ @@ -1079,7 +1079,7 @@ typedef struct OMX_TUNNELSETUPTYPE nPortIndex, \ pAppPrivate, \ nSizeBytes) \ - ((OMX_COMPONENTTYPE*)hComponent)->AllocateBuffer( \ + ((OMX_COMPONENTTYPE*)(hComponent))->AllocateBuffer( \ hComponent, \ ppBuffer, \ nPortIndex, \ @@ -1113,7 +1113,7 @@ typedef struct OMX_TUNNELSETUPTYPE hComponent, \ nPortIndex, \ pBuffer) \ - ((OMX_COMPONENTTYPE*)hComponent)->FreeBuffer( \ + ((OMX_COMPONENTTYPE*)(hComponent))->FreeBuffer( \ hComponent, \ nPortIndex, \ pBuffer) /* Macro End */ @@ -1144,7 +1144,7 @@ typedef struct OMX_TUNNELSETUPTYPE #define OMX_EmptyThisBuffer( \ hComponent, \ pBuffer) \ - ((OMX_COMPONENTTYPE*)hComponent)->EmptyThisBuffer( \ + ((OMX_COMPONENTTYPE*)(hComponent))->EmptyThisBuffer( \ hComponent, \ pBuffer) /* Macro End */ @@ -1174,7 +1174,7 @@ typedef struct OMX_TUNNELSETUPTYPE #define OMX_FillThisBuffer( \ hComponent, \ pBuffer) \ - ((OMX_COMPONENTTYPE*)hComponent)->FillThisBuffer( \ + ((OMX_COMPONENTTYPE*)(hComponent))->FillThisBuffer( \ hComponent, \ pBuffer) /* Macro End */ @@ -1216,7 +1216,7 @@ typedef struct OMX_TUNNELSETUPTYPE nPortIndex, \ pAppPrivate, \ eglImage) \ - ((OMX_COMPONENTTYPE*)hComponent)->UseEGLImage( \ + ((OMX_COMPONENTTYPE*)(hComponent))->UseEGLImage( \ hComponent, \ ppBufferHdr, \ nPortIndex, \ |