mips: Move MMI function declarations to a header.

This fixes compilation with -Werror=missing-prototypes.
This commit is contained in:
Diego Biurrun 2012-02-11 21:56:37 +01:00
parent d1c4ec7f5e
commit 75f11901b5
2 changed files with 8 additions and 4 deletions

View File

@ -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(

View File

@ -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)))
/*