[FFmpeg-devel] [PATCH 2/2] aarch64: vvc: Consistently use # for immediate constants

Zhao Zhili quinkblack at foxmail.com
Tue Jul 23 14:48:50 EEST 2024



> On Jul 23, 2024, at 19:28, Martin Storsjö <martin at martin.st> wrote:
> 
> ---
> libavcodec/aarch64/vvc/alf.S | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/libavcodec/aarch64/vvc/alf.S b/libavcodec/aarch64/vvc/alf.S
> index 828031cb90..eec193302a 100644
> --- a/libavcodec/aarch64/vvc/alf.S
> +++ b/libavcodec/aarch64/vvc/alf.S
> @@ -95,7 +95,7 @@
>     .else
>         ldr             q5, [x5]                    // curr
>     .endif
> -        movi            v20.4s, 64
> +        movi            v20.4s, #64
>         cbz             is_near_vb, 1f
>         shl             v20.4s, v20.4s, #3
> 1:
> @@ -220,7 +220,7 @@
>     .else
>         ldr             d5, [x5]                    // curr
>     .endif
> -        movi            v20.4s, 64
> +        movi            v20.4s, #64
>         cbz             is_near_vb, 1f
>         shl             v20.4s, v20.4s, #3
> 1:
> @@ -267,12 +267,12 @@ function ff_alf_filter_luma_kernel_8_neon, export=1
> endfunc
> 
> function ff_alf_filter_luma_kernel_12_neon, export=1
> -        mov             w5, 4095
> +        mov             w5, #4095
>         b               1f
> endfunc
> 
> function ff_alf_filter_luma_kernel_10_neon, export=1
> -        mov             w5, 1023
> +        mov             w5, #1023
> 1:
>         alf_filter_luma_kernel  2
> endfunc
> @@ -282,12 +282,12 @@ function ff_alf_filter_chroma_kernel_8_neon, export=1
> endfunc
> 
> function ff_alf_filter_chroma_kernel_12_neon, export=1
> -        mov             w5, 4095
> +        mov             w5, #4095
>         b               1f
> endfunc
> 
> function ff_alf_filter_chroma_kernel_10_neon, export=1
> -        mov             w5, 1023
> +        mov             w5, #1023
> 1:
>         alf_filter_chroma_kernel  2
> endfunc
> -- 
> 2.34.1

LGTM for the patch set. Thanks for the quick fix.

> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-devel mailing list