comparison dsputil.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 0244bba24b43
children 151f6f3a507b
comparison
equal deleted inserted replaced
5139:f3d9859953c1 5140:9d4ca30481e0
4136 c->prefetch= just_return; 4136 c->prefetch= just_return;
4137 4137
4138 memset(c->put_2tap_qpel_pixels_tab, 0, sizeof(c->put_2tap_qpel_pixels_tab)); 4138 memset(c->put_2tap_qpel_pixels_tab, 0, sizeof(c->put_2tap_qpel_pixels_tab));
4139 memset(c->avg_2tap_qpel_pixels_tab, 0, sizeof(c->avg_2tap_qpel_pixels_tab)); 4139 memset(c->avg_2tap_qpel_pixels_tab, 0, sizeof(c->avg_2tap_qpel_pixels_tab));
4140 4140
4141 #ifdef HAVE_MMX 4141 #if defined(HAVE_MMX)
4142 dsputil_init_mmx(c, avctx); 4142 dsputil_init_mmx(c, avctx);
4143 #endif 4143 #elif defined(ARCH_ARMV4L)
4144 #ifdef ARCH_ARMV4L
4145 dsputil_init_armv4l(c, avctx); 4144 dsputil_init_armv4l(c, avctx);
4146 #endif 4145 #elif defined(HAVE_MLIB)
4147 #ifdef HAVE_MLIB
4148 dsputil_init_mlib(c, avctx); 4146 dsputil_init_mlib(c, avctx);
4149 #endif 4147 #elif defined(ARCH_SPARC)
4150 #ifdef ARCH_SPARC
4151 dsputil_init_vis(c,avctx); 4148 dsputil_init_vis(c,avctx);
4152 #endif 4149 #elif defined(ARCH_ALPHA)
4153 #ifdef ARCH_ALPHA
4154 dsputil_init_alpha(c, avctx); 4150 dsputil_init_alpha(c, avctx);
4155 #endif 4151 #elif defined(ARCH_POWERPC)
4156 #ifdef ARCH_POWERPC
4157 dsputil_init_ppc(c, avctx); 4152 dsputil_init_ppc(c, avctx);
4158 #endif 4153 #elif defined(HAVE_MMI)
4159 #ifdef HAVE_MMI
4160 dsputil_init_mmi(c, avctx); 4154 dsputil_init_mmi(c, avctx);
4161 #endif 4155 #elif defined(ARCH_SH4)
4162 #ifdef ARCH_SH4
4163 dsputil_init_sh4(c,avctx); 4156 dsputil_init_sh4(c,avctx);
4164 #endif 4157 #elif defined(ARCH_BFIN)
4165 #ifdef ARCH_BFIN
4166 dsputil_init_bfin(c,avctx); 4158 dsputil_init_bfin(c,avctx);
4167 #endif 4159 #endif
4168 4160
4169 for(i=0; i<64; i++){ 4161 for(i=0; i<64; i++){
4170 if(!c->put_2tap_qpel_pixels_tab[0][i]) 4162 if(!c->put_2tap_qpel_pixels_tab[0][i])