diff options
author | James Almer <jamrial@gmail.com> | 2014-06-04 01:45:38 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-04 02:48:35 +0400 |
commit | 625ffa145704458b4cf85ef558221b2e50628877 (patch) | |
tree | bbb2f3207b30aea70e43a6c5666a00653647edaa /libavcodec/x86 | |
parent | 3ab4f96a91e96ee163bbb5f4b59ff774ae5a392b (diff) |
x86/motion_est: sad_{x, y}2_mmxext functions are bitexact
Only the xy2 functions aren't.
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86')
-rw-r--r-- | libavcodec/x86/motion_est.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/x86/motion_est.c b/libavcodec/x86/motion_est.c index ef614c9fb0..4071ae535a 100644 --- a/libavcodec/x86/motion_est.c +++ b/libavcodec/x86/motion_est.c @@ -472,12 +472,12 @@ av_cold void ff_dsputil_init_pix_mmx(DSPContext *c, AVCodecContext *avctx) c->sad[0] = sad16_mmxext; c->sad[1] = sad8_mmxext; + c->pix_abs[0][1] = sad16_x2_mmxext; + c->pix_abs[0][2] = sad16_y2_mmxext; + c->pix_abs[1][1] = sad8_x2_mmxext; + c->pix_abs[1][2] = sad8_y2_mmxext; if (!(avctx->flags & CODEC_FLAG_BITEXACT)) { - c->pix_abs[0][1] = sad16_x2_mmxext; - c->pix_abs[0][2] = sad16_y2_mmxext; c->pix_abs[0][3] = sad16_xy2_mmxext; - c->pix_abs[1][1] = sad8_x2_mmxext; - c->pix_abs[1][2] = sad8_y2_mmxext; c->pix_abs[1][3] = sad8_xy2_mmxext; } } |