mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 00:32:31 +00:00
mips: Fixing HAVE_MIPSFPU dependencies
Signed-off-by: Bojan Zivkovic <bojan@mips.com> Reviewed-by: Vitor Sessak <vitor1001@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
bdba96e93c
commit
e41b518555
@ -1 +1 @@
|
|||||||
MIPSFPU-OBJS-$(HAVE_INLINE_ASM) += mips/float_dsp_mips.o
|
OBJS += mips/float_dsp_mips.o
|
||||||
|
@ -50,8 +50,10 @@
|
|||||||
* Reference: libavutil/float_dsp.c
|
* Reference: libavutil/float_dsp.c
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
#include "libavutil/float_dsp.h"
|
#include "libavutil/float_dsp.h"
|
||||||
|
|
||||||
|
#if HAVE_INLINE_ASM && HAVE_MIPSFPU
|
||||||
static void vector_fmul_mips(float *dst, const float *src0, const float *src1,
|
static void vector_fmul_mips(float *dst, const float *src0, const float *src1,
|
||||||
int len)
|
int len)
|
||||||
{
|
{
|
||||||
@ -102,7 +104,10 @@ static void vector_fmul_mips(float *dst, const float *src0, const float *src1,
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif /* HAVE_INLINE_ASM && HAVE_MIPSFPU */
|
||||||
|
|
||||||
void ff_float_dsp_init_mips(AVFloatDSPContext *fdsp) {
|
void ff_float_dsp_init_mips(AVFloatDSPContext *fdsp) {
|
||||||
|
#if HAVE_INLINE_ASM && HAVE_MIPSFPU
|
||||||
fdsp->vector_fmul = vector_fmul_mips;
|
fdsp->vector_fmul = vector_fmul_mips;
|
||||||
|
#endif /* HAVE_INLINE_ASM && HAVE_MIPSFPU */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user