[FFmpeg-devel] [PATCH v4 2/5] avcodec/x86/diracdsp: fix wrong register load/use count

Kyosuke Kawakami kawakami150708 at gmail.com
Thu Nov 14 20:25:32 EET 2024


---
 libavcodec/x86/diracdsp.asm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/x86/diracdsp.asm b/libavcodec/x86/diracdsp.asm
index e5e2b11846..03b929da76 100644
--- a/libavcodec/x86/diracdsp.asm
+++ b/libavcodec/x86/diracdsp.asm
@@ -216,7 +216,7 @@ cglobal add_rect_clamped_%1, 7,9,3, dst, src, stride, idwt, idwt_stride, w, h
 
 %macro ADD_OBMC 2
 ; void add_obmc(uint16_t *dst, uint8_t *src, int stride, uint8_t *obmc_weight, int yblen)
-cglobal add_dirac_obmc%1_%2, 6,6,5, dst, src, stride, obmc, yblen
+cglobal add_dirac_obmc%1_%2, 5,5,5, dst, src, stride, obmc, yblen
     pxor        m4, m4
 .loop:
 %assign i 0
-- 
2.47.0



More information about the ffmpeg-devel mailing list