Home | History | Annotate | Download | only in inc

Lines Matching defs:MIN_16

29 #define MIN_16 ((Word16)-32768)   /* 0x8000 */
34 #define saturate(L_var1) (((L_var1) > 0X00007fffL) ? (MAX_16): (((L_var1) < (Word32) 0xffff8000L) ? (MIN_16): ((L_var1) & 0xffff)))
36 #define abs_s(x) ((Word16)(((x) != MIN_16) ? (((x) >= 0) ? (x) : (-(x))) : MAX_16)) /* Short abs, 1 */
40 #define negate(var1) ((Word16)(((var1) == MIN_16) ? MAX_16 : (-(var1)))) /* Short negate, 1*/
227 var_out = (Word16)((var1 > 0) ? MAX_16 : MIN_16);
233 var_out = (Word16)((var1 > 0) ? MAX_16 : MIN_16);