On 2/17/2021 3:34 PM, Michael Niedermayer wrote:
On Wed, Feb 17, 2021 at 01:41:04PM -0300, James Almer wrote:
x86_32 ABI does not pass float arguments directly on xmm regs, and the Win64
ABI uses only the first four regs for this purpose.
Signed-off-by: James Almer <jamr...@gmail.com>
---
libavfilter/vf_gblur.c | 3 +--
libavfilter/x86/vf_gblur.asm | 29 +++++++++++++----------------
2 files changed, 14 insertions(+), 18 deletions(-)
diff --git a/libavfilter/vf_gblur.c b/libavfilter/vf_gblur.c
index 109a7a95f9..40956e122d 100644
--- a/libavfilter/vf_gblur.c
+++ b/libavfilter/vf_gblur.c
@@ -234,8 +234,7 @@ void ff_gblur_init(GBlurContext *s)
{
s->horiz_slice = horiz_slice_c;
s->postscale_slice = postscale_c;
- if (ARCH_X86_64)
- ff_gblur_init_x86(s);
+ ff_gblur_init_x86(s);
}
fails on arm
LD ffmpeg_g
libavfilter/libavfilter.a(vf_gblur.o): In function `ff_gblur_init':
arm/src/libavfilter/vf_gblur.c:237: undefined reference to `ff_gblur_init_x86'
arm/src/libavfilter/vf_gblur.c:237: undefined reference to `ff_gblur_init_x86'
collect2: error: ld returned 1 exit status
Makefile:124: recipe for target 'ffmpeg_g' failed
make: *** [ffmpeg_g] Error 1
Fixed, sorry about that.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".