<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><DIV>>+;-----------------------------------------------------------------<BR>>+; void scale1D_128to64(pixel *dst, pixel *src, intptr_t /*stride*/)<BR>>+;-----------------------------------------------------------------<BR>>+INIT_XMM ssse3<BR>>+cglobal scale1D_128to64, 3, 3, 8, dest, src1, stride<BR>you use two parameters and register, but declare is 3</DIV>
<DIV> </DIV>
<DIV>>+<BR>>+ mova m7, [deinterleave_shuf]<BR>>+<BR>>+ movu m0, [r1]<BR>>+ palignr m1, m0, 1<BR>>+ movu m2, [r1 + 16]<BR>>+ palignr m3, m2, 1<BR>>+ movu m4, [r1 + 32]<BR>>+ palignr m5, m4, 1<BR>>+ movu m6, [r1 + 48]<BR>>+<BR>>+ pavgb m0, m1<BR>>+<BR>>+ palignr m1, m6, 1<BR>>+<BR>>+ pavgb m2, m3<BR>>+ pavgb m4, m5<BR>>+ pavgb m6, m1<BR>>+<BR>>+ pshufb m0, m0, m7<BR>>+ pshufb m2, m2, m7<BR>>+ pshufb m4, m4, m7<BR>>+ pshufb m6, m6, m7<BR>>+<BR>>+ punpcklqdq m0, m2<BR>>+ movu [r0], m0<BR>>+ punpcklqdq m4, m6<BR>>+ movu [r0 + 16], m4<BR>>+<BR>>+ movu m0, [r1 + 64]<BR>>+ palignr m1, m0, 1<BR>>+ movu m2, [r1 + 80]<BR>>+ palignr m3, m2, 1<BR>>+ movu m4, [r1 + 96]<BR>>+ palignr m5, m4, 1<BR>>+ movu m6, [r1 + 112]<BR>>+<BR>>+ pavgb m0, m1<BR>>+<BR>>+ palignr m1, m6, 1<BR>>+<BR>>+ pavgb m2, m3<BR>>+ pavgb m4, m5<BR>>+ pavgb m6, m1<BR>>+<BR>>+ pshufb m0, m0, m7<BR>>+ pshufb m2, m2, m7<BR>>+ pshufb m4, m4, m7<BR>>+ pshufb m6, m6, m7<BR>>+<BR>>+ punpcklqdq m0, m2<BR>>+ movu [r0 + 32], m0<BR>>+ punpcklqdq m4, m6<BR>>+ movu [r0 + 48], m4<BR>>+<BR>>+RET<BR></DIV></div>