Change flag to allocate contiguous memory 12/226712/2 accepted/tizen/unified/20200306.040249 submit/tizen/20200305.051032
authorJeongmo Yang <jm80.yang@samsung.com>
Thu, 5 Mar 2020 04:32:53 +0000 (13:32 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Thu, 5 Mar 2020 04:38:28 +0000 (13:38 +0900)
[Version] 1.1.1
[Profile] Common
[Issue Type] Update

Change-Id: I678e640187fcd0da528a566d73187d3a56988288
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
packaging/nx-video-api.spec
src/nx_video_alloc.c

index 85d0e84..e7a9bb3 100644 (file)
@@ -1,5 +1,5 @@
 Name:    nx-video-api
-Version: 1.1.0
+Version: 1.1.1
 Release: 0
 License: LGPL-2.1+
 Summary: Nexell video APIs
index 08fab13..4379d0c 100644 (file)
@@ -225,7 +225,11 @@ NX_AllocateVideoMemory (void *bufmgr, int width, int height, int32_t planes, uin
 {
   int gemFd[NX_MAX_PLANES] = { 0, };
   int dmaFd[NX_MAX_PLANES] = { 0, };
+#ifdef TIZEN_FEATURE_ARTIK530
+  int32_t flags = NEXELL_BO_DMA, i = 0;
+#else
   int32_t flags = 0, i = 0;
+#endif
   int32_t luStride, cStride;
   int32_t luVStride, cVStride;
   int32_t stride[NX_MAX_PLANES];