summaryrefslogtreecommitdiffstats
path: root/libavcodec/mlib
diff options
context:
space:
mode:
authorZdenek Kabelac <kabi@informatics.muni.cz>2003-05-20 17:36:49 +0000
committerZdenek Kabelac <kabi@informatics.muni.cz>2003-05-20 17:36:49 +0000
commit31d8cb134d2f12925edb51f479e9891217822d54 (patch)
treea46342b95957a5ad926932e6974225464011d44e /libavcodec/mlib
parent6d50b2e673f7bea1bcb873e9f8d158f9bec123eb (diff)
downloadffmpeg-streaming-31d8cb134d2f12925edb51f479e9891217822d54.zip
ffmpeg-streaming-31d8cb134d2f12925edb51f479e9891217822d54.tar.gz
* compile fixes by Mitch at Bits.COM
Originally committed as revision 1894 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mlib')
-rw-r--r--libavcodec/mlib/dsputil_mlib.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/mlib/dsputil_mlib.c b/libavcodec/mlib/dsputil_mlib.c
index 7a0f9d5..30111e2 100644
--- a/libavcodec/mlib/dsputil_mlib.c
+++ b/libavcodec/mlib/dsputil_mlib.c
@@ -226,7 +226,7 @@ static void ff_fdct_mlib(DCTELEM *data)
mlib_VideoDCT8x8_S16_S16 (data, data);
}
-void dsputil_init_mlib(DSPContext* c, unsigned mask)
+void dsputil_init_mlib(DSPContext* c, AVCodecContext *avctx)
{
c->put_pixels_tab[0][0] = put_pixels16_mlib;
c->put_pixels_tab[0][1] = put_pixels16_x2_mlib;
@@ -258,12 +258,12 @@ void MPV_common_init_mlib(MpegEncContext *s)
int i;
if(s->avctx->dct_algo==FF_DCT_AUTO || s->avctx->dct_algo==FF_DCT_MLIB){
- s->fdct = ff_fdct_mlib;
+ s->dsp.fdct = ff_fdct_mlib;
}
if(s->avctx->idct_algo==FF_IDCT_AUTO || s->avctx->idct_algo==FF_IDCT_MLIB){
- s->idct_put= ff_idct_put_mlib;
- s->idct_add= ff_idct_add_mlib;
- s->idct_permutation_type= FF_NO_IDCT_PERM;
+ s->dsp.idct_put= ff_idct_put_mlib;
+ s->dsp.idct_add= ff_idct_add_mlib;
+ s->dsp.idct_permutation_type= FF_NO_IDCT_PERM;
}
}
OpenPOWER on IntegriCloud