comparison mathops.h @ 11200:cd8a77473dd1 libavcodec

Move NEG_[US]SR32 macros to mathops.h
author mru
date Wed, 17 Feb 2010 23:58:59 +0000
parents 5f2c4bcf6e6e
children c975efe95584
comparison
equal deleted inserted replaced
11199:f1b38a8588b2 11200:cd8a77473dd1
129 (a) = (b);\ 129 (a) = (b);\
130 (c) = (d);\ 130 (c) = (d);\
131 } 131 }
132 #endif 132 #endif
133 133
134 #ifndef NEG_SSR32
135 # define NEG_SSR32(a,s) ((( int32_t)(a))>>(32-(s)))
136 #endif
137
138 #ifndef NEG_USR32
139 # define NEG_USR32(a,s) (((uint32_t)(a))>>(32-(s)))
140 #endif
141
134 #endif /* AVCODEC_MATHOPS_H */ 142 #endif /* AVCODEC_MATHOPS_H */
135 143