~ubuntu-branches/ubuntu/lucid/ffmpeg/lucid-updates

« back to all changes in this revision

Viewing changes to libavcodec/x86/cavsdsp_mmx.c

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-03-13 09:18:28 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090313091828-n4ktby5eca487uhv
Tags: 3:0.svn20090303-1ubuntu1+unstripped1
merge from ubuntu.jaunty branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
    }
149
149
 
150
150
    for(i=0; i<2; i++){
151
 
        cavs_idct8_1d(b2+4*i, ff_pw_64);
 
151
        cavs_idct8_1d(b2+4*i, ff_pw_64.a);
152
152
 
153
153
        __asm__ volatile(
154
154
            "psraw     $7, %%mm7  \n\t"
173
173
    }
174
174
 
175
175
    add_pixels_clamped_mmx(b2, dst, stride);
176
 
 
177
 
    /* clear block */
178
 
    __asm__ volatile(
179
 
            "pxor %%mm7, %%mm7   \n\t"
180
 
            "movq %%mm7, (%0)    \n\t"
181
 
            "movq %%mm7, 8(%0)   \n\t"
182
 
            "movq %%mm7, 16(%0)  \n\t"
183
 
            "movq %%mm7, 24(%0)  \n\t"
184
 
            "movq %%mm7, 32(%0)  \n\t"
185
 
            "movq %%mm7, 40(%0)  \n\t"
186
 
            "movq %%mm7, 48(%0)  \n\t"
187
 
            "movq %%mm7, 56(%0)  \n\t"
188
 
            "movq %%mm7, 64(%0)  \n\t"
189
 
            "movq %%mm7, 72(%0)  \n\t"
190
 
            "movq %%mm7, 80(%0)  \n\t"
191
 
            "movq %%mm7, 88(%0)  \n\t"
192
 
            "movq %%mm7, 96(%0)  \n\t"
193
 
            "movq %%mm7, 104(%0) \n\t"
194
 
            "movq %%mm7, 112(%0) \n\t"
195
 
            "movq %%mm7, 120(%0) \n\t"
196
 
            :: "r" (block)
197
 
    );
198
176
}
199
177
 
200
178
/*****************************************************************************