avcodec/x86: use function pointers for {put,add}_pixels_clamped
authorJames Almer <jamrial@gmail.com>
Wed, 24 Sep 2014 18:18:50 +0000 (15:18 -0300)
committerJames Almer <jamrial@gmail.com>
Wed, 24 Sep 2014 21:52:32 +0000 (18:52 -0300)
commitad26e83f9cb8626346164ca5e794e940e63db32c
tree4a9eb66dfc2d52e527d67e720ae59d749ceb560b
parent857fc0a71f1b52fbba3281ba64b5a35195458622
avcodec/x86: use function pointers for {put,add}_pixels_clamped

Same behavior as in simple_idct.
This way the best optimized versions available will be used instead.

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/x86/cavsdsp.c
libavcodec/x86/xvididct_mmx.c
libavcodec/x86/xvididct_sse2.c