]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commit
avg_ pixel functions need to use (dst+pix+1)>>1 to average with existing
authorconrad <conrad@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 15 Apr 2009 19:10:16 +0000 (19:10 +0000)
committerconrad <conrad@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 15 Apr 2009 19:10:16 +0000 (19:10 +0000)
commit4ae3cbb9014527bfe7baeca7a4cf1d277e3e61be
treec8cda568d2665295e9d1b1350dbb7dfa2f6d903d
parent3784fbdf0295312b52cdcd152a2d3c11bf9d402a
avg_ pixel functions need to use (dst+pix+1)>>1 to average with existing
pixels, not (dst+pix)>>1.
This makes the mmx functions bitexact with the C functions.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18527 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
libavcodec/x86/dsputil_mmx.c
libavcodec/x86/dsputil_mmx_rnd_template.c