diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-02-11 21:56:37 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-02-13 09:59:52 +0100 |
commit | 75f11901b588684dae19eaa9e5896931b30ffdcc (patch) | |
tree | 04255e2ca1bbc30c721b7e5f40eff6878c558b97 /libavcodec | |
parent | d1c4ec7f5e9af61067bc1a604e29e465038be63a (diff) | |
download | ffmpeg-75f11901b588684dae19eaa9e5896931b30ffdcc.tar.gz |
mips: Move MMI function declarations to a header.
This fixes compilation with -Werror=missing-prototypes.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ps2/dsputil_mmi.c | 4 | ||||
-rw-r--r-- | libavcodec/ps2/mmi.h | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/libavcodec/ps2/dsputil_mmi.c b/libavcodec/ps2/dsputil_mmi.c index 43f0363669..06e3bdabcb 100644 --- a/libavcodec/ps2/dsputil_mmi.c +++ b/libavcodec/ps2/dsputil_mmi.c @@ -25,10 +25,6 @@ #include "libavcodec/dsputil.h" #include "mmi.h" -void ff_mmi_idct_put(uint8_t *dest, int line_size, DCTELEM *block); -void ff_mmi_idct_add(uint8_t *dest, int line_size, DCTELEM *block); -void ff_mmi_idct(DCTELEM *block); - static void clear_blocks_mmi(DCTELEM * blocks) { __asm__ volatile( diff --git a/libavcodec/ps2/mmi.h b/libavcodec/ps2/mmi.h index fc8d32819a..cbd0921946 100644 --- a/libavcodec/ps2/mmi.h +++ b/libavcodec/ps2/mmi.h @@ -21,6 +21,14 @@ #ifndef AVCODEC_PS2_MMI_H #define AVCODEC_PS2_MMI_H +#include <stdint.h> + +#include "libavcodec/dsputil.h" + +void ff_mmi_idct_put(uint8_t *dest, int line_size, DCTELEM *block); +void ff_mmi_idct_add(uint8_t *dest, int line_size, DCTELEM *block); +void ff_mmi_idct(DCTELEM *block); + #define align16 __attribute__ ((aligned (16))) /* |