[FFmpeg-devel] [PATCH] lavc/vvc_mc: R-V V avg w_avg

Rémi Denis-Courmont remi at remlab.net
Fri Jul 19 18:55:56 EEST 2024


Le torstaina 18. heinäkuuta 2024, 18.04.15 EEST flow gg a écrit :
> > Again, I don't think that a maximul multiplier belongs here. If the
> > calling code cannot scale the multiplier up, then it should be a normal
> > loop providing the same code for all VLENs.
> 
> I think it's acceptable to add such a parameter, which isn't particularly
> common in other files, because this vset is used for vvc_mc_rvv.S rather
> than libavutil/riscv/asm.S.

Maybe but that's really not my point. If you use the same LMUL for all VLENBs, 
then you should use the same function, not two copies of the exact same 
function.

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





More information about the ffmpeg-devel mailing list