From: Jeongmo Yang Date: Thu, 5 Mar 2020 04:32:53 +0000 (+0900) Subject: Change flag to allocate contiguous memory X-Git-Tag: accepted/tizen/unified/20200306.040249^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0bf3c5b329e6945d000f32426980b2396590efb8;p=platform%2Fadaptation%2Fnexell%2Fnx-video-api.git Change flag to allocate contiguous memory [Version] 1.1.1 [Profile] Common [Issue Type] Update Change-Id: I678e640187fcd0da528a566d73187d3a56988288 Signed-off-by: Jeongmo Yang --- diff --git a/packaging/nx-video-api.spec b/packaging/nx-video-api.spec index 85d0e84..e7a9bb3 100644 --- a/packaging/nx-video-api.spec +++ b/packaging/nx-video-api.spec @@ -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 diff --git a/src/nx_video_alloc.c b/src/nx_video_alloc.c index 08fab13..4379d0c 100644 --- a/src/nx_video_alloc.c +++ b/src/nx_video_alloc.c @@ -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];