[FFmpeg-cvslog] checkasm: swscale: Fix running the hscale test on 32 bit x86
Martin Storsjö
git at videolan.org
Sat May 16 09:24:36 EEST 2020
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Sat May 16 08:13:58 2020 +0300| [9c326af1d0423d59b204234cbd1d7ad19d857d69] | committer: Martin Storsjö
checkasm: swscale: Fix running the hscale test on 32 bit x86
This function doesn't call emms.
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9c326af1d0423d59b204234cbd1d7ad19d857d69
---
tests/checkasm/sw_scale.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/checkasm/sw_scale.c b/tests/checkasm/sw_scale.c
index 9f0b72038d..2680e47897 100644
--- a/tests/checkasm/sw_scale.c
+++ b/tests/checkasm/sw_scale.c
@@ -63,9 +63,9 @@ static void check_hscale(void)
// The dst parameter here is either int16_t or int32_t but we use void* to
// just cover both cases.
- declare_func(void, void *c, void *dst, int dstW,
- const uint8_t *src, const int16_t *filter,
- const int32_t *filterPos, int filterSize);
+ declare_func_emms(AV_CPU_FLAG_MMX, void, void *c, void *dst, int dstW,
+ const uint8_t *src, const int16_t *filter,
+ const int32_t *filterPos, int filterSize);
ctx = sws_alloc_context();
if (sws_init_context(ctx, NULL, NULL) < 0)
More information about the ffmpeg-cvslog
mailing list