for callback invoke when resolution is changed
[platform/adaptation/ap_samsung/libomxil-e3250-v4l2.git] / openmax / osal / Exynos_OSAL_SharedMemory.c
old mode 100644 (file)
new mode 100755 (executable)
index 6fa1a25..93c2416
@@ -31,7 +31,7 @@
 #include <string.h>
 #include <errno.h>
 #include <pthread.h>
-#ifndef SLP_PLATFORM /* build env */
+#ifndef TIZEN_FEATURE_E3250 /* build env */
 #include <cutils/log.h>
 #include <cutils/atomic.h>
 #endif
@@ -211,7 +211,7 @@ OMX_PTR Exynos_OSAL_SharedMemory_Alloc(OMX_HANDLETYPE handle, OMX_U32 size, MEMO
     Exynos_OSAL_MutexUnlock(pHandle->hSMMutex);
 
     mem_cnt++;
-#ifndef SLP_PLATFORM
+#ifndef TIZEN_FEATURE_E3250
     Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "SharedMemory alloc count: %d", mem_cnt);
 #else
     Exynos_OSAL_Log(EXYNOS_LOG_VERVOSE, "SharedMemory alloc count: %d", mem_cnt);
@@ -273,7 +273,7 @@ void Exynos_OSAL_SharedMemory_Free(OMX_HANDLETYPE handle, OMX_PTR pBuffer)
     Exynos_OSAL_Free(pDeleteElement);
 
     mem_cnt--;
-#ifndef SLP_PLATFORM
+#ifndef TIZEN_FEATURE_E3250
     Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "SharedMemory free count: %d", mem_cnt);
 #else
     Exynos_OSAL_Log(EXYNOS_LOG_VERVOSE, "SharedMemory free count: %d", mem_cnt);
@@ -334,7 +334,7 @@ OMX_PTR Exynos_OSAL_SharedMemory_Map(OMX_HANDLETYPE handle, OMX_U32 size, unsign
     Exynos_OSAL_MutexUnlock(pHandle->hSMMutex);
 
     mem_cnt++;
-#ifndef SLP_PLATFORM
+#ifndef TIZEN_FEATURE_E3250
     Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "SharedMemory alloc count: %d", mem_cnt);
 #else
     Exynos_OSAL_Log(EXYNOS_LOG_VERVOSE, "SharedMemory alloc count: %d", mem_cnt);
@@ -393,7 +393,7 @@ void Exynos_OSAL_SharedMemory_Unmap(OMX_HANDLETYPE handle, unsigned int ionfd)
     Exynos_OSAL_Free(pDeleteElement);
 
     mem_cnt--;
-#ifndef SLP_PLATFORM
+#ifndef TIZEN_FEATURE_E3250
     Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "SharedMemory free count: %d", mem_cnt);
 #else
     Exynos_OSAL_Log(EXYNOS_LOG_VERVOSE, "SharedMemory free count: %d", mem_cnt);