Revision 179655b6 libavcodec/x86/vp3dsp_mmx.c

View differences:

libavcodec/x86/vp3dsp_mmx.c
398 398

  
399 399
void ff_vp3_idct_dc_add_mmx2(uint8_t *dest, int linesize, const DCTELEM *block)
400 400
{
401
    int dc = block[0];
402
    dc = (46341*dc)>>16;
403
    dc = (46341*dc + (8<<16))>>20;
401
    int dc = (block[0] + 15) >> 5;
404 402

  
405 403
    __asm__ volatile(
406 404
        "movd          %3, %%mm0 \n\t"

Also available in: Unified diff