[FFmpeg-cvslog] lavc/aarch64: Hook up the existing ff_pix_abs16_neon to the sad[0] function pointer

Hubert Mazur git at videolan.org
Mon Jul 11 23:59:50 EEST 2022


ffmpeg | branch: master | Hubert Mazur <hum at semihalf.com> | Wed Jun 29 10:24:39 2022 +0200| [eb7ab3928f6a82030cd030fda55579cdee252159] | committer: Martin Storsjö

lavc/aarch64: Hook up the existing ff_pix_abs16_neon to the sad[0] function pointer

Signed-off-by: Hubert Mazur <hum at semihalf.com>
Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eb7ab3928f6a82030cd030fda55579cdee252159
---

 libavcodec/aarch64/me_cmp_init_aarch64.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/aarch64/me_cmp_init_aarch64.c b/libavcodec/aarch64/me_cmp_init_aarch64.c
index 9fb63e9973..bec9148a1a 100644
--- a/libavcodec/aarch64/me_cmp_init_aarch64.c
+++ b/libavcodec/aarch64/me_cmp_init_aarch64.c
@@ -35,5 +35,7 @@ av_cold void ff_me_cmp_init_aarch64(MECmpContext *c, AVCodecContext *avctx)
     if (have_neon(cpu_flags)) {
         c->pix_abs[0][0] = ff_pix_abs16_neon;
         c->pix_abs[0][3] = ff_pix_abs16_xy2_neon;
+
+        c->sad[0] = ff_pix_abs16_neon;
     }
 }



More information about the ffmpeg-cvslog mailing list