mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-05-03 21:08:01 +08:00
mips: Add dependencies on HAVE_INLINE_ASM
Add dependencies on HAVE_INLINE_ASM for files and parts of code where it is necessary. Signed-off-by: Nedeljko Babic <nbabic@mips.com> Reviewed-by: Vitor Sessak <vitor1001@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
2d71f31df2
commit
304a1ed1e8
@@ -47,6 +47,7 @@
|
||||
#include "config.h"
|
||||
#include "libavcodec/dsputil.h"
|
||||
|
||||
#if HAVE_INLINE_ASM
|
||||
static void vector_fmul_window_mips(float *dst, const float *src0,
|
||||
const float *src1, const float *win, int len)
|
||||
{
|
||||
@@ -157,8 +158,11 @@ static void vector_fmul_window_mips(float *dst, const float *src0,
|
||||
);
|
||||
}
|
||||
}
|
||||
#endif /* HAVE_INLINE_ASM */
|
||||
|
||||
av_cold void ff_dsputil_init_mips( DSPContext* c, AVCodecContext *avctx )
|
||||
{
|
||||
#if HAVE_INLINE_ASM
|
||||
c->vector_fmul_window = vector_fmul_window_mips;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user