comparison dsputil.c @ 1571:aa4dc16c0f18 libavcodec

* adding integer/floating point AAN implementations for DCT 2-4-8
author romansh
date Sat, 25 Oct 2003 00:32:54 +0000
parents e08df4d22d27
children 932d306bf1dc
comparison
equal deleted inserted replaced
1570:9a9c14e87ebf 1571:aa4dc16c0f18
2882 int i; 2882 int i;
2883 2883
2884 #ifdef CONFIG_ENCODERS 2884 #ifdef CONFIG_ENCODERS
2885 if(avctx->dct_algo==FF_DCT_FASTINT) { 2885 if(avctx->dct_algo==FF_DCT_FASTINT) {
2886 c->fdct = fdct_ifast; 2886 c->fdct = fdct_ifast;
2887 c->fdct248 = ff_fdct248_islow; // FIXME: need an optimized version 2887 c->fdct248 = fdct_ifast248;
2888 } 2888 }
2889 else if(avctx->dct_algo==FF_DCT_FAAN) { 2889 else if(avctx->dct_algo==FF_DCT_FAAN) {
2890 c->fdct = ff_faandct; 2890 c->fdct = ff_faandct;
2891 c->fdct248 = ff_fdct248_islow; // FIXME: need an optimized version 2891 c->fdct248 = ff_faandct248;
2892 } 2892 }
2893 else { 2893 else {
2894 c->fdct = ff_jpeg_fdct_islow; //slow/accurate/default 2894 c->fdct = ff_jpeg_fdct_islow; //slow/accurate/default
2895 c->fdct248 = ff_fdct248_islow; 2895 c->fdct248 = ff_fdct248_islow;
2896 } 2896 }