comparison libpostproc/postprocess_template.c @ 2295:c8f35aaeb857 libavcodec

1000l btw what is the sense in all these nonsense REAL_* macros? the extra level of indirection seems to help nothing... can we reverse that and commit a sane replacement?
author rfelker
date Tue, 12 Oct 2004 07:16:14 +0000
parents 15cfba1b97b5
children ace6e273f318
comparison
equal deleted inserted replaced
2294:fac626a2b73b 2295:c8f35aaeb857
48 #undef PMAXUB 48 #undef PMAXUB
49 49
50 #ifdef HAVE_MMX2 50 #ifdef HAVE_MMX2
51 #define REAL_PAVGB(a,b) "pavgb " #a ", " #b " \n\t" 51 #define REAL_PAVGB(a,b) "pavgb " #a ", " #b " \n\t"
52 #elif defined (HAVE_3DNOW) 52 #elif defined (HAVE_3DNOW)
53 #define REAL_RPAVGB(a,b) "pavgusb " #a ", " #b " \n\t" 53 #define REAL_PAVGB(a,b) "pavgusb " #a ", " #b " \n\t"
54 #endif 54 #endif
55 #define PAVGB(a,b) REAL_PAVGB(a,b) 55 #define PAVGB(a,b) REAL_PAVGB(a,b)
56 56
57 #ifdef HAVE_MMX2 57 #ifdef HAVE_MMX2
58 #define PMINUB(a,b,t) "pminub " #a ", " #b " \n\t" 58 #define PMINUB(a,b,t) "pminub " #a ", " #b " \n\t"