You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
10l (compilation if defined ARCH_ALPHA)
Originally committed as revision 902 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -173,7 +173,7 @@ static inline int idctRowCondDC(int16_t *row)
|
|||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline static void idctSparseCol(int16_t *col)
|
inline static void idctSparseCol2(int16_t *col)
|
||||||
{
|
{
|
||||||
int a0, a1, a2, a3, b0, b1, b2, b3;
|
int a0, a1, a2, a3, b0, b1, b2, b3;
|
||||||
|
|
||||||
@@ -486,7 +486,6 @@ static inline void idctSparseColAdd (UINT8 *dest, int line_size,
|
|||||||
static inline void idctSparseCol (int16_t * col)
|
static inline void idctSparseCol (int16_t * col)
|
||||||
{
|
{
|
||||||
int a0, a1, a2, a3, b0, b1, b2, b3;
|
int a0, a1, a2, a3, b0, b1, b2, b3;
|
||||||
UINT8 *cm = cropTbl + MAX_NEG_CROP;
|
|
||||||
|
|
||||||
/* XXX: I did that only to give same values as previous code */
|
/* XXX: I did that only to give same values as previous code */
|
||||||
a0 = W4 * (col[8*0] + ((1<<(COL_SHIFT-1))/W4));
|
a0 = W4 * (col[8*0] + ((1<<(COL_SHIFT-1))/W4));
|
||||||
@@ -597,7 +596,7 @@ void simple_idct (short *block)
|
|||||||
} else if (rowsConstant) {
|
} else if (rowsConstant) {
|
||||||
uint64_t *lblock = (uint64_t *) block;
|
uint64_t *lblock = (uint64_t *) block;
|
||||||
|
|
||||||
idctSparseCol(block);
|
idctSparseCol2(block);
|
||||||
for (i = 0; i < 8; i++) {
|
for (i = 0; i < 8; i++) {
|
||||||
uint64_t v = (uint16_t) block[i * 8];
|
uint64_t v = (uint16_t) block[i * 8];
|
||||||
|
|
||||||
@@ -609,7 +608,7 @@ void simple_idct (short *block)
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for (i = 0; i < 8; i++)
|
for (i = 0; i < 8; i++)
|
||||||
idctSparseCol(block + i);
|
idctSparseCol2(block + i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user