Commit 506c78af authored by kostya's avatar kostya

Add 4x4 IDCT

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11198 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 79006540
......@@ -585,3 +585,17 @@ void ff_simple_idct48_add(uint8_t *dest, int line_size, DCTELEM *block)
}
}
void ff_simple_idct44_add(uint8_t *dest, int line_size, DCTELEM *block)
{
int i;
/* IDCT4 on each line */
for(i=0; i<4; i++) {
idct4row(block + i*8);
}
/* IDCT4 and store */
for(i=0; i<4; i++){
idct4col_add(dest + i, line_size, block + i);
}
}
......@@ -42,5 +42,6 @@ void ff_simple_idct248_put(uint8_t *dest, int line_size, DCTELEM *block);
void ff_simple_idct84_add(uint8_t *dest, int line_size, DCTELEM *block);
void ff_simple_idct48_add(uint8_t *dest, int line_size, DCTELEM *block);
void ff_simple_idct44_add(uint8_t *dest, int line_size, DCTELEM *block);
#endif /* FFMPEG_SIMPLE_IDCT_H */
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