[x265] [PATCH] AArch64: Move neon-sve-bridge.h inclusion to SVE/SVE2 sources

Karam Singh karam.singh at multicorewareinc.com
Thu Oct 10 08:59:15 UTC 2024


This patch has been pushed to the master branch.
*__________________________*
*Karam Singh*
*Ph.D. IIT Guwahati*
Senior Software (Video Coding) Engineer
Mobile: +91 8011279030
Block 9A, 6th floor, DLF Cyber City
Manapakkam, Chennai 600 089


On Mon, Oct 7, 2024 at 8:24 PM Hari Limaye <hari.limaye at arm.com> wrote:

> Move the inclusion of neon-sve-bridge.h from sao-prim.h to the SVE/SVE2
> source files where it is required, so that this header no longer
> requires building with SVE/SVE2 feature flags.
> ---
>  source/common/aarch64/sao-prim-sve.cpp  | 1 +
>  source/common/aarch64/sao-prim-sve2.cpp | 1 +
>  source/common/aarch64/sao-prim.h        | 1 -
>  3 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/source/common/aarch64/sao-prim-sve.cpp
> b/source/common/aarch64/sao-prim-sve.cpp
> index 889b42a79..47b3a7d69 100644
> --- a/source/common/aarch64/sao-prim-sve.cpp
> +++ b/source/common/aarch64/sao-prim-sve.cpp
> @@ -22,6 +22,7 @@
>
> *****************************************************************************/
>
>  #include "sao-prim.h"
> +#include "neon-sve-bridge.h"
>
>  /*
>   * Compute Edge Offset statistics (count and stats).
> diff --git a/source/common/aarch64/sao-prim-sve2.cpp
> b/source/common/aarch64/sao-prim-sve2.cpp
> index 0653537e5..ca67e0544 100644
> --- a/source/common/aarch64/sao-prim-sve2.cpp
> +++ b/source/common/aarch64/sao-prim-sve2.cpp
> @@ -22,6 +22,7 @@
>
> *****************************************************************************/
>
>  #include "sao-prim.h"
> +#include "neon-sve-bridge.h"
>
>  static inline uint8x16_t sve_count(int8x16_t in)
>  {
> diff --git a/source/common/aarch64/sao-prim.h
> b/source/common/aarch64/sao-prim.h
> index 8258bd477..e25f90fc1 100644
> --- a/source/common/aarch64/sao-prim.h
> +++ b/source/common/aarch64/sao-prim.h
> @@ -24,7 +24,6 @@
>  #ifndef X265_COMMON_AARCH64_SAO_PRIM_H
>  #define X265_COMMON_AARCH64_SAO_PRIM_H
>
> -#include "neon-sve-bridge.h"
>  #include "primitives.h"
>  #include <arm_neon.h>
>
> --
> 2.42.1
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20241010/66019946/attachment.htm>


More information about the x265-devel mailing list