Revision 12802ec0 libavcodec/ppc/vc1dsp_altivec.c

View differences:

libavcodec/ppc/vc1dsp_altivec.c
322 322
}
323 323

  
324 324

  
325
void vc1dsp_init_altivec(DSPContext* dsp, AVCodecContext *avctx) {
325
void ff_vc1dsp_init_altivec(VC1DSPContext* dsp)
326
{
327
    if (!(av_get_cpu_flags() & AV_CPU_FLAG_ALTIVEC))
328
        return;
329

  
326 330
    dsp->vc1_inv_trans_8x8 = vc1_inv_trans_8x8_altivec;
327 331
    dsp->vc1_inv_trans_8x4 = vc1_inv_trans_8x4_altivec;
328 332
}

Also available in: Unified diff