Mercurial > libavcodec.hg
comparison ppc/mpegvideo_ppc.c @ 1511:587258262aa5 libavcodec
recommit (of patch, as cvslog msg didnt apply cleanly)
libavcodec/ppc compile errors patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
author | michael |
---|---|
date | Sat, 11 Oct 2003 08:25:23 +0000 |
parents | 28f0e53706a7 |
children | 61cebcb5a997 |
comparison
equal
deleted
inserted
replaced
1510:ca1da7d99d52 | 1511:587258262aa5 |
---|---|
34 extern void idct_add_altivec(uint8_t *dest, int line_size, int16_t *block); | 34 extern void idct_add_altivec(uint8_t *dest, int line_size, int16_t *block); |
35 | 35 |
36 | 36 |
37 void MPV_common_init_ppc(MpegEncContext *s) | 37 void MPV_common_init_ppc(MpegEncContext *s) |
38 { | 38 { |
39 #if HAVE_ALTIVEC | 39 #ifdef HAVE_ALTIVEC |
40 if (has_altivec()) | 40 if (has_altivec()) |
41 { | 41 { |
42 if ((s->avctx->idct_algo == FF_IDCT_AUTO) || | 42 if ((s->avctx->idct_algo == FF_IDCT_AUTO) || |
43 (s->avctx->idct_algo == FF_IDCT_ALTIVEC)) | 43 (s->avctx->idct_algo == FF_IDCT_ALTIVEC)) |
44 { | 44 { |