projects
/
platform
/
adaptation
/
ap_samsung
/
libomxil-e3250-v4l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove build warnings and fixed svace issues
[platform/adaptation/ap_samsung/libomxil-e3250-v4l2.git]
/
openmax
/
osal
/
Exynos_OSAL_Platform_Specific.c
diff --git
a/openmax/osal/Exynos_OSAL_Platform_Specific.c
b/openmax/osal/Exynos_OSAL_Platform_Specific.c
index
e82d3d9
..
9ae846c
100755
(executable)
--- a/
openmax/osal/Exynos_OSAL_Platform_Specific.c
+++ b/
openmax/osal/Exynos_OSAL_Platform_Specific.c
@@
-28,6
+28,7
@@
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <mm_types.h>
#include "Exynos_OSAL_Semaphore.h"
#include <mm_types.h>
#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);
vplanes[2].addr = vaddr[2];
Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "%s: buffer locked: 0x%x", __func__, *vaddr);
-#endif
EXIT:
EXIT:
+#endif
FunctionOut();
return ret;
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);
}
Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "%s: buffer unlocked: 0x%x", __func__, handle);
-#endif
EXIT:
EXIT:
+#endif
+
FunctionOut();
return ret;
FunctionOut();
return ret;
@@
-177,7
+179,6
@@
OMX_ERRORTYPE Exynos_OSAL_LockPB(
*pStride = pANB->stride;
#endif
*pStride = pANB->stride;
#endif
-EXIT:
FunctionOut();
return ret;
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;
OMX_ERRORTYPE ret = OMX_ErrorNone;
OMX_COMPONENTTYPE *pOMXComponent = NULL;
EXYNOS_OMX_BASECOMPONENT *pExynosComponent = NULL;
- EXYNOS_OMX_VIDEODEC_COMPONENT *pVideoDec = NULL;
FunctionIn();
FunctionIn();
@@
-492,8
+492,6
@@
OMX_ERRORTYPE Exynos_OSAL_SetPBParameter(
goto EXIT;
}
goto EXIT;
}
- pVideoDec = (EXYNOS_OMX_VIDEODEC_COMPONENT *)pExynosComponent->hComponentHandle;
-
switch (nIndex) {
#ifdef TIZEN_FEATURE_E3250
case OMX_IndexParamEnablePlatformSpecificBuffers:
switch (nIndex) {
#ifdef TIZEN_FEATURE_E3250
case OMX_IndexParamEnablePlatformSpecificBuffers: