diff options
author | Wu Jianhua <toqsxw@outlook.com> | 2024-05-31 00:28:06 +0800 |
---|---|---|
committer | Nuo Mi <nuomi2021@gmail.com> | 2024-05-31 19:57:31 +0800 |
commit | 9950f1486493cfb1b039ea89c51f40484839a6c1 (patch) | |
tree | 2ac4daecadbe269f308664785f2e18cea609e178 | |
parent | 09d3370c2884f4535d738e9baea008738cfb602b (diff) | |
download | ffmpeg-9950f1486493cfb1b039ea89c51f40484839a6c1.tar.gz |
avcodec/x86/vvc/vvc_alf: use xq to match ptrdiff_t
Signed-off-by: Wu Jianhua <toqsxw@outlook.com>
-rw-r--r-- | libavcodec/x86/vvc/vvc_alf.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/x86/vvc/vvc_alf.asm b/libavcodec/x86/vvc/vvc_alf.asm index f7b3e2a6cc..b35dd9b0e9 100644 --- a/libavcodec/x86/vvc/vvc_alf.asm +++ b/libavcodec/x86/vvc/vvc_alf.asm @@ -409,7 +409,7 @@ cglobal vvc_alf_filter_%2_%1bpc, 11, 15, 16, 0-0x28, dst, dst_stride, src, src_s .loop: push srcq push dstq - xor xd, xd + xor xq, xq .loop_w: LOAD_PARAMS @@ -417,8 +417,8 @@ cglobal vvc_alf_filter_%2_%1bpc, 11, 15, 16, 0-0x28, dst, dst_stride, src, src_s add srcq, 16 * ps add dstq, 16 * ps - add xd, 16 - cmp xd, widthd + add xq, 16 + cmp xq, widthq jl .loop_w pop dstq @@ -427,7 +427,7 @@ cglobal vvc_alf_filter_%2_%1bpc, 11, 15, 16, 0-0x28, dst, dst_stride, src, src_s lea dstq, [dstq + 4 * dst_strideq] lea filterq, [filterq + 2 * strideq] - lea clipq, [clipq + 2 * strideq] + lea clipq, [clipq + 2 * strideq] sub vb_posq, 4 sub heightq, 4 |