[x265] [PATCH 03/12] AArch64: Move ipfilter primitives into X265_NS
Hari Limaye
hari.limaye at arm.com
Fri Aug 30 19:19:16 UTC 2024
Move Neon intrinsics implementations of ipfilter primitives into
X265_NS, to allow the symbols to be visible when linking to libx265.
---
source/common/aarch64/filter-prim.cpp | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/source/common/aarch64/filter-prim.cpp b/source/common/aarch64/filter-prim.cpp
index 23bb6990e..1bccb9f86 100644
--- a/source/common/aarch64/filter-prim.cpp
+++ b/source/common/aarch64/filter-prim.cpp
@@ -3,11 +3,9 @@
#include "filter-prim.h"
#include <arm_neon.h>
-namespace
+namespace X265_NS
{
-using namespace X265_NS;
-
#if HIGH_BIT_DEPTH
#define SHIFT_INTERP_PS (IF_FILTER_PREC - (IF_INTERNAL_PREC - X265_DEPTH))
#endif
@@ -658,13 +656,10 @@ void interp_hv_pp_neon(const pixel *src, intptr_t srcStride, pixel *dst, intptr_
-}
-namespace X265_NS
-{
#if defined(__APPLE__)
#define CHROMA_420(W, H) \
p.chroma[X265_CSP_I420].pu[CHROMA_420_ ## W ## x ## H].filter_hpp = interp_horiz_pp_neon<4, W, H>; \
--
2.42.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-AArch64-Move-ipfilter-primitives-into-X265_NS.patch
Type: text/x-patch
Size: 1420 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20240830/64b93088/attachment.bin>
More information about the x265-devel
mailing list