[x265] [PATCH] AArch64: Fix missing pointer casts in mem_neon.h
Karam Singh
karam.singh at multicorewareinc.com
Tue Sep 10 11:55:04 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 Tue, Sep 10, 2024 at 1:25 PM Hari Limaye <hari.limaye at arm.com> wrote:
> Add missing casts of the pointer operand in store_u8x4_strided_xN.
> This fixes a compilation error with GCC.
> ---
> source/common/aarch64/mem-neon.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/source/common/aarch64/mem-neon.h
> b/source/common/aarch64/mem-neon.h
> index 3251f3f52..90788a938 100644
> --- a/source/common/aarch64/mem-neon.h
> +++ b/source/common/aarch64/mem-neon.h
> @@ -65,9 +65,9 @@ static void inline store_u8x4_strided_xN(uint8_t *d,
> intptr_t stride,
> assert(N % 2 == 0);
> for (int i = 0; i < N / 2; ++i)
> {
> - vst1_lane_u32(d, vreinterpret_u32_u8(s[i]), 0);
> + vst1_lane_u32((uint32_t *)d, vreinterpret_u32_u8(s[i]), 0);
> d += stride;
> - vst1_lane_u32(d, vreinterpret_u32_u8(s[i]), 1);
> + vst1_lane_u32((uint32_t *)d, vreinterpret_u32_u8(s[i]), 1);
> d += stride;
> }
> }
> --
> 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/20240910/e01a113d/attachment.htm>
More information about the x265-devel
mailing list