[FFmpeg-cvslog] x86: h264_chromamc_10bit: drop pointless PAVG %define

Diego Biurrun git at videolan.org
Thu Nov 1 13:21:31 CET 2012


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Jul 27 13:43:33 2012 +0200| [fa8fcab1e0d31074c0644c4ac5194474c6c26415] | committer: Diego Biurrun

x86: h264_chromamc_10bit: drop pointless PAVG %define

It is only used in one place so there is no need for the abstraction.

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

 libavcodec/x86/h264_chromamc_10bit.asm |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavcodec/x86/h264_chromamc_10bit.asm b/libavcodec/x86/h264_chromamc_10bit.asm
index 4481efe..d24308d 100644
--- a/libavcodec/x86/h264_chromamc_10bit.asm
+++ b/libavcodec/x86/h264_chromamc_10bit.asm
@@ -245,7 +245,7 @@ cglobal %1_h264_chroma_mc2_10, 6,7
 %if %0==3
     movq          %2, %3
 %endif
-    PAVG          %1, %2
+    pavgw         %1, %2
 %endmacro
 
 %define CHROMAMC_AVG  NOTHING
@@ -260,7 +260,6 @@ CHROMA_MC4 put
 CHROMA_MC2 put
 
 %define CHROMAMC_AVG  AVG
-%define PAVG          pavgw
 INIT_XMM sse2
 CHROMA_MC8 avg
 %if HAVE_AVX_EXTERNAL



More information about the ffmpeg-cvslog mailing list