Mercurial > libavcodec.hg
comparison ppc/dsputil_ppc.c @ 8596:68e959302527 libavcodec
replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_
and remove all ENABLE_ definitions.
author | aurel |
---|---|
date | Wed, 14 Jan 2009 17:19:17 +0000 |
parents | 7a463923ecd1 |
children | 13b6cdf7895e |
comparison
equal
deleted
inserted
replaced
8595:2f476018b4ac | 8596:68e959302527 |
---|---|
260 default: | 260 default: |
261 break; | 261 break; |
262 } | 262 } |
263 | 263 |
264 #if HAVE_ALTIVEC | 264 #if HAVE_ALTIVEC |
265 if(ENABLE_H264_DECODER) dsputil_h264_init_ppc(c, avctx); | 265 if(CONFIG_H264_DECODER) dsputil_h264_init_ppc(c, avctx); |
266 | 266 |
267 if (has_altivec()) { | 267 if (has_altivec()) { |
268 mm_flags |= FF_MM_ALTIVEC; | 268 mm_flags |= FF_MM_ALTIVEC; |
269 | 269 |
270 dsputil_init_altivec(c, avctx); | 270 dsputil_init_altivec(c, avctx); |
271 if(ENABLE_SNOW_DECODER) snow_init_altivec(c, avctx); | 271 if(CONFIG_SNOW_DECODER) snow_init_altivec(c, avctx); |
272 if(ENABLE_VC1_DECODER || ENABLE_WMV3_DECODER) | 272 if(CONFIG_VC1_DECODER || CONFIG_WMV3_DECODER) |
273 vc1dsp_init_altivec(c, avctx); | 273 vc1dsp_init_altivec(c, avctx); |
274 float_init_altivec(c, avctx); | 274 float_init_altivec(c, avctx); |
275 int_init_altivec(c, avctx); | 275 int_init_altivec(c, avctx); |
276 c->gmc1 = gmc1_altivec; | 276 c->gmc1 = gmc1_altivec; |
277 | 277 |