[FFmpeg-cvslog] checkasm/vp9dsp: use declare_func_emms in check_loopfilter

James Almer git at videolan.org
Wed Jul 27 04:17:38 EEST 2016


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Tue Jul 26 22:16:21 2016 -0300| [54a0a52be100d36291084f92b7d6aee1a4960acb] | committer: James Almer

checkasm/vp9dsp: use declare_func_emms in check_loopfilter

Fixes checkasm failures on mmxext functions

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=54a0a52be100d36291084f92b7d6aee1a4960acb
---

 tests/checkasm/vp9dsp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/checkasm/vp9dsp.c b/tests/checkasm/vp9dsp.c
index 931f788..441041c 100644
--- a/tests/checkasm/vp9dsp.c
+++ b/tests/checkasm/vp9dsp.c
@@ -448,7 +448,7 @@ static void check_loopfilter(void)
     static const char *const dir_name[2] = { "h", "v" };
     static const int E[2] = { 20, 28 }, I[2] = { 10, 16 };
     static const int H[2] = { 7, 11 }, F[2] = { 1, 1 };
-    declare_func(void, uint8_t *dst, ptrdiff_t stride, int E, int I, int H);
+    declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *dst, ptrdiff_t stride, int E, int I, int H);
 
     for (bit_depth = 8; bit_depth <= 12; bit_depth += 2) {
         ff_vp9dsp_init(&dsp, bit_depth, 0);



More information about the ffmpeg-cvslog mailing list