Revision b59f5747 libavcodec/simple_idct.c

View differences:

libavcodec/simple_idct.c
173 173
	return 2;
174 174
}
175 175

  
176
inline static void idctSparseCol(int16_t *col)
176
inline static void idctSparseCol2(int16_t *col)
177 177
{
178 178
        int a0, a1, a2, a3, b0, b1, b2, b3;
179 179

  
......
486 486
static inline void idctSparseCol (int16_t * col)
487 487
{
488 488
	int a0, a1, a2, a3, b0, b1, b2, b3;
489
        UINT8 *cm = cropTbl + MAX_NEG_CROP;
490 489

  
491 490
        /* XXX: I did that only to give same values as previous code */
492 491
	a0 = W4 * (col[8*0] + ((1<<(COL_SHIFT-1))/W4));
......
597 596
        } else if (rowsConstant) {
598 597
		uint64_t *lblock = (uint64_t *) block;
599 598

  
600
		idctSparseCol(block);
599
		idctSparseCol2(block);
601 600
		for (i = 0; i < 8; i++) {
602 601
			uint64_t v = (uint16_t) block[i * 8];
603 602

  
......
609 608
		}
610 609
	} else {
611 610
		for (i = 0; i < 8; i++)
612
			idctSparseCol(block + i);
611
			idctSparseCol2(block + i);
613 612
	}
614 613
}
615 614

  

Also available in: Unified diff