/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
l_negate.cpp | 34 L_var1 = 32 bit long signed integer (Word32) whose value falls 35 in the range : 0x8000 0000 <= L_var1 <= 0x7fff ffff. 44 L_var1 = 32-bit negation of input 58 This function negates the 32 bit variable, L_var1, with saturation; saturate 74 Word32 L_negate (Word32 L_var1) 78 L_var_out = (L_var1 == MIN_32) ? MAX_32 : -L_var1; 150 Word32 L_negate(register Word32 L_var1) 159 L_var1 = (L_var1 == MIN_32) ? MAX_32 : -L_var1 [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
norm_l.cpp | 58 L_var1 = 32 bit long signed integer (Word32) whose value falls 83 bit variable L_var1 for positive values on the interval with minimum of 85 with minimum of 0x80000000 and maximum of 0xc0000000. Note that when L_var1 101 Word16 norm_l (Word32 L_var1) 105 if (L_var1 == 0) 111 if (L_var1 == (Word32) 0xffffffffL) 117 if (L_var1 < 0) 119 L_var1 = ~L_var1; 121 for (var_out = 0; L_var1 < (Word32) 0x40000000L; var_out++ [all...] |
extract_h.cpp | 48 L_var1 = 32 bit long signed integer (Word32 ) whose value falls 49 in the range : 0x8000 0000 <= L_var1 <= 0x7fff ffff. 58 L_var1 = Most significant word of input (Word16) 72 This function returns the 16 MSB of the input, L_var1. 87 Word16 extract_h (Word32 L_var1) 91 var_out = (Word16) (L_var1 >> 16); 163 Word16 extract_h(Word32 L_var1) 176 return ((Word16)(L_var1 >> 16));
|
extract_l.cpp | 47 L_var1 = 32 bit long signed integer (Word32 ) whose value falls 48 in the range : 0x8000 0000 <= L_var1 <= 0x7fff ffff. 57 L_var1 = Most significant word of input (Word16) 71 This function returns the 16 LSB of the input, L_var1. 86 Word16 extract_l (Word32 L_var1) 90 var_out = (Word16) L_var1; 162 Word16 extract_l(Word32 L_var1) 175 return ((Word16) L_var1);
|
l_abs.cpp | 47 L_var1 = 32 bit long signed integer (Word32 ) whose value falls 48 in the range : 0x8000 0000 <= L_var1 <= 0x7fff ffff. 57 L_var1 = absolute value of input (Word32) 71 This function calculates the absolute value of L_var1; saturate in case 87 Word32 L_abs (Word32 L_var1) 91 if (L_var1 == MIN_32) 97 if (L_var1 < 0) 99 L_var_out = -L_var1; 103 L_var_out = L_var1; 179 Word32 L_abs(register Word32 L_var1) [all...] |
round.cpp | 41 2. Changed L_var1 to var_out and description in 101 L_var1 = 32 bit signed integer (Word32) whose value falls 102 in the range : 0x8000 0000 <= L_var1 <= 0x7fff ffff. 110 result = MS 16 bits of rounded input L_var1. 124 pv_round(L_var1) = extract_h(L_add(L_var1,32768)) 140 Word16 pv_round (Word32 L_var1) 149 L_rounded = L_add (L_var1, (Word32) 0x00008000L); 187 Word16 pv_round(register Word32 L_var1, Flag *pOverflow) 191 L_var1 = L_add(L_var1, (Word32) 0x00008000L, pOverflow) [all...] |
l_shr_r.cpp | 84 L_var1 = 32 bit long signed integer (Word32 ) whose value falls 85 in the range : 0x8000 0000 <= L_var1 <= 0x7fff ffff. 106 This function arithmetically shifts the 32 bit input L_var1 right var2 108 arithmetically shifts L_var1 left by -var2 and zero fills the -var2 LSB of 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) 117 L_shr_r(L_var1,var2) = L_add(L_shr(L_var1,var2),1 [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/common/include/ |
norm_l.h | 107 Word16 norm_l(Word32 L_var1); 111 __inline Word16 norm_l(Word32 L_var1) 117 CMP L_var1, #0 118 EORNE L_var1, L_var1, L_var1, LSL #1 119 CLZNE var_out, L_var1 127 static inline Word16 norm_l(Word32 L_var1) 130 register Word32 ra = L_var1; 131 if (L_var1) [all...] |
extract_h.h | 103 Word16 extract_h(Word32 L_var1);
|
extract_l.h | 103 Word16 extract_l(Word32 L_var1);
|
l_abs.h | 100 Word32 L_abs(Word32 L_var1);
|
l_negate.h | 103 Word32 L_negate(Word32 L_var1);
|
l_add.h | 111 __inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow) 118 QADD result, L_var1, L_var2 125 __inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow) 127 register Word32 ra = L_var1; 144 static inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow) 148 L_sum = L_var1 + L_var2; 150 if ((L_var1 ^ L_var2) >= 0) 152 if ((L_sum ^ L_var1) < 0) 154 L_sum = (L_var1 < 0) ? MIN_32 : MAX_32;
|
l_sub.h | 109 __inline Word32 L_sub(Word32 L_var1, Word32 L_var2, Flag *pOverflow) 117 QSUB result, L_var1, L_var2 126 __inline Word32 L_sub(Word32 L_var1, Word32 L_var2, Flag *pOverflow) 128 register Word32 ra = L_var1; 144 static inline Word32 L_sub(register Word32 L_var1, register Word32 L_var2, 149 L_diff = L_var1 - L_var2; 151 if ((L_var1 ^ L_var2) < 0) 153 if ((L_diff ^ L_var1) & MIN_32) 155 L_diff = (L_var1 < 0L) ? MIN_32 : MAX_32;
|
round.h | 106 Word16 pv_round(Word32 L_var1, Flag *pOverflow);
|
l_add_c.h | 104 Word32 L_add_c(Word32 L_var1, Word32 L_var2, Flag *pOverflow, Flag *pCarry);
|
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);
|
/frameworks/base/media/libstagefright/codecs/aacdec/ |
fxp_mul32_arm_v4.h | 52 __inline Int32 shft_lft_1(Int32 L_var1) 58 mov x, L_var1, asl 1 59 teq L_var1, x, asr z 60 eorne x, INT32_MAX, L_var1, asr #31 67 __inline Int32 fxp_mul_16_by_16bb(Int32 L_var1, Int32 L_var2) 74 mov L_var1, L_var1, asl #16 75 mov L_var1, L_var1, asr #16 78 mul L_var1, L_var2, L_var [all...] |
fxp_mul32_arm_v5.h | 52 __inline Int32 shft_lft_1(Int32 L_var1) 56 qadd L_var1, L_var1, L_var1 59 return L_var1; 63 __inline Int32 fxp_mul_16_by_16(Int32 L_var1, Int32 L_var2) 67 smulbb L_var1, L_var1, L_var2 69 return L_var1; 73 __inline Int32 fxp_mul_16_by_16bb(Int32 L_var1, Int32 L_var2 [all...] |
fxp_mul32_c_equivalent.h | 50 __inline Int32 shft_lft_1(Int32 L_var1) 52 if (((L_var1 << 1) >> 1) == L_var1) 53 L_var1 <<= 1; 55 L_var1 = ((L_var1 >> 31) ^ INT32_MAX); 57 return (L_var1); 62 __inline Int32 fxp_mul_16_by_16bb(Int32 L_var1, Int32 L_var2) 65 L_var1 = (L_var1 << 16) >> 16 [all...] |
fxp_mul32_c_msc_evc_armv5.h | 52 #define shft_lft_1( L_var1) _AddSatInt( L_var1, L_var1) 54 #define fxp_mul_16_by_16bb( L_var1, L_var2) _SmulLo_SW_SL( L_var1, L_var2) 58 #define fxp_mul_16_by_16tb( L_var1, L_var2) _SmulHiLo_SW_SL( L_var1, L_var2) 60 #define fxp_mul_16_by_16bt( L_var1, L_var2) _SmulLoHi_SW_SL( L_var1, L_var2) 62 #define fxp_mul_16_by_16tt( L_var1, L_var2) _SmulHi_SW_SL( L_var1, L_var2 [all...] |
fxp_mul32_c_msc_evc.h | 52 __inline Int32 shft_lft_1(Int32 L_var1) 54 if (((L_var1 << 1) >> 1) == L_var1) 55 L_var1 <<= 1; 57 L_var1 = ((L_var1 >> 31) ^ INT32_MAX); 59 return L_var1; 63 __inline Int32 fxp_mul_16_by_16bb(Int32 L_var1, Int32 L_var2) 66 L_var1 = (L_var1 << 16) >> 16 [all...] |
/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
pvamrwbdecoder_basic_op.h | 140 Arithmetically shift the 32 bit input L_var1 left var2 positions. Zero 142 shift L_var1 right by -var2 with sign extension. Saturate the result in 146 L_var1 32 bit long signed integer (int32) whose value falls in the 147 range : 0x8000 0000 <= L_var1 <= 0x7fff ffff. 158 __inline int32 shl_int32(int32 L_var1, int16 var2) 164 L_var_out = L_var1 << var2; 165 if (L_var_out >> var2 != L_var1) 167 L_var_out = (L_var1 >> 31) ^ MAX_32; 173 L_var_out = L_var1 >> var2; 184 Arithmetically shift the 32 bit input L_var1 right var2 positions wit [all...] |
/frameworks/base/media/libstagefright/codecs/aacenc/basic_op/ |
basic_op.h | 55 #define L_negate(L_var1) (((L_var1) == (MIN_32)) ? (MAX_32) : (-(L_var1))) 63 __inline Word16 saturate(Word32 L_var1); 65 Word16 saturate(Word32 L_var1); 97 __inline Word32 L_sub(Word32 L_var1, Word32 L_var2); 99 Word32 L_sub(Word32 L_var1, Word32 L_var2); 104 __inline Word32 L_shl (Word32 L_var1, Word16 var2); 106 Word32 L_shl (Word32 L_var1, Word16 var2); 111 __inline Word32 L_shr (Word32 L_var1, Word16 var2) [all...] |