summaryrefslogtreecommitdiff
path: root/libavcodec/alpha/simple_idct_alpha.c
diff options
context:
space:
mode:
authorFalk Hüffner <mellum@users.sourceforge.net>2002-11-27 01:20:42 +0000
committerFalk Hüffner <mellum@users.sourceforge.net>2002-11-27 01:20:42 +0000
commit3354b0c9e59eaad616be3b1f58d5306ce012af7a (patch)
tree12a4ed5516021447bf2cdac91c52310edf322aff /libavcodec/alpha/simple_idct_alpha.c
parent7ca413b44a83d71d879ca9a75be0c88cbe99189b (diff)
Kludge around compilation failure on Alpha.
Originally committed as revision 1286 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/alpha/simple_idct_alpha.c')
-rw-r--r--libavcodec/alpha/simple_idct_alpha.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/libavcodec/alpha/simple_idct_alpha.c b/libavcodec/alpha/simple_idct_alpha.c
index 31677184e0..5ce0177408 100644
--- a/libavcodec/alpha/simple_idct_alpha.c
+++ b/libavcodec/alpha/simple_idct_alpha.c
@@ -27,6 +27,11 @@
#include "asm.h"
#include "../dsputil.h"
+extern void (*put_pixels_clamped_axp_p)(const DCTELEM *block, uint8_t *pixels,
+ int line_size);
+extern void (*add_pixels_clamped_axp_p)(const DCTELEM *block, uint8_t *pixels,
+ int line_size);
+
// cos(i * M_PI / 16) * sqrt(2) * (1 << 14)
// W4 is actually exactly 16384, but using 16383 works around
// accumulating rounding errors for some encoders
@@ -296,11 +301,11 @@ void simple_idct_axp(DCTELEM *block)
void simple_idct_put_axp(uint8_t *dest, int line_size, DCTELEM *block)
{
simple_idct_axp(block);
- put_pixels_clamped(block, dest, line_size);
+ put_pixels_clamped_axp_p(block, dest, line_size);
}
void simple_idct_add_axp(uint8_t *dest, int line_size, DCTELEM *block)
{
simple_idct_axp(block);
- add_pixels_clamped(block, dest, line_size);
+ add_pixels_clamped_axp_p(block, dest, line_size);
}