/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | 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(Word32 L_var1) argument 159 L_var1 = (L_var1 [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | 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 < (Word3 200 norm_l(Word32 L_var1) argument [all...] |
H A D | 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) argument 176 return ((Word16)(L_var1 >> 16));
|
H A D | 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) argument 175 return ((Word16) L_var1);
|
H A D | 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) argument [all...] |
H A D | 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) argument 191 L_var1 [all...] |
H A D | 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,var 193 L_shr_r(register Word32 L_var1, register Word16 var2, Flag *pOverflow) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
H A D | norm_l.h | 107 Word16 norm_l(Word32 L_var1); 111 __inline Word16 norm_l(Word32 L_var1) argument 117 CMP L_var1, #0 local 118 EORNE L_var1, L_var1, L_var1, LSL #1 local 119 CLZNE var_out, L_var1 127 static inline Word16 norm_l(Word32 L_var1) argument 130 register Word32 ra = L_var1; 131 if (L_var1) [all...] |
H A D | extract_h.h | 103 Word16 extract_h(Word32 L_var1);
|
H A D | extract_l.h | 103 Word16 extract_l(Word32 L_var1);
|
H A D | l_abs.h | 100 Word32 L_abs(Word32 L_var1);
|
H A D | l_negate.h | 103 Word32 L_negate(Word32 L_var1);
|
H A D | l_add.h | 111 __inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow) argument 118 QADD result, L_var1, L_var2 local 125 __inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow) argument 127 register Word32 ra = L_var1; 144 static inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow) argument 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;
|
H A D | l_sub.h | 109 __inline Word32 L_sub(Word32 L_var1, Word32 L_var2, Flag *pOverflow) argument 117 QSUB result, L_var1, L_var2 local 126 __inline Word32 L_sub(Word32 L_var1, Word32 L_var2, Flag *pOverflow) argument 128 register Word32 ra = L_var1; 144 static inline Word32 L_sub(register Word32 L_var1, register Word32 L_var2, argument 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;
|
H A D | round.h | 106 Word16 pv_round(Word32 L_var1, Flag *pOverflow);
|
H A D | l_add_c.h | 104 Word32 L_add_c(Word32 L_var1, Word32 L_var2, Flag *pOverflow, Flag *pCarry);
|
H A D | l_shl.h | 104 Word32 L_shl(Word32 L_var1, Word16 var2, Flag *pOverflow);
|
H A D | l_shr.h | 103 Word32 L_shr(Word32 L_var1, Word16 var2, Flag *pOverflow);
|
H A D | l_shr_r.h | 104 Word32 L_shr_r(Word32 L_var1, Word16 var2, Flag *pOverflow);
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | 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) argument 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 righ 202 shr_int32(int32 L_var1, int16 var2) argument [all...] |
H A D | pvamrwbdecoder_basic_op_cequivalent.h | 184 32 bits addition of the two 32 bits variables (L_var1+L_var2) with 190 L_var1 32 bit long signed integer (int32) whose value falls in the 205 __inline int32 add_int32(int32 L_var1, int32 L_var2) argument 209 //L_var_out = L_var1 + L_var2; 211 if (L_var1 < MIN_32 - L_var2) { 215 if (L_var1 > MAX_32 - L_var2) { 220 return L_var1 + L_var2; 230 32 bits subtraction of the two 32 bits variables (L_var1-L_var2) with 236 L_var1 32 bit long signed integer (int32) whose value falls in the 251 __inline int32 sub_int32(int32 L_var1, int3 argument 401 amr_wb_round(int32 L_var1) argument 429 amr_wb_shl1_round(int32 L_var1) argument 482 fxp_mul32_by_16b(int32 L_var1, const int32 L_var2) argument [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pv_mp3dec_fxd_op_arm.h | 55 __inline Int32 fxp_mul32_Q30(const Int32 L_var1, const Int32 L_var2) argument 62 smull result64_lo, result64_hi, L_var2, L_var1 69 __inline Int32 fxp_mac32_Q30(const Int32 L_var1, const Int32 L_var2, Int32 L_add) argument 75 smull result64_lo, result64_hi, L_var2, L_var1 88 __inline Int32 fxp_mul32_Q32(Int32 L_var1, const Int32 L_var2) argument 93 smull L_var1, result64_hi, L_var2, L_var1 local 98 __inline Int32 fxp_mul32_Q28(const Int32 L_var1, const Int32 L_var2) argument 105 smull result64_lo, result64_hi, L_var2, L_var1 113 __inline Int32 fxp_mul32_Q27(const Int32 L_var1, cons argument 128 fxp_mul32_Q26(Int32 L_var1, Int32 L_var2) argument 144 fxp_mac32_Q32(Int32 L_add, Int32 L_var1, const Int32 L_var2) argument 148 smlal L_var1, L_add, L_var2, L_var1 local 154 fxp_msb32_Q32(Int32 L_sub, Int32 L_var1, Int32 L_var2) argument 159 smull L_var2, L_var1, L_var2, L_var1 local 166 fxp_mul32_Q29(const Int32 L_var1, const Int32 L_var2) argument [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/ |
H A D | basicop2.c | 43 | L_var1 | 45 | range : 0x8000 0000 <= L_var1 <= 0x7fff ffff. | 60 Word16 saturate(Word32 L_var1) argument 64 if (L_var1 > 0X00007fffL) 68 else if (L_var1 < (Word32) 0xffff8000L) 74 var_out = extract_l(L_var1); 515 | Return the 16 MSB of L_var1. | 521 | L_var1 | 523 | range : 0x8000 0000 <= L_var1 <= 0x7fff ffff. | 537 Word16 extract_h (Word32 L_var1) argument 575 extract_l(Word32 L_var1) argument 617 round16(Word32 L_var1) argument 762 L_add(Word32 L_var1, Word32 L_var2) argument 813 L_sub(Word32 L_var1, Word32 L_var2) argument 959 L_shl(Word32 L_var1, Word16 var2) argument 1024 L_shr(Word32 L_var1, Word16 var2) argument 1341 L_shr_r(Word32 L_var1, Word16 var2) argument 1594 norm_l(Word32 L_var1) argument [all...] |
H A D | 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, Word1 228 ASM_L_shr(Word32 L_var1, Word16 var2) argument 233 ASM_L_shl(Word32 L_var1, Word16 var2) argument 246 ASM_shr(Word32 L_var1, Word16 var2) argument 259 ASM_shl(Word32 L_var1, Word16 var2) argument 296 saturate(Word32 L_var1) argument 480 L_sub(Word32 L_var1, Word32 L_var2) argument 509 L_shl(Word32 L_var1, Word16 var2) argument 549 L_shr(Word32 L_var1, Word16 var2) argument 773 norm_l(Word32 L_var1) argument 983 round16(Word32 L_var1) argument 1030 L_add(Word32 L_var1, Word32 L_var2) argument 1125 L_shr_r(Word32 L_var1, Word16 var2) argument 1151 extract_h(Word32 L_var1) argument 1162 extract_l(Word32 L_var1) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
H A D | basic_op.h | 34 #define saturate(L_var1) (((L_var1) > 0X00007fffL) ? (MAX_16): (((L_var1) < (Word32) 0xffff8000L) ? (MIN_16): ((L_var1) & 0xffff))) 41 #define L_negate(L_var1) (((L_var1) == (MIN_32)) ? (MAX_32) : (-(L_var1))) /* Long negate, 2*/ 60 #define vo_L_shr_r(L_var1, var2) (((L_var1)+((Word32)(1L<<((var2)-1))))>>(var2)) 74 static_vo Word16 voround (Word32 L_var1); /* Roun 435 voround(Word32 L_var1) argument 569 L_add(Word32 L_var1, Word32 L_var2) argument 616 L_sub(Word32 L_var1, Word32 L_var2) argument 715 L_shl(Word32 L_var1, Word16 var2) argument 749 L_shl2(Word32 L_var1, Word16 var2) argument 808 L_shr(Word32 L_var1, Word16 var2) argument 880 L_shr_r(Word32 L_var1, Word16 var2) argument 1077 norm_l(Word32 L_var1) argument [all...] |