|
|
|
@ -117,7 +117,6 @@ static inline void FUNC(idctRowCondDC)(DCTELEM *row) |
|
|
|
|
a2 = a0; |
|
|
|
|
a3 = a0; |
|
|
|
|
|
|
|
|
|
/* no need to optimize : gcc does it */ |
|
|
|
|
a0 += W2 * row[2]; |
|
|
|
|
a1 += W6 * row[2]; |
|
|
|
|
a2 -= W6 * row[2]; |
|
|
|
@ -284,10 +283,10 @@ void FUNC(ff_simple_idct_put)(uint8_t *dest_, int line_size, DCTELEM *block) |
|
|
|
|
|
|
|
|
|
line_size /= sizeof(pixel); |
|
|
|
|
|
|
|
|
|
for(i=0; i<8; i++) |
|
|
|
|
for (i = 0; i < 8; i++) |
|
|
|
|
FUNC(idctRowCondDC)(block + i*8); |
|
|
|
|
|
|
|
|
|
for(i=0; i<8; i++) |
|
|
|
|
for (i = 0; i < 8; i++) |
|
|
|
|
FUNC(idctSparseColPut)(dest + i, line_size, block + i); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -298,19 +297,20 @@ void FUNC(ff_simple_idct_add)(uint8_t *dest_, int line_size, DCTELEM *block) |
|
|
|
|
|
|
|
|
|
line_size /= sizeof(pixel); |
|
|
|
|
|
|
|
|
|
for(i=0; i<8; i++) |
|
|
|
|
for (i = 0; i < 8; i++) |
|
|
|
|
FUNC(idctRowCondDC)(block + i*8); |
|
|
|
|
|
|
|
|
|
for(i=0; i<8; i++) |
|
|
|
|
for (i = 0; i < 8; i++) |
|
|
|
|
FUNC(idctSparseColAdd)(dest + i, line_size, block + i); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void FUNC(ff_simple_idct)(DCTELEM *block) |
|
|
|
|
{ |
|
|
|
|
int i; |
|
|
|
|
for(i=0; i<8; i++) |
|
|
|
|
|
|
|
|
|
for (i = 0; i < 8; i++) |
|
|
|
|
FUNC(idctRowCondDC)(block + i*8); |
|
|
|
|
|
|
|
|
|
for(i=0; i<8; i++) |
|
|
|
|
for (i = 0; i < 8; i++) |
|
|
|
|
FUNC(idctSparseCol)(block + i); |
|
|
|
|
} |
|
|
|
|