Revision 31d8cb13 libavcodec/mlib/dsputil_mlib.c

View differences:

libavcodec/mlib/dsputil_mlib.c
226 226
    mlib_VideoDCT8x8_S16_S16 (data, data);
227 227
}
228 228

  
229
void dsputil_init_mlib(DSPContext* c, unsigned mask)
229
void dsputil_init_mlib(DSPContext* c, AVCodecContext *avctx)
230 230
{
231 231
    c->put_pixels_tab[0][0] = put_pixels16_mlib;
232 232
    c->put_pixels_tab[0][1] = put_pixels16_x2_mlib;
......
258 258
    int i;
259 259

  
260 260
    if(s->avctx->dct_algo==FF_DCT_AUTO || s->avctx->dct_algo==FF_DCT_MLIB){
261
	s->fdct = ff_fdct_mlib;
261
	s->dsp.fdct = ff_fdct_mlib;
262 262
    }
263 263

  
264 264
    if(s->avctx->idct_algo==FF_IDCT_AUTO || s->avctx->idct_algo==FF_IDCT_MLIB){
265
        s->idct_put= ff_idct_put_mlib;
266
        s->idct_add= ff_idct_add_mlib;
267
        s->idct_permutation_type= FF_NO_IDCT_PERM;
265
        s->dsp.idct_put= ff_idct_put_mlib;
266
        s->dsp.idct_add= ff_idct_add_mlib;
267
        s->dsp.idct_permutation_type= FF_NO_IDCT_PERM;
268 268
    }
269 269
}

Also available in: Unified diff