X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=openmax%2Fosal%2FExynos_OSAL_Platform_Specific.c;h=9ae846cf27782c4487aa74b1d96348f0ff902643;hb=refs%2Ftags%2Faccepted%2Ftizen%2Funified%2F20170915.191009;hp=e82d3d99c859cfacb45e2e0cb74410714f0b5d1f;hpb=209a5e483e5bf95c12e79cac71a0018225b62c06;p=platform%2Fadaptation%2Fap_samsung%2Flibomxil-e3250-v4l2.git diff --git a/openmax/osal/Exynos_OSAL_Platform_Specific.c b/openmax/osal/Exynos_OSAL_Platform_Specific.c index e82d3d9..9ae846c 100755 --- a/openmax/osal/Exynos_OSAL_Platform_Specific.c +++ b/openmax/osal/Exynos_OSAL_Platform_Specific.c @@ -28,6 +28,7 @@ #include #include +#include #include #include "Exynos_OSAL_Semaphore.h" @@ -105,9 +106,9 @@ OMX_ERRORTYPE Exynos_OSAL_LockPBHandle( vplanes[2].addr = vaddr[2]; Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "%s: buffer locked: 0x%x", __func__, *vaddr); -#endif EXIT: +#endif FunctionOut(); return ret; @@ -132,9 +133,10 @@ OMX_ERRORTYPE Exynos_OSAL_UnlockPBHandle(OMX_IN OMX_U32 handle) } Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "%s: buffer unlocked: 0x%x", __func__, handle); -#endif EXIT: +#endif + FunctionOut(); return ret; @@ -177,7 +179,6 @@ OMX_ERRORTYPE Exynos_OSAL_LockPB( *pStride = pANB->stride; #endif -EXIT: FunctionOut(); return ret; @@ -461,7 +462,6 @@ OMX_ERRORTYPE Exynos_OSAL_SetPBParameter( OMX_ERRORTYPE ret = OMX_ErrorNone; OMX_COMPONENTTYPE *pOMXComponent = NULL; EXYNOS_OMX_BASECOMPONENT *pExynosComponent = NULL; - EXYNOS_OMX_VIDEODEC_COMPONENT *pVideoDec = NULL; FunctionIn(); @@ -492,8 +492,6 @@ OMX_ERRORTYPE Exynos_OSAL_SetPBParameter( goto EXIT; } - pVideoDec = (EXYNOS_OMX_VIDEODEC_COMPONENT *)pExynosComponent->hComponentHandle; - switch (nIndex) { #ifdef TIZEN_FEATURE_E3250 case OMX_IndexParamEnablePlatformSpecificBuffers: