Commit 93dbfd59 authored by mru's avatar mru

SH4: do not mix code and declarations

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15881 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a78652fd
...@@ -66,9 +66,9 @@ static void clear_blocks_sh4(DCTELEM *blocks) ...@@ -66,9 +66,9 @@ static void clear_blocks_sh4(DCTELEM *blocks)
extern void idct_sh4(DCTELEM *block); extern void idct_sh4(DCTELEM *block);
static void idct_put(uint8_t *dest, int line_size, DCTELEM *block) static void idct_put(uint8_t *dest, int line_size, DCTELEM *block)
{ {
idct_sh4(block);
int i; int i;
uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
idct_sh4(block);
for(i=0;i<8;i++) { for(i=0;i<8;i++) {
dest[0] = cm[block[0]]; dest[0] = cm[block[0]];
dest[1] = cm[block[1]]; dest[1] = cm[block[1]];
...@@ -84,9 +84,9 @@ static void idct_put(uint8_t *dest, int line_size, DCTELEM *block) ...@@ -84,9 +84,9 @@ static void idct_put(uint8_t *dest, int line_size, DCTELEM *block)
} }
static void idct_add(uint8_t *dest, int line_size, DCTELEM *block) static void idct_add(uint8_t *dest, int line_size, DCTELEM *block)
{ {
idct_sh4(block);
int i; int i;
uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
idct_sh4(block);
for(i=0;i<8;i++) { for(i=0;i<8;i++) {
dest[0] = cm[dest[0]+block[0]]; dest[0] = cm[dest[0]+block[0]];
dest[1] = cm[dest[1]+block[1]]; dest[1] = cm[dest[1]+block[1]];
......
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