You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
mips: Move MMI function declarations to a header.
This fixes compilation with -Werror=missing-prototypes.
This commit is contained in:
@@ -25,10 +25,6 @@
|
|||||||
#include "libavcodec/dsputil.h"
|
#include "libavcodec/dsputil.h"
|
||||||
#include "mmi.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)
|
static void clear_blocks_mmi(DCTELEM * blocks)
|
||||||
{
|
{
|
||||||
__asm__ volatile(
|
__asm__ volatile(
|
||||||
|
@@ -21,6 +21,14 @@
|
|||||||
#ifndef AVCODEC_PS2_MMI_H
|
#ifndef AVCODEC_PS2_MMI_H
|
||||||
#define 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)))
|
#define align16 __attribute__ ((aligned (16)))
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user