From d0ebecb1c4d2e70d65b91a596acfcffb0e4bc4b0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 19 Apr 2014 15:53:33 +0200 Subject: vf_pullup: remove inline asm No change in speed (or even slightly faster, though I tested with progressive solid color video only), and normally we use libavformat's vf_pullup anyway. --- video/filter/vf_pullup.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'video/filter/vf_pullup.c') diff --git a/video/filter/vf_pullup.c b/video/filter/vf_pullup.c index cf61d5a20a..7e04722f1c 100644 --- a/video/filter/vf_pullup.c +++ b/video/filter/vf_pullup.c @@ -22,7 +22,6 @@ #include "config.h" #include "common/msg.h" -#include "common/cpudetect.h" #include "options/m_option.h" #include "video/img_format.h" @@ -85,11 +84,6 @@ static void init_pullup(struct vf_instance *vf, mp_image_t *mpi) c->stride[3] = c->w[3]; c->background[1] = c->background[2] = 128; - if (gCpuCaps.hasMMX) c->cpu |= PULLUP_CPU_MMX; - if (gCpuCaps.hasMMX2) c->cpu |= PULLUP_CPU_MMX2; - if (gCpuCaps.hasSSE) c->cpu |= PULLUP_CPU_SSE; - if (gCpuCaps.hasSSE2) c->cpu |= PULLUP_CPU_SSE2; - pullup_init_context(c); vf->priv->init = 1; -- cgit v1.2.3