Mercurial > libavcodec.hg
comparison i386/dsputil_mmx.c @ 1232:e88d3b1fb2a1 libavcodec
more #ifdef CONFIG_ENCODERS by (Wolfgang Hesseler <qv at multimediaware dot com>)
author | michaelni |
---|---|
date | Wed, 07 May 2003 23:32:45 +0000 |
parents | 4f0072371bb9 |
children | 7d328fd9d8a5 |
comparison
equal
deleted
inserted
replaced
1231:b88dfc4bbf8c | 1232:e88d3b1fb2a1 |
---|---|
1557 | 1557 |
1558 if (mm_flags & MM_MMX) { | 1558 if (mm_flags & MM_MMX) { |
1559 const int dct_algo = avctx->dct_algo; | 1559 const int dct_algo = avctx->dct_algo; |
1560 const int idct_algo= avctx->idct_algo; | 1560 const int idct_algo= avctx->idct_algo; |
1561 | 1561 |
1562 #ifdef CONFIG_ENCODERS | |
1562 if(dct_algo==FF_DCT_AUTO || dct_algo==FF_DCT_MMX) | 1563 if(dct_algo==FF_DCT_AUTO || dct_algo==FF_DCT_MMX) |
1563 c->fdct = ff_fdct_mmx; | 1564 c->fdct = ff_fdct_mmx; |
1565 #endif //CONFIG_ENCODERS | |
1564 | 1566 |
1565 if(idct_algo==FF_IDCT_AUTO || idct_algo==FF_IDCT_SIMPLEMMX){ | 1567 if(idct_algo==FF_IDCT_AUTO || idct_algo==FF_IDCT_SIMPLEMMX){ |
1566 c->idct_put= ff_simple_idct_put_mmx; | 1568 c->idct_put= ff_simple_idct_put_mmx; |
1567 c->idct_add= ff_simple_idct_add_mmx; | 1569 c->idct_add= ff_simple_idct_add_mmx; |
1568 c->idct_permutation_type= FF_SIMPLE_IDCT_PERM; | 1570 c->idct_permutation_type= FF_SIMPLE_IDCT_PERM; |