Mercurial > libpostproc.hg
changeset 134:ced16a4fbbec libpostproc
Fix warnings about redefining constants when compiling libpostproc.
Patch by Yuriy Kaminskiy, yumkam mail ru
author | cehoyos |
---|---|
date | Tue, 02 Feb 2010 19:35:52 +0000 |
parents | 51571e34b760 |
children | 0397ed4317ef |
files | postprocess_template.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/postprocess_template.c Fri Jan 22 03:25:11 2010 +0000 +++ b/postprocess_template.c Tue Feb 02 19:35:52 2010 +0000 @@ -27,6 +27,7 @@ #define ALIGN_MASK "$-8" +#undef REAL_PAVGB #undef PAVGB #undef PMINUB #undef PMAXUB @@ -1059,6 +1060,7 @@ // 0 1 2 3 4 5 6 7 8 9 // %0 eax eax+%1 eax+2%1 %0+4%1 edx edx+%1 edx+2%1 %0+8%1 edx+4%1 +#undef REAL_FIND_MIN_MAX #undef FIND_MIN_MAX #if HAVE_MMX2 #define REAL_FIND_MIN_MAX(addr)\ @@ -3007,6 +3009,7 @@ * Copies a block from src to dst and fixes the blacklevel. * levelFix == 0 -> do not touch the brighness & contrast */ +#undef REAL_SCALED_CPY #undef SCALED_CPY static inline void RENAME(blockCopy)(uint8_t dst[], int dstStride, const uint8_t src[], int srcStride,