Lines Matching defs:swap
127 static inline int MULTI_DIV_int(int a, unsigned int b, int swap)
131 a = swap ? (int)bswap_32(a) : a;
139 return swap ? (int)bswap_32((int)amp) : (int)amp;
141 return swap ? (int)bswap_32(fraction) : fraction;
161 static inline short MULTI_DIV_short(short a, unsigned int b, int swap)
165 a = swap ? (short)bswap_16(a) : a;
171 return swap ? (short)bswap_16((short)amp) : (short)amp;
173 return swap ? (short)bswap_16((short)fraction) : (short)fraction;
185 #define CONVERT_AREA(TYPE, swap) do { \
210 *dst = (TYPE) MULTI_DIV_##TYPE(*src, vol_scale, swap); \