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

/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dbasicop_malloc.h79 #define MAX_16 (Word16)0x7fff macro
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dpvamrwbdecoder_basic_op.h59 #define MAX_16 (int16)+32767 /* 0x7fff */ macro
86 return (((var1 == MIN_16) ? MAX_16 : -var1));
129 var_out = (var1 >> 15) ^ MAX_16;
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
H A Dbasic_op.h31 #define MAX_16 (Word16)0x7fff 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));
326 var_out = MAX_16;
369 var_out = (Word16)((var1 > 0) ? MAX_16 : MIN_16);
658 var_out = MAX_16;
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dbasic_op.h28 #define MAX_16 (Word16)+32767 /* 0x7fff */ 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);
1001 var_out = MAX_16;
1006 var_out = MAX_16;
1017 var_out = MAX_16;

Completed in 89 milliseconds