[FFmpeg-devel] [PATCH] Fix the tail handling in R-V V sad

Rémi Denis-Courmont remi at remlab.net
Tue Jan 7 20:23:34 EET 2025


Le maanantaina 23. joulukuuta 2024, 17.01.32 UTC+2 uk7b-at-
foxmail.com at ffmpeg.org a écrit :
> From: sunyuechi <sunyuechi at iscas.ac.cn>
> 
> ---
>  libavcodec/riscv/h26x/asm.S    | 36 +++++++++++++++++-----------------
>  libavcodec/riscv/vvc/sad_rvv.S |  2 +-
>  2 files changed, 19 insertions(+), 19 deletions(-)
> 
> diff --git a/libavcodec/riscv/h26x/asm.S b/libavcodec/riscv/h26x/asm.S
> index d99690d9a0..0c9ebbdaad 100644
> --- a/libavcodec/riscv/h26x/asm.S
> +++ b/libavcodec/riscv/h26x/asm.S
> @@ -20,46 +20,46 @@
> 
>  #include "libavutil/riscv/asm.S"
> 
> -.macro vsetvlstatic w, vlen, en, mn1, mn2, mn3, mn4, mn5, mn6
> +.macro vsetvlstatic w, vlen, en, mn1, mn2, mn3, mn4, mn5, mn6, vta=ta

Probably OK, but AFAIR, there is also a problem with uninitialised values in 
the VVC SAD code.

-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/





More information about the ffmpeg-devel mailing list