mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Add 4x4 IDCT
Originally committed as revision 11198 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e2270b4e1e
commit
91823a6efd
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user