diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:26:13 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:34:35 +0300 |
commit | 0eb321bf2c1cc0e048faff26a01f86cdd3ec254f (patch) | |
tree | 71cb9bd9ed121156d3382066c0722c73189afe04 /libmpcodecs/vf_pullup.c | |
parent | 6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0 (diff) | |
download | mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.bz2 mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.xz |
Remove trailing whitespace from most files
Diffstat (limited to 'libmpcodecs/vf_pullup.c')
-rw-r--r-- | libmpcodecs/vf_pullup.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/libmpcodecs/vf_pullup.c b/libmpcodecs/vf_pullup.c index faf195b613..efd5a56d80 100644 --- a/libmpcodecs/vf_pullup.c +++ b/libmpcodecs/vf_pullup.c @@ -51,7 +51,7 @@ static void init_pullup(struct vf_instance* vf, mp_image_t *mpi) if (gCpuCaps.has3DNowExt) c->cpu |= PULLUP_CPU_3DNOWEXT; if (gCpuCaps.hasSSE) c->cpu |= PULLUP_CPU_SSE; if (gCpuCaps.hasSSE2) c->cpu |= PULLUP_CPU_SSE2; - + pullup_init_context(c); vf->priv->init = 1; @@ -64,7 +64,7 @@ static void get_image(struct vf_instance* vf, mp_image_t *mpi) { struct pullup_context *c = vf->priv->ctx; struct pullup_buffer *b; - + if (mpi->type == MP_IMGTYPE_STATIC) return; if (!vf->priv->init) init_pullup(vf, mpi); @@ -73,7 +73,7 @@ static void get_image(struct vf_instance* vf, mp_image_t *mpi) if (!b) return; /* shouldn't happen... */ mpi->priv = b; - + mpi->planes[0] = b->planes[0]; mpi->planes[1] = b->planes[1]; mpi->planes[2] = b->planes[2]; @@ -95,9 +95,9 @@ static int put_image(struct vf_instance* vf, mp_image_t *mpi, double pts) int ret; int p; int i; - + if (!vf->priv->init) init_pullup(vf, mpi); - + if (mpi->flags & MP_IMGFLAG_DIRECT) { b = mpi->priv; mpi->priv = 0; @@ -221,11 +221,11 @@ static int put_image(struct vf_instance* vf, mp_image_t *mpi, double pts) dmpi->planes[0] = f->buffer->planes[0]; dmpi->planes[1] = f->buffer->planes[1]; dmpi->planes[2] = f->buffer->planes[2]; - + dmpi->stride[0] = c->stride[0]; dmpi->stride[1] = c->stride[1]; dmpi->stride[2] = c->stride[2]; - + if (mpi->qscale) { dmpi->qscale = vf->priv->qbuf; dmpi->qstride = mpi->qstride; @@ -294,5 +294,3 @@ const vf_info_t vf_info_pullup = { open, NULL }; - - |