diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-08-31 11:45:15 -0700 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-09-02 14:41:13 -0700 |
commit | 95c0cec03acec0a80cc1c7db48f3b2355d9e767b (patch) | |
tree | e1ad21afa12a7f9b90b9d14ca0102bc7ab5b5904 /libavcodec/x86 | |
parent | 91d305790ea0f6fe0f54b48236da42181c39c18b (diff) | |
download | ffmpeg-95c0cec03acec0a80cc1c7db48f3b2355d9e767b.tar.gz |
idctdsp: Add global function pointers for {add|put}_pixels_clamped functions
These function pointers already existed in the ARM code. Adding them globally
allows calls to the function pointers to access arch-optimized versions of the
functions transparently.
Diffstat (limited to 'libavcodec/x86')
-rw-r--r-- | libavcodec/x86/simple_idct.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libavcodec/x86/simple_idct.c b/libavcodec/x86/simple_idct.c index 1002a782c0..71763dbf75 100644 --- a/libavcodec/x86/simple_idct.c +++ b/libavcodec/x86/simple_idct.c @@ -23,6 +23,9 @@ #include "libavutil/internal.h" #include "libavutil/mem.h" #include "libavutil/x86/asm.h" + +#include "libavcodec/idctdsp.h" + #include "idctdsp.h" #include "simple_idct.h" @@ -1159,12 +1162,12 @@ void ff_simple_idct_mmx(int16_t *block) void ff_simple_idct_put_mmx(uint8_t *dest, int line_size, int16_t *block) { idct(block); - ff_put_pixels_clamped_mmx(block, dest, line_size); + ff_put_pixels_clamped(block, dest, line_size); } void ff_simple_idct_add_mmx(uint8_t *dest, int line_size, int16_t *block) { idct(block); - ff_add_pixels_clamped_mmx(block, dest, line_size); + ff_add_pixels_clamped(block, dest, line_size); } #endif /* HAVE_INLINE_ASM */ |