/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
shr.cpp | 39 Description: 1. Modified code by seperating var2=0 condition. 45 3. Deleted (var2>15&&var1!=0) condition. 46 4. Moved var2>0 condition in front of var2<0 condition. 105 var2 = 16 bit short signed integer (Word16) whose value falls in 106 the range : 0xffff 8000 <= var2 <= 0x0000 7fff. 125 This function arithmetically shifts the 16 bit input var1 right var2 positions 126 with sign extension. If var2 is negative, arithmetically shift var1 left by 127 -var2 with sign extension. Saturate the result in case of underflows or 142 Word16 shr_std (Word16 var1, Word16 var2) [all...] |
l_shr_r.cpp | 86 var2 = 16 bit short signed integer (Word16) whose value falls in 87 the range : 0xffff 8000 <= var2 <= 0x0000 7fff. 106 This function arithmetically shifts the 32 bit input L_var1 right var2 107 positions with rounding. If var2 is negative, the function 108 arithmetically shifts L_var1 left by -var2 and zero fills the -var2 LSB of 111 - If var2 is greater than zero : 112 if (L_sub(L_shl(L_shr(L_var1,var2),1),L_shr(L_var1,sub(var2,1)))) 115 L_shr_r(L_var1,var2) = L_shr(L_var1,var2 [all...] |
shr_r.cpp | 50 var2 = 16 bit short signed integer (Word16) whose value falls in 51 the range : 0xffff 8000 <= var2 <= 0x0000 7fff. 74 This function arithmetically shifts the 16 bit input var1 right var2 positions 75 with rounding. If var2 is negative, arithmetically shift var1 left by 76 -var2 with rounding. Saturate the result in case of underflows or 79 - If var2 is greater than zero : 80 if (sub(shl(shr(var1,var2),1),shr(var1,sub(var2,1)))) 83 shr_r(var1,var2) = shr(var1,var2) [all...] |
add.cpp | 95 var2 = 16 bit short signed integer (Word16) whose value falls in 96 the range : 0xffff 8000 <= var2 <= 0x0000 7fff. 104 sum = 16-bit limited sum of var1 and var2 (Word16) 115 This function performs the addition (var1+var2) with overflow control and 132 Word16 add (Word16 var1, Word16 var2) 137 sum = (Word32) var1 + var2; 176 Word16 add(Word16 var1, Word16 var2, Flag *pOverflow) 182 sum = (Word32) var1 + var2;
|
sub.cpp | 40 the definition of var1 and var2, and fixed the range values. 104 var2 = 16 bit short signed integer (Word16) whose value falls in 105 the range : 0xffff 8000 <= var2 <= 0x0000 7fff. 113 diff = 16-bit limited difference between var1 and var2 (Word16) 124 This function performs the subtraction (var1-var2) with overflow control and 143 Word16 sub (Word16 var1, Word16 var2) 148 diff = (Word32) var1 - var2; 190 Word16 sub(Word16 var1, Word16 var2, Flag *pOverflow) 195 diff = (Word32) var1 - var2;
|
div_s.cpp | 58 var2 = 16 bit signed integer (Word16) whose value falls in 68 var_out = quotient of var1 divided by var2 (Word16) 83 var1 by var2; var1 and var2 must be positive and var2 must be greater or equal 85 bits. If var1 = var2 then div(var1,var2) = 32767. 100 Word16 div_s (Word16 var1, Word16 var2) 108 if ((var1 > var2) || (var1 < 0)) 110 printf ("Division Error var1=%d var2=%d\n", var1, var2) [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
pvamrwbdecoder_basic_op.h | 94 Arithmetically shift the 16 bit input var1 left var2 positions.Zero fill 95 the var2 LSB of the result. If var2 is negative, arithmetically shift 96 var1 right by -var2 with sign extension. Saturate the result in case of 104 var2 114 __inline int16 shl_int16(int16 var1, int16 var2) 118 if (var2 < 0) 120 var2 = (-var2) & (0xf); 121 var_out = var1 >> var2; [all...] |
pvamrwbdecoder_basic_op_armv5.h | 62 __inline int16 add_int16(int16 var1, int16 var2) 70 mov L_var_aux, var2, lsl #16 local 79 __inline int16 sub_int16(int16 var1, int16 var2) 87 mov L_var_aux, var2, lsl #16 local 108 __inline int32 mac_16by16_to_int32(int32 L_var3, int16 var1, int16 var2) 115 smulbb L_var_out, var1, var2 132 __inline int32 msu_16by16_from_int32(int32 L_var3, int16 var1, int16 var2) 139 smulbb L_var_out, var1, var2 145 __inline int32 mul_16by16_to_int32(int16 var1, int16 var2) 151 smulbb L_var_out, var1, var2 216 smlabb L_add, var1, var2, L_add local [all...] |
/external/clang/test/SemaCXX/ |
MicrosoftCompatibility-cxx98.cpp | 7 ENUM var2 = (ENUM)3; variable
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
basic_op.h | 149 the range : 0xffff 8000 <= var2 <= 0x0000 7fff. 153 the range : 0xffff 8000 <= var2 <= 0x0000 7fff. 196 the range : 0xffff 8000 <= var2 <= 0x0000 7fff. 197 var2= 16 bit short signed integer (Word16) whose value falls in 205 L_var3 = 32-bit result of L_var3 + (L_var1 * var2)(Word32) 211 Word16 var2, 216 L_var3 = L_mac(L_var3, L_var1_hi, var2, pOverflow); 218 product = mult(L_var1_lo, var2, pOverflow); 253 Arithmetically shift the 16 bit input var1 left var2 positions.Zero fill 254 the var2 LSB of the result. If var2 is negative, arithmetically shif [all...] |
div_s.h | 103 Word16 div_s(Word16 var1, Word16 var2);
|
add.h | 106 Word16 add(Word16 var1, Word16 var2, Flag *pOverflow);
|
l_shl.h | 104 Word32 L_shl(Word32 L_var1, Word16 var2, Flag *pOverflow);
|
l_shr.h | 103 Word32 L_shr(Word32 L_var1, Word16 var2, Flag *pOverflow);
|
l_shr_r.h | 104 Word32 L_shr_r(Word32 L_var1, Word16 var2, Flag *pOverflow);
|
mult_r.h | 106 Word16 mult_r(Word16 var1, Word16 var2, Flag *pOverflow);
|
shl.h | 106 Word16 shl(Word16 var1, Word16 var2, Flag *pOverflow);
|
shr.h | 106 Word16 shr(Word16 var1, Word16 var2, Flag *pOverflow);
|
shr_r.h | 104 Word16 shr_r(Word16 var1, Word16 var2, Flag *pOverflow);
|
sub.h | 106 Word16 sub(Word16 var1, Word16 var2, Flag *pOverflow);
|
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/ |
basicop2.c | 87 | Performs the addition (var1+var2) with overflow control and saturation;| 99 | var2 | 116 Word16 add (Word16 var1, Word16 var2) 121 L_sum = (Word32)var1 + (Word32)var2; 134 | Performs the subtraction (var1+var2) with overflow control and satu- | 146 | var2 | 162 Word16 sub(Word16 var1, Word16 var2) 167 L_diff = (Word32) var1 - var2; 231 | Arithmetically shift the 16 bit input var1 left var2 positions.Zero fill| 232 | the var2 LSB of the result. If var2 is negative, arithmetically shift [all...] |
basic_op.h | 70 __inline Word16 shl (Word16 var1, Word16 var2); 72 Word16 shl (Word16 var1, Word16 var2); 77 __inline Word16 shr (Word16 var1, Word16 var2); 79 Word16 shr (Word16 var1, Word16 var2); 83 __inline Word32 L_mult(Word16 var1, Word16 var2); 85 Word32 L_mult(Word16 var1, Word16 var2); 90 __inline Word32 L_msu (Word32 L_var3, Word16 var1, Word16 var2); 92 Word32 L_msu (Word32 L_var3, Word16 var1, Word16 var2); 104 __inline Word32 L_shl (Word32 L_var1, Word16 var2); 106 Word32 L_shl (Word32 L_var1, Word16 var2); [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
basic_op.h | 51 #define vo_shr_r(var1, var2) ((var1+((Word16)(1L<<(var2-1))))>>var2) 60 #define vo_L_shr_r(L_var1, var2) ((L_var1+((Word32)(1L<<(var2-1))))>>var2) 68 static_vo Word16 add (Word16 var1, Word16 var2); /* Short add,1 */ 69 static_vo Word16 sub (Word16 var1, Word16 var2); /* Short sub,1 */ 70 static_vo Word16 shl (Word16 var1, Word16 var2); /* Short shift left, 1 */ 71 static_vo Word16 shr (Word16 var1, Word16 var2); /* Short shift right, 1 * [all...] |
/external/chromium_org/media/base/ |
callback_holder_unittest.cc | 16 static void CopyVar(int var1, int* var2) { 17 DCHECK_NE(var1, *var2); 18 *var2 = var1; 81 int var2 = 0; local 82 cb.RunOrHold(var1, &var2); 84 EXPECT_NE(var1, var2); 88 EXPECT_EQ(var1, var2); 101 int var2 = 0; local 102 cb.RunOrHold(var1, &var2); 104 EXPECT_NE(var1, var2); 119 int var2 = 0; local [all...] |
/external/clang/test/Misc/ |
ast-dump-color.cpp | 24 int var2; member in class:Mutex 68 //CHECK: {{^}}[[Blue]]| |-[[RESET]][[GREEN]]FieldDecl[[RESET]][[Yellow]] 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]line:24:3[[RESET]], [[Yellow]]col:7[[RESET]]>[[CYAN]] var2[[RESET]] [[Green]]'int'[[RESET]]{{$}}
|