Searched refs:dBits (Results 1 – 3 of 3) sorted by relevance
/external/aac/libFDK/include/ |
D | scale.h | 243 #define SATURATE_RIGHT_SHIFT(src, scale, dBits) \ argument 244 ((((LONG)(src) >> (scale)) > (LONG)(((1U) << ((dBits)-1)) - 1)) \ 245 ? (LONG)(((1U) << ((dBits)-1)) - 1) \ 246 : (((LONG)(src) >> (scale)) < ~((LONG)(((1U) << ((dBits)-1)) - 1))) \ 247 ? ~((LONG)(((1U) << ((dBits)-1)) - 1)) \ 252 #define SATURATE_LEFT_SHIFT(src, scale, dBits) \ argument 253 (((LONG)(src) > ((LONG)(((1U) << ((dBits)-1)) - 1) >> (scale))) \ 254 ? (LONG)(((1U) << ((dBits)-1)) - 1) \ 255 : ((LONG)(src) < ~((LONG)(((1U) << ((dBits)-1)) - 1) >> (scale))) \ 256 ? ~((LONG)(((1U) << ((dBits)-1)) - 1)) \ [all …]
|
/external/aac/libFDK/include/arm/ |
D | scale_arm.h | 151 #define SATURATE_RIGHT_SHIFT(src, scale, dBits) \ argument 153 (LONG)(((1U) << ((dBits)-1)) - 1)) \ 154 ? ((LONG)(src) >> (DFRACT_BITS - 1)) ^ (LONG)(((1U) << ((dBits)-1)) - 1) \ 157 #define SATURATE_LEFT_SHIFT(src, scale, dBits) \ argument 159 ((LONG)(((1U) << ((dBits)-1)) - 1) >> (scale))) \ 160 ? ((LONG)(src) >> (DFRACT_BITS - 1)) ^ (LONG)(((1U) << ((dBits)-1)) - 1) \
|
/external/aac/libFDK/include/mips/ |
D | scale_mips.h | 116 #define SATURATE_RIGHT_SHIFT(src, scale, dBits) \ argument 117 (__builtin_mips_shll_s_w((src) >> (scale), (DFRACT_BITS - (dBits))) >> \ 118 (DFRACT_BITS - (dBits)))
|