Searched defs:MIN_16 (Results 1 - 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dbasicop_malloc.h80 #define MIN_16 (Word16)0x8000 macro
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dpvamrwbdecoder_basic_op.h60 #define MIN_16 (int16)-32768 /* 0x8000 */ macro
86 return (((var1 == MIN_16) ? MAX_16 : -var1));
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
H A Dbasic_op.h32 #define MIN_16 (Word16)0x8000 macro
36 #define abs_s(x) ((Word16)(((x) != MIN_16) ? (((x) >= 0) ? (x) : (-(x))) : MAX_16))
51 #define negate(var1) ((Word16)(((var1) == MIN_16) ? MAX_16 : (-(var1))))
322 //var_out = (L_var1 > (Word32)0X00007fffL) ? (MAX_16) : ((L_var1 < (Word32)0xffff8000L) ? (MIN_16) : ((Word16)L_var1));
330 var_out = MIN_16;
369 var_out = (Word16)((var1 > 0) ? MAX_16 : MIN_16);
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dbasic_op.h29 #define MIN_16 (Word16)-32768 /* 0x8000 */ macro
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*/
228 var_out = (Word16)((var1 > 0) ? MAX_16 : MIN_16);

Completed in 154 milliseconds