Revision 454403ba libavcodec/ppc/dsputil_ppc.c

View differences:

libavcodec/ppc/dsputil_ppc.c
32 32
void idct_put_altivec(uint8_t *dest, int line_size, int16_t *block);
33 33
void idct_add_altivec(uint8_t *dest, int line_size, int16_t *block);
34 34

  
35
void ff_vp3_idct_altivec(DCTELEM *block);
36
void ff_vp3_idct_put_altivec(uint8_t *dest, int line_size, DCTELEM *block);
37
void ff_vp3_idct_add_altivec(uint8_t *dest, int line_size, DCTELEM *block);
38

  
35 39
void dsputil_h264_init_ppc(DSPContext* c, AVCodecContext *avctx);
36 40

  
37 41
void dsputil_init_altivec(DSPContext* c, AVCodecContext *avctx);
......
283 287
                c->idct_put = idct_put_altivec;
284 288
                c->idct_add = idct_add_altivec;
285 289
                c->idct_permutation_type = FF_TRANSPOSE_IDCT_PERM;
290
            }else if((CONFIG_VP3_DECODER || CONFIG_VP5_DECODER || CONFIG_VP6_DECODER || CONFIG_THEORA_DECODER) &&
291
                     avctx->idct_algo==FF_IDCT_VP3){
292
                c->idct_put = ff_vp3_idct_put_altivec;
293
                c->idct_add = ff_vp3_idct_add_altivec;
294
                c->idct     = ff_vp3_idct_altivec;
295
                c->idct_permutation_type = FF_TRANSPOSE_IDCT_PERM;
286 296
            }
287 297
        }
288 298

  

Also available in: Unified diff