Mercurial > libavcodec.hg
comparison dsputil.c @ 8120:3d4e01bcd2a5 libavcodec
Electronic Arts TGQ/TQI/MAD IDCT algorithm
| author | pross |
|---|---|
| date | Sat, 08 Nov 2008 00:38:10 +0000 |
| parents | 1fbfce20cb79 |
| children | 520a6e56b8c0 |
comparison
equal
deleted
inserted
replaced
| 8119:4c2893f962bb | 8120:3d4e01bcd2a5 |
|---|---|
| 47 /* flacenc.c */ | 47 /* flacenc.c */ |
| 48 void ff_flac_compute_autocorr(const int32_t *data, int len, int lag, double *autoc); | 48 void ff_flac_compute_autocorr(const int32_t *data, int len, int lag, double *autoc); |
| 49 | 49 |
| 50 /* pngdec.c */ | 50 /* pngdec.c */ |
| 51 void ff_add_png_paeth_prediction(uint8_t *dst, uint8_t *src, uint8_t *top, int w, int bpp); | 51 void ff_add_png_paeth_prediction(uint8_t *dst, uint8_t *src, uint8_t *top, int w, int bpp); |
| 52 | |
| 53 /* eaidct.c */ | |
| 54 void ff_ea_idct_put_c(uint8_t *dest, int linesize, DCTELEM *block); | |
| 52 | 55 |
| 53 uint8_t ff_cropTbl[256 + 2 * MAX_NEG_CROP] = {0, }; | 56 uint8_t ff_cropTbl[256 + 2 * MAX_NEG_CROP] = {0, }; |
| 54 uint32_t ff_squareTbl[512] = {0, }; | 57 uint32_t ff_squareTbl[512] = {0, }; |
| 55 | 58 |
| 56 // 0x7f7f7f7f or 0x7f7f7f7f7f7f7f7f or whatever, depending on the cpu's native arithmetic size | 59 // 0x7f7f7f7f or 0x7f7f7f7f7f7f7f7f or whatever, depending on the cpu's native arithmetic size |
| 4238 }else if(avctx->idct_algo==FF_IDCT_FAAN){ | 4241 }else if(avctx->idct_algo==FF_IDCT_FAAN){ |
| 4239 c->idct_put= ff_faanidct_put; | 4242 c->idct_put= ff_faanidct_put; |
| 4240 c->idct_add= ff_faanidct_add; | 4243 c->idct_add= ff_faanidct_add; |
| 4241 c->idct = ff_faanidct; | 4244 c->idct = ff_faanidct; |
| 4242 c->idct_permutation_type= FF_NO_IDCT_PERM; | 4245 c->idct_permutation_type= FF_NO_IDCT_PERM; |
| 4246 }else if(ENABLE_EATGQ_DECODER && avctx->idct_algo==FF_IDCT_EA) { | |
| 4247 c->idct_put= ff_ea_idct_put_c; | |
| 4248 c->idct_permutation_type= FF_NO_IDCT_PERM; | |
| 4243 }else{ //accurate/default | 4249 }else{ //accurate/default |
| 4244 c->idct_put= ff_simple_idct_put; | 4250 c->idct_put= ff_simple_idct_put; |
| 4245 c->idct_add= ff_simple_idct_add; | 4251 c->idct_add= ff_simple_idct_add; |
| 4246 c->idct = ff_simple_idct; | 4252 c->idct = ff_simple_idct; |
| 4247 c->idct_permutation_type= FF_NO_IDCT_PERM; | 4253 c->idct_permutation_type= FF_NO_IDCT_PERM; |
