comparison postprocess.c @ 24:177d477f3225 libpostproc

Remove gcc-workaround that is already present in libavutil/common.h.
author diego
date Mon, 09 Oct 2006 22:36:38 +0000
parents b0d83867e2f6
children df7a316cafb4
comparison
equal deleted inserted replaced
23:b0d83867e2f6 24:177d477f3225
107 #define GET_MODE_BUFFER_SIZE 500 107 #define GET_MODE_BUFFER_SIZE 500
108 #define OPTIONS_ARRAY_SIZE 10 108 #define OPTIONS_ARRAY_SIZE 10
109 #define BLOCK_SIZE 8 109 #define BLOCK_SIZE 8
110 #define TEMP_STRIDE 8 110 #define TEMP_STRIDE 8
111 //#define NUM_BLOCKS_AT_ONCE 16 //not used yet 111 //#define NUM_BLOCKS_AT_ONCE 16 //not used yet
112
113 #if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
114 # define attribute_used __attribute__((used))
115 # define always_inline __attribute__((always_inline)) inline
116 #else
117 # define attribute_used
118 # define always_inline inline
119 #endif
120 112
121 #if defined(ARCH_X86) || defined(ARCH_X86_64) 113 #if defined(ARCH_X86) || defined(ARCH_X86_64)
122 static uint64_t __attribute__((aligned(8))) attribute_used w05= 0x0005000500050005LL; 114 static uint64_t __attribute__((aligned(8))) attribute_used w05= 0x0005000500050005LL;
123 static uint64_t __attribute__((aligned(8))) attribute_used w04= 0x0004000400040004LL; 115 static uint64_t __attribute__((aligned(8))) attribute_used w04= 0x0004000400040004LL;
124 static uint64_t __attribute__((aligned(8))) attribute_used w20= 0x0020002000200020LL; 116 static uint64_t __attribute__((aligned(8))) attribute_used w20= 0x0020002000200020LL;