[FFmpeg-devel] [PATCH] vp9/x86: fix bug in intra_pred_hd_32x32.

Ronald S. Bultje rsbultje at gmail.com
Tue Aug 12 12:37:00 CEST 2014


Fixes mismatch in first keyframe in sample
ffvp9_fails_where_libvpx.succeeds.webm from ticket 3849. There's still
a second mismatch a few frames into the sample.
---
 libavcodec/x86/vp9intrapred.asm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/x86/vp9intrapred.asm b/libavcodec/x86/vp9intrapred.asm
index 1d8d219..8c0f44e 100644
--- a/libavcodec/x86/vp9intrapred.asm
+++ b/libavcodec/x86/vp9intrapred.asm
@@ -1374,7 +1374,7 @@ cglobal vp9_ipred_hd_32x32, 4, 6, 8, dst, stride, l, a
     palignr                 m6, m1, m0,  1
     palignr                 m1, m0,  2
     LOWPASS                  1,  6,  0,  7
-    pavgb                   m0, m1
+    pavgb                   m0, m6
     SBUTTERFLY              bw,  2,  3,  6
     SBUTTERFLY              bw,  0,  1,  6
 
-- 
1.8.5.5



More information about the ffmpeg-devel mailing list