Mercurial > libavcodec.hg
comparison ppc/dsputil_ppc.c @ 4197:bbe0bc387a19 libavcodec
revert bad checkin
author | mru |
---|---|
date | Tue, 14 Nov 2006 03:18:09 +0000 |
parents | fbac0859753d |
children | ef1d382309e5 |
comparison
equal
deleted
inserted
replaced
4196:fbac0859753d | 4197:bbe0bc387a19 |
---|---|
40 void snow_init_altivec(DSPContext* c, AVCodecContext *avctx); | 40 void snow_init_altivec(DSPContext* c, AVCodecContext *avctx); |
41 void float_init_altivec(DSPContext* c, AVCodecContext *avctx); | 41 void float_init_altivec(DSPContext* c, AVCodecContext *avctx); |
42 | 42 |
43 #endif | 43 #endif |
44 | 44 |
45 int ff_mm_flags = 0; | 45 int mm_flags = 0; |
46 | 46 |
47 int mm_support(void) | 47 int mm_support(void) |
48 { | 48 { |
49 int result = 0; | 49 int result = 0; |
50 #ifdef HAVE_ALTIVEC | 50 #ifdef HAVE_ALTIVEC |
275 | 275 |
276 #ifdef HAVE_ALTIVEC | 276 #ifdef HAVE_ALTIVEC |
277 dsputil_h264_init_ppc(c, avctx); | 277 dsputil_h264_init_ppc(c, avctx); |
278 | 278 |
279 if (has_altivec()) { | 279 if (has_altivec()) { |
280 ff_mm_flags |= MM_ALTIVEC; | 280 mm_flags |= MM_ALTIVEC; |
281 | 281 |
282 dsputil_init_altivec(c, avctx); | 282 dsputil_init_altivec(c, avctx); |
283 snow_init_altivec(c, avctx); | 283 snow_init_altivec(c, avctx); |
284 vc1dsp_init_altivec(c, avctx); | 284 vc1dsp_init_altivec(c, avctx); |
285 float_init_altivec(c, avctx); | 285 float_init_altivec(c, avctx); |