[x265] fix addAvg

Satoshi Nakagawa nakagawa424 at oki.com
Wed Feb 5 01:40:03 CET 2014


# HG changeset patch
# User Satoshi Nakagawa <nakagawa424 at oki.com>
# Date 1391560686 -32400
#      Wed Feb 05 09:38:06 2014 +0900
# Node ID 44a3eacf9d0000d474ba530162ae085099242b1e
# Parent  bed6e485d6c18bd24ec0837eebae1425ec137a4a
fix addAvg

diff -r bed6e485d6c1 -r 44a3eacf9d00 source/common/x86/mc-a.asm
--- a/source/common/x86/mc-a.asm	Tue Feb 04 17:30:50 2014 -0600
+++ b/source/common/x86/mc-a.asm	Wed Feb 05 09:38:06 2014 +0900
@@ -218,7 +218,7 @@
 ;-----------------------------------------------------------------------------
 %macro ADDAVG_W4_H4 1
 INIT_XMM sse2
-cglobal addAvg_4x%1, 6,6,4, pSrc0, src0, src1, dst, src0Stride, src1tride, dstStride
+cglobal addAvg_4x%1, 6,7,4, pSrc0, src0, src1, dst, src0Stride, src1tride, dstStride
     mova           m1,          [pw_256]
     mova           m3,          [pw_128]
     add            r3,          r3
@@ -467,7 +467,7 @@
 ;-----------------------------------------------------------------------------
 %macro ADDAVG_W8_H4 1
 INIT_XMM sse2
-cglobal addAvg_8x%1, 6,6,6, pSrc0, src0, src1, dst, src0Stride, src1tride, dstStride
+cglobal addAvg_8x%1, 6,7,6, pSrc0, src0, src1, dst, src0Stride, src1tride, dstStride
 
     mova        m4,          [pw_256]
     mova        m5,          [pw_128]
@@ -537,7 +537,7 @@
 ;-----------------------------------------------------------------------------
 %macro ADDAVG_W12_H4 1
 INIT_XMM sse2
-cglobal addAvg_12x%1, 6,6,6, pSrc0, src0, src1, dst, src0Stride, src1tride, dstStride
+cglobal addAvg_12x%1, 6,7,6, pSrc0, src0, src1, dst, src0Stride, src1tride, dstStride
     mova           m4,             [pw_256]
     mova           m5,             [pw_128]
     add            r3,             r3


More information about the x265-devel mailing list