Commit 2cc4f3b2 authored by Mans Rullgard's avatar Mans Rullgard

simple_idct: whitespace cosmetics

Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent a402f109
......@@ -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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment