Revision fda767bb libavcodec/simple_idct.c

View differences:

libavcodec/simple_idct.c
428 428
   and the butterfly must be multiplied by 0.5 * sqrt(2.0) */
429 429
#define C_SHIFT (4+1+12)
430 430

  
431
static inline void idct4col(uint8_t *dest, int line_size, const DCTELEM *col)
431
static inline void idct4col_put(uint8_t *dest, int line_size, const DCTELEM *col)
432 432
{
433 433
    int c0, c1, c2, c3, a0, a1, a2, a3;
434 434
    const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
......
491 491

  
492 492
    /* IDCT4 and store */
493 493
    for(i=0;i<8;i++) {
494
        idct4col(dest + i, 2 * line_size, block + i);
495
        idct4col(dest + line_size + i, 2 * line_size, block + 8 + i);
494
        idct4col_put(dest + i, 2 * line_size, block + i);
495
        idct4col_put(dest + line_size + i, 2 * line_size, block + 8 + i);
496 496
    }
497 497
}
498 498

  

Also available in: Unified diff