Mercurial > libavcodec.hg
comparison dsputil.c @ 6407:7f9e2b5893fc libavcodec
floating point AAN IDCT
author | michael |
---|---|
date | Tue, 26 Feb 2008 14:59:11 +0000 |
parents | 922774d1fb9c |
children | 5154ab444372 |
comparison
equal
deleted
inserted
replaced
6406:49dcfab1bda3 | 6407:7f9e2b5893fc |
---|---|
30 #include "avcodec.h" | 30 #include "avcodec.h" |
31 #include "dsputil.h" | 31 #include "dsputil.h" |
32 #include "mpegvideo.h" | 32 #include "mpegvideo.h" |
33 #include "simple_idct.h" | 33 #include "simple_idct.h" |
34 #include "faandct.h" | 34 #include "faandct.h" |
35 #include "faanidct.h" | |
35 #include "h263.h" | 36 #include "h263.h" |
36 #include "snow.h" | 37 #include "snow.h" |
37 | 38 |
38 /* snow.c */ | 39 /* snow.c */ |
39 void ff_spatial_dwt(int *buffer, int width, int height, int stride, int type, int decomposition_count); | 40 void ff_spatial_dwt(int *buffer, int width, int height, int stride, int type, int decomposition_count); |
4044 }else if(avctx->idct_algo==FF_IDCT_WMV2){ | 4045 }else if(avctx->idct_algo==FF_IDCT_WMV2){ |
4045 c->idct_put= ff_wmv2_idct_put_c; | 4046 c->idct_put= ff_wmv2_idct_put_c; |
4046 c->idct_add= ff_wmv2_idct_add_c; | 4047 c->idct_add= ff_wmv2_idct_add_c; |
4047 c->idct = ff_wmv2_idct_c; | 4048 c->idct = ff_wmv2_idct_c; |
4048 c->idct_permutation_type= FF_NO_IDCT_PERM; | 4049 c->idct_permutation_type= FF_NO_IDCT_PERM; |
4050 }else if(avctx->idct_algo==FF_IDCT_FAAN){ | |
4051 c->idct_put= ff_faanidct_put; | |
4052 c->idct_add= ff_faanidct_add; | |
4053 c->idct = ff_faanidct; | |
4054 c->idct_permutation_type= FF_NO_IDCT_PERM; | |
4049 }else{ //accurate/default | 4055 }else{ //accurate/default |
4050 c->idct_put= ff_simple_idct_put; | 4056 c->idct_put= ff_simple_idct_put; |
4051 c->idct_add= ff_simple_idct_add; | 4057 c->idct_add= ff_simple_idct_add; |
4052 c->idct = ff_simple_idct; | 4058 c->idct = ff_simple_idct; |
4053 c->idct_permutation_type= FF_NO_IDCT_PERM; | 4059 c->idct_permutation_type= FF_NO_IDCT_PERM; |