Mercurial > libavcodec.hg
comparison simple_idct.c @ 6007:3c37faa04193 libavcodec
Add 4x4 IDCT
author | kostya |
---|---|
date | Sun, 09 Dec 2007 05:54:59 +0000 |
parents | f4859c13426b |
children | eebc7209c47f |
comparison
equal
deleted
inserted
replaced
6006:ed7a232d570a | 6007:3c37faa04193 |
---|---|
583 for(i=0; i<4; i++){ | 583 for(i=0; i<4; i++){ |
584 idctSparseColAdd(dest + i, line_size, block + i); | 584 idctSparseColAdd(dest + i, line_size, block + i); |
585 } | 585 } |
586 } | 586 } |
587 | 587 |
588 void ff_simple_idct44_add(uint8_t *dest, int line_size, DCTELEM *block) | |
589 { | |
590 int i; | |
591 | |
592 /* IDCT4 on each line */ | |
593 for(i=0; i<4; i++) { | |
594 idct4row(block + i*8); | |
595 } | |
596 | |
597 /* IDCT4 and store */ | |
598 for(i=0; i<4; i++){ | |
599 idct4col_add(dest + i, line_size, block + i); | |
600 } | |
601 } |