Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2018 00:07:59 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r485569 - head/multimedia/libva-intel-hybrid-driver/files
Message-ID:  <201811220007.wAM07xNt069890@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Thu Nov 22 00:07:59 2018
New Revision: 485569
URL: https://svnweb.freebsd.org/changeset/ports/485569

Log:
  multimedia/libva-intel-hybrid-driver: expand patch comments

Modified:
  head/multimedia/libva-intel-hybrid-driver/files/patch-memalign   (contents, props changed)

Modified: head/multimedia/libva-intel-hybrid-driver/files/patch-memalign
==============================================================================
--- head/multimedia/libva-intel-hybrid-driver/files/patch-memalign	Thu Nov 22 00:07:46 2018	(r485568)
+++ head/multimedia/libva-intel-hybrid-driver/files/patch-memalign	Thu Nov 22 00:07:59 2018	(r485569)
@@ -1,5 +1,36 @@
 memalign is Linux-specific, so use C11 aligned_alloc instead
 
+In file included from decode_hybrid_vp9.cpp:68:
+In file included from ./decode_hybrid_vp9.h:42:
+/usr/include/malloc.h:3:2: error: "<malloc.h> has been replaced by <stdlib.h>"
+#error "<malloc.h> has been replaced by <stdlib.h>"
+ ^
+
+intel_hybrid_hostvld_vp9.cpp:428:42: error: use of undeclared identifier 'memalign'
+            (PINTEL_HOSTVLD_VP9_NEIGHBOR)memalign(INTEL_HOSTVLD_VP9_PAGE_SIZE, dwSize);
+                                         ^
+intel_hybrid_hostvld_vp9.cpp:433:9: error: use of undeclared identifier 'memalign'
+        VP9_REALLOCATE_ABOVE_CTX_BUFFER(pFrameInfo->EntropyContextAbove.pu8Buffer, dwSize);
+        ^
+intel_hybrid_hostvld_vp9.cpp:91:31: note: expanded from macro 'VP9_REALLOCATE_ABOVE_CTX_BUFFER'
+    pAboveCtxBuffer = (PUINT8)memalign(INTEL_HOSTVLD_VP9_PAGE_SIZE, size); \
+                              ^
+intel_hybrid_hostvld_vp9.cpp:448:40: error: use of undeclared identifier 'memalign'
+        pFrameInfo->ModeInfo.pBuffer = memalign(INTEL_HOSTVLD_VP9_PAGE_SIZE,
+                                       ^
+intel_hybrid_hostvld_vp9.cpp:457:9: error: use of undeclared identifier 'memalign'
+        VP9_REALLOCATE_HOSTVLD_1D_BUFFER_UINT8(pFrameState->pLastSegIdBuf, dwSize);
+        ^
+intel_hybrid_hostvld_vp9.cpp:99:43: note: expanded from macro 'VP9_REALLOCATE_HOSTVLD_1D_BUFFER_UINT8'
+    (pHostvldBuffer)->pu8Buffer = (PUINT8)memalign(INTEL_HOSTVLD_VP9_PAGE_SIZE, dwBufferSize); \
+                                          ^
+/usr/include/malloc.h:3:2: error: "<malloc.h> has been replaced by <stdlib.h>"
+#error "<malloc.h> has been replaced by <stdlib.h>"
+ ^
+intel_hybrid_debug_dump.cpp:169:20: error: use of undeclared identifier 'memalign'
+     ptr = (char *)memalign(alignment, tmp_size);
+                   ^
+
 --- src/vp9hdec/decode_hybrid_vp9.h.orig	2016-09-07 23:36:28 UTC
 +++ src/vp9hdec/decode_hybrid_vp9.h
 @@ -39,8 +39,6 @@



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811220007.wAM07xNt069890>