Mercurial > libavcodec.hg
comparison mpegvideo.c @ 5140:9d4ca30481e0 libavcodec
Simplify init preprocessor statements.
patch by Albert Lee, trisk+xine acm.jhu edu
author | diego |
---|---|
date | Thu, 14 Jun 2007 08:44:41 +0000 |
parents | a3b82ca01e68 |
children | b3fd384aaa28 |
comparison
equal
deleted
inserted
replaced
5139:f3d9859953c1 | 5140:9d4ca30481e0 |
---|---|
275 #ifdef CONFIG_ENCODERS | 275 #ifdef CONFIG_ENCODERS |
276 s->dct_quantize= dct_quantize_c; | 276 s->dct_quantize= dct_quantize_c; |
277 s->denoise_dct= denoise_dct_c; | 277 s->denoise_dct= denoise_dct_c; |
278 #endif //CONFIG_ENCODERS | 278 #endif //CONFIG_ENCODERS |
279 | 279 |
280 #ifdef HAVE_MMX | 280 #if defined(HAVE_MMX) |
281 MPV_common_init_mmx(s); | 281 MPV_common_init_mmx(s); |
282 #endif | 282 #elif defined(ARCH_ALPHA) |
283 #ifdef ARCH_ALPHA | |
284 MPV_common_init_axp(s); | 283 MPV_common_init_axp(s); |
285 #endif | 284 #elif defined(HAVE_MLIB) |
286 #ifdef HAVE_MLIB | |
287 MPV_common_init_mlib(s); | 285 MPV_common_init_mlib(s); |
288 #endif | 286 #elif defined(HAVE_MMI) |
289 #ifdef HAVE_MMI | |
290 MPV_common_init_mmi(s); | 287 MPV_common_init_mmi(s); |
291 #endif | 288 #elif defined(ARCH_ARMV4L) |
292 #ifdef ARCH_ARMV4L | |
293 MPV_common_init_armv4l(s); | 289 MPV_common_init_armv4l(s); |
294 #endif | 290 #elif defined(ARCH_POWERPC) |
295 #ifdef ARCH_POWERPC | |
296 MPV_common_init_ppc(s); | 291 MPV_common_init_ppc(s); |
297 #endif | 292 #elif defined(ARCH_BFIN) |
298 #ifdef ARCH_BFIN | |
299 MPV_common_init_bfin(s); | 293 MPV_common_init_bfin(s); |
300 #endif | 294 #endif |
301 | 295 |
302 #ifdef CONFIG_ENCODERS | 296 #ifdef CONFIG_ENCODERS |
303 s->fast_dct_quantize= s->dct_quantize; | 297 s->fast_dct_quantize= s->dct_quantize; |