[FFmpeg-cvslog] x86: rv40dsp: Use PAVGB instruction macro where appropriate

Diego Biurrun git at videolan.org
Tue Nov 5 10:31:03 CET 2013


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sun Nov  3 21:28:45 2013 +0100| [e2b5b097898c9155f4bdff4d83cdc54d5eef6930] | committer: Diego Biurrun

x86: rv40dsp: Use PAVGB instruction macro where appropriate

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e2b5b097898c9155f4bdff4d83cdc54d5eef6930
---

 libavcodec/x86/rv40dsp.asm |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/libavcodec/x86/rv40dsp.asm b/libavcodec/x86/rv40dsp.asm
index 7ec72be..d12b079 100644
--- a/libavcodec/x86/rv40dsp.asm
+++ b/libavcodec/x86/rv40dsp.asm
@@ -98,11 +98,7 @@ SECTION .text
 %endif
     packuswb  %1, %1
 %ifidn %3, avg
-%if cpuflag(3dnow)
-    pavgusb   %1, %2
-%else
-    pavgb     %1, %2
-%endif
+    PAVGB     %1, %2
 %endif
     movh  [dstq], %1
 %endmacro



More information about the ffmpeg-cvslog mailing list