aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-02-11 21:56:37 +0100
committerDiego Biurrun <diego@biurrun.de>2012-02-13 09:59:52 +0100
commit75f11901b588684dae19eaa9e5896931b30ffdcc (patch)
tree04255e2ca1bbc30c721b7e5f40eff6878c558b97 /libavcodec
parentd1c4ec7f5e9af61067bc1a604e29e465038be63a (diff)
downloadffmpeg-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.c4
-rw-r--r--libavcodec/ps2/mmi.h8
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)))
/*