Mercurial > libavcodec.hg
comparison ppc/dsputil_ppc.c @ 9420:5b68d22e5ec9 libavcodec
Remove AltiVec optimizations for Snow. They are hindering the development
of Snow, which is still in flux.
author | diego |
---|---|
date | Sun, 12 Apr 2009 21:42:55 +0000 |
parents | 13b6cdf7895e |
children | d563821462b4 |
comparison
equal
deleted
inserted
replaced
9419:f2f83796f07b | 9420:5b68d22e5ec9 |
---|---|
34 | 34 |
35 void dsputil_h264_init_ppc(DSPContext* c, AVCodecContext *avctx); | 35 void dsputil_h264_init_ppc(DSPContext* c, AVCodecContext *avctx); |
36 | 36 |
37 void dsputil_init_altivec(DSPContext* c, AVCodecContext *avctx); | 37 void dsputil_init_altivec(DSPContext* c, AVCodecContext *avctx); |
38 void vc1dsp_init_altivec(DSPContext* c, AVCodecContext *avctx); | 38 void vc1dsp_init_altivec(DSPContext* c, AVCodecContext *avctx); |
39 void snow_init_altivec(DSPContext* c, AVCodecContext *avctx); | |
40 void float_init_altivec(DSPContext* c, AVCodecContext *avctx); | 39 void float_init_altivec(DSPContext* c, AVCodecContext *avctx); |
41 void int_init_altivec(DSPContext* c, AVCodecContext *avctx); | 40 void int_init_altivec(DSPContext* c, AVCodecContext *avctx); |
42 | 41 |
43 int mm_flags = 0; | 42 int mm_flags = 0; |
44 | 43 |
263 | 262 |
264 if (has_altivec()) { | 263 if (has_altivec()) { |
265 mm_flags |= FF_MM_ALTIVEC; | 264 mm_flags |= FF_MM_ALTIVEC; |
266 | 265 |
267 dsputil_init_altivec(c, avctx); | 266 dsputil_init_altivec(c, avctx); |
268 if(CONFIG_SNOW_DECODER) snow_init_altivec(c, avctx); | |
269 if(CONFIG_VC1_DECODER || CONFIG_WMV3_DECODER) | 267 if(CONFIG_VC1_DECODER || CONFIG_WMV3_DECODER) |
270 vc1dsp_init_altivec(c, avctx); | 268 vc1dsp_init_altivec(c, avctx); |
271 float_init_altivec(c, avctx); | 269 float_init_altivec(c, avctx); |
272 int_init_altivec(c, avctx); | 270 int_init_altivec(c, avctx); |
273 c->gmc1 = gmc1_altivec; | 271 c->gmc1 = gmc1_altivec; |