summaryrefslogtreecommitdiffstats
path: root/exynos
diff options
context:
space:
mode:
authorrogersb11 <brettrogers11@gmail.com>2015-10-12 22:03:21 -0400
committerEthan Chen <intervigil@gmail.com>2015-11-09 14:07:55 -0800
commitdbf394e8477a258df05fcf76feb267888931e18a (patch)
tree1b8904e46a01c4e3595a99832f259d6509ca569b /exynos
parent822b70bd53178d75372902b643256a0f05767d0e (diff)
downloadandroid_hardware_samsung-dbf394e8477a258df05fcf76feb267888931e18a.tar.gz
android_hardware_samsung-dbf394e8477a258df05fcf76feb267888931e18a.tar.bz2
android_hardware_samsung-dbf394e8477a258df05fcf76feb267888931e18a.zip
samsung: Compilation fixes
* Add missing headers * Cast values to correct types Change-Id: Iaf621c562e884daeb22f6ec700d6989ba6ba1aef
Diffstat (limited to 'exynos')
-rw-r--r--exynos/multimedia/openmax/osal/SEC_OSAL_Android.cpp2
-rw-r--r--exynos/multimedia/utils/csc/exynos4/csc_fimc.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/exynos/multimedia/openmax/osal/SEC_OSAL_Android.cpp b/exynos/multimedia/openmax/osal/SEC_OSAL_Android.cpp
index 1f0231a..40cfd2b 100644
--- a/exynos/multimedia/openmax/osal/SEC_OSAL_Android.cpp
+++ b/exynos/multimedia/openmax/osal/SEC_OSAL_Android.cpp
@@ -134,7 +134,7 @@ OMX_ERRORTYPE SEC_OSAL_LockANBHandle(
OMX_ERRORTYPE ret = OMX_ErrorNone;
GraphicBufferMapper &mapper = GraphicBufferMapper::get();
buffer_handle_t bufferHandle = (buffer_handle_t) handle;
- Rect bounds(width, height);
+ Rect bounds((uint32_t)width, (uint32_t)height);
SEC_OSAL_Log(SEC_LOG_TRACE, "%s: handle: 0x%x", __func__, handle);
diff --git a/exynos/multimedia/utils/csc/exynos4/csc_fimc.cpp b/exynos/multimedia/utils/csc/exynos4/csc_fimc.cpp
index a8e6b67..18ecebf 100644
--- a/exynos/multimedia/utils/csc/exynos4/csc_fimc.cpp
+++ b/exynos/multimedia/utils/csc/exynos4/csc_fimc.cpp
@@ -28,6 +28,7 @@
*/
#include <utils/Log.h>
+#include <errno.h>
#include <dlfcn.h>
#include "SEC_OMX_Def.h"