~ubuntu-dev/mplayer/ubuntu-feisty

« back to all changes in this revision

Viewing changes to libmpcodecs/vf_decimate.c

  • Committer: Reinhard Tartler
  • Date: 2006-07-08 08:47:54 UTC
  • Revision ID: siretart@tauware.de-20060708084754-c3ff228cc9c2d8de
upgrade to pre8

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
#include "config.h"
6
6
#include "mp_msg.h"
7
7
#include "cpudetect.h"
 
8
#include "asmalign.h"
8
9
 
9
10
#include "img_format.h"
10
11
#include "mp_image.h"
28
29
                "pxor %%mm4, %%mm4 \n\t"
29
30
                "pxor %%mm7, %%mm7 \n\t"
30
31
                
31
 
                ".balign 16 \n\t"
 
32
                ASMALIGN16
32
33
                "1: \n\t"
33
34
                
34
35
                "movq (%%"REG_S"), %%mm0 \n\t"
110
111
                new->w*(new->bpp/8), new->h, old->stride[0], new->stride[0]);
111
112
}
112
113
 
113
 
static int put_image(struct vf_instance_s* vf, mp_image_t *mpi)
 
114
static int put_image(struct vf_instance_s* vf, mp_image_t *mpi, double pts)
114
115
{
115
116
        mp_image_t *dmpi;
116
117
 
143
144
                        mpi->chroma_width, mpi->chroma_height,
144
145
                        dmpi->stride[2], mpi->stride[2]);
145
146
        }
146
 
        return vf_next_put_image(vf, dmpi);
 
147
        return vf_next_put_image(vf, dmpi, pts);
147
148
}
148
149
 
149
150
static void uninit(struct vf_instance_s* vf)