Revision 14cabd40 libavcodec/ppc/dsputil_ppc.c

View differences:

libavcodec/ppc/dsputil_ppc.c
25 25
#include "dsputil_altivec.h"
26 26
#endif
27 27

  
28
extern void fdct_altivec(int16_t *block);
28 29
extern void idct_put_altivec(uint8_t *dest, int line_size, int16_t *block);
29 30
extern void idct_add_altivec(uint8_t *dest, int line_size, int16_t *block);
30 31

  
......
48 49
  "fft_calc_altivec",
49 50
  "gmc1_altivec",
50 51
  "dct_unquantize_h263_altivec",
52
  "fdct_altivec",
51 53
  "idct_add_altivec",
52 54
  "idct_put_altivec",
53 55
  "put_pixels16_altivec",
......
270 272
        
271 273
	c->gmc1 = gmc1_altivec;
272 274

  
275
#ifdef CONFIG_ENCODERS
276
	if (avctx->dct_algo == FF_DCT_AUTO ||
277
	    avctx->dct_algo == FF_DCT_ALTIVEC)
278
	{
279
	    c->fdct = fdct_altivec;
280
	}
281
#endif //CONFIG_ENCODERS
282

  
273 283
        if ((avctx->idct_algo == FF_IDCT_AUTO) ||
274 284
                (avctx->idct_algo == FF_IDCT_ALTIVEC))
275 285
        {

Also available in: Unified diff