summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_pullup.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-19 15:53:33 +0200
committerwm4 <wm4@nowhere>2014-04-19 17:10:20 +0200
commitd0ebecb1c4d2e70d65b91a596acfcffb0e4bc4b0 (patch)
tree050a9e4909e533e49c25475500e8c572ae98bc9f /video/filter/vf_pullup.c
parentd55ed011abb0962eafcbe5977a18a0f1b0b61144 (diff)
downloadmpv-d0ebecb1c4d2e70d65b91a596acfcffb0e4bc4b0.tar.bz2
mpv-d0ebecb1c4d2e70d65b91a596acfcffb0e4bc4b0.tar.xz
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.
Diffstat (limited to 'video/filter/vf_pullup.c')
-rw-r--r--video/filter/vf_pullup.c6
1 files changed, 0 insertions, 6 deletions
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;