Mercurial > libavcodec.hg
changeset 900:52c26a143399 libavcodec
100l (sad8x8_x2 had params in wrong order)
author | michaelni |
---|---|
date | Tue, 03 Dec 2002 11:07:41 +0000 |
parents | 9d9a415e3dd9 |
children | 07a677389920 |
files | i386/motion_est_mmx.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/i386/motion_est_mmx.c Tue Dec 03 01:14:34 2002 +0000 +++ b/i386/motion_est_mmx.c Tue Dec 03 11:07:41 2002 +0000 @@ -263,6 +263,7 @@ return ret; } + #define PIX_SAD(suf)\ int pix_abs8x8_ ## suf(UINT8 *blk2, UINT8 *blk1, int stride)\ {\ @@ -282,7 +283,7 @@ :: "m"(round_tab[1]) \ );\ \ - sad8_2_ ## suf(blk1, blk2+1, blk2, stride, 3);\ + sad8_2_ ## suf(blk1, blk1+1, blk2, stride, 3);\ \ return sum_ ## suf();\ }\