HomeSort by relevance Sort by last modified time
    Searched refs:Word32 (Results 51 - 75 of 188) sorted by null

1 23 4 5 6 7 8

  /frameworks/av/media/libstagefright/codecs/amrnb/common/src/
inv_sqrt.cpp 61 Added proper casting (Word32) to some left shifting operations
108 L_x = input value (Word32)
115 L_y = inverse squareroot of L_x (Word32)
154 Word32 Inv_sqrt ( // (o) : output value
155 Word32 L_x // (i) : input value
159 Word32 L_y;
166 if (L_x <= (Word32) 0)
167 return ((Word32) 0x3fffffffL);
221 Word32 Inv_sqrt( /* (o) : output value */
222 Word32 L_x, /* (i) : input value *
    [all...]
div_s.cpp 104 Word32 L_num;
105 Word32 L_denom;
122 L_num = (Word32) var1;
123 L_denom = (Word32) var2;
217 Word32 L_num;
218 Word32 L_denom;
219 Word32 L_denom_by_2;
220 Word32 L_denom_by_4;
234 L_num = (Word32) var1;
235 L_denom = (Word32) var2
    [all...]
log2.cpp 92 L_x = input value of type Word32
164 Word32 L_x, /* (i) : input value */
171 Word32 result;
norm_l.cpp 58 L_var1 = 32 bit long signed integer (Word32) whose value falls
101 Word16 norm_l (Word32 L_var1)
111 if (L_var1 == (Word32) 0xffffffffL)
121 for (var_out = 0; L_var1 < (Word32) 0x40000000L; var_out++)
200 Word16 norm_l(Word32 L_var1)
214 Word32 y = L_var1 - (L_var1 < 0);
  /frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
s10_8pf.cpp 48 variables were also being declared as Word16 rather than Word32
195 Word32 s, alp0, alp1, alp2;
574 Word32 s;
575 Word32 alp0, alp1, alp2;
621 ps0 = (Word16)((Word32) dn[i0] + dn[i1]);
624 alp0 = (Word32) rr[i0][i0] << 12;
627 alp0 += (Word32) rr[i1][i1] << 12;
630 alp0 += (Word32) rr[i0][i1] << 13;
641 s = (Word32) * (p_temp2 + i3) >> 1;
642 s += (Word32) * (p_temp2 + i0)
    [all...]
cor_h.cpp 193 Word32 s;
279 Word32 s;
280 Word32 s2;
306 s = amrnb_fxp_mac_16_by_16bb((Word32) tmp1, (Word32) tmp1, s);
308 s = amrnb_fxp_mac_16_by_16bb((Word32) tmp1, (Word32) tmp1, s);
332 if (s < (Word32) 0x00ffffffL)
347 *(p_h2++) = (Word16)((amrnb_fxp_mac_16_by_16bb((Word32) * (p_h++), (Word32) dec, 0x020L)) >> 6)
    [all...]
autocorr.cpp 209 Word32 sum;
314 Word32 sum;
343 temp = (amrnb_fxp_mac_16_by_16bb((Word32) * (p_x++), (Word32) * (p_wind++), 0x04000)) >> 15;
346 sum += ((Word32)temp * temp) << 1;
370 temp = (amrnb_fxp_mac_16_by_16bb((Word32) * (p_x++), (Word32) * (p_wind++), 0x04000)) >> 15;
398 sum += ((Word32)temp * temp) << 1;
401 sum += ((Word32)temp * temp) << 1;
420 r_l[0] = (Word16)((sum >> 1) - ((Word32)(r_h[0]) << 15))
    [all...]
pitch_ol.cpp 92 corr = pointer to buffer of correlation values (Word32)
100 rmax = pointer to max(<s[i]*s[j]>), (Word32)
101 r0 = pointer to the residual energy (Word32)
124 corr = pointer to buffer of correlation values (Word32)
176 Word32 corr[], // i : correlation vector.
184 Word32 *rmax, // o : max(<s[i]*s[j]>)
185 Word32 *r0, // o : residual energy
191 Word32 corr[], // i : correlation vector.
205 Word32 max, t0;
294 Word32 corr[], /* i : correlation vector. *
    [all...]
g_pitch.cpp 173 Word32 s;
315 Word32 s;
316 Word32 s1;
317 Word32 L_temp; /* Use this as an intermediate value */
329 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_y1), (Word32) * (p_y1), s);
331 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_y1), (Word32) * (p_y1), s);
333 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_y1), (Word32) * (p_y1), s)
    [all...]
g_code.cpp 150 Word32 s;
237 Word32 s;
242 Word32 temp2;
251 temp2 = (Word32)(*(p_y2++) >> 1);
252 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_xn2++), temp2, s);
253 temp2 = (Word32)(*(p_y2++) >> 1);
254 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_xn2++), temp2, s);
255 temp2 = (Word32)(*(p_y2++) >> 1);
256 s = amrnb_fxp_mac_16_by_16bb((Word32) * (p_xn2++), temp2, s);
257 temp2 = (Word32)(*(p_y2++) >> 1)
    [all...]
cor_h_x.cpp 189 Word32 s, y32[L_CODE], max, tot;
207 if (L_sub (s, max) > (Word32) 0L)
256 Word32 s;
257 Word32 y32[L_CODE];
258 Word32 max;
259 Word32 tot;
263 Word32 *p_y32;
278 s += ((Word32) * (p_x++) * *(p_ptr++)) << 1;
279 s += ((Word32) * (p_x++) * *(p_ptr++)) << 1;
282 s += ((Word32) * (p_x++) * *(p_ptr++)) << 1
    [all...]
inter_36.cpp 145 Word32 s;
207 Word32 s;
235 s = amrnb_fxp_mac_16_by_16bb((Word32) * (pX1--), (Word32) pC1[k], s);
236 s = amrnb_fxp_mac_16_by_16bb((Word32) * (pX2++), (Word32) pC2[k], s);
238 s = amrnb_fxp_mac_16_by_16bb((Word32) * (pX1--), (Word32) pC1[k], s);
239 s = amrnb_fxp_mac_16_by_16bb((Word32) * (pX2++), (Word32) pC2[k], s)
    [all...]
pre_proc.cpp 485 Word32 L_tmp;
548 Word32 L_tmp;
561 L_tmp = ((Word32) st->y1_hi) * 7807;
562 L_tmp += (Word32)(((Word32) st->y1_lo * 7807) >> 15);
564 L_tmp += ((Word32) st->y2_hi) * (-3733);
566 L_tmp += (Word32)(((Word32) st->y2_lo * (-3733)) >> 15);
569 L_tmp += ((Word32) x_n_2) * 1899;
571 L_tmp += ((Word32) x_n_1) * (-3798)
    [all...]
l_extract.cpp 85 L_var = 32 bit signed integer (Word32) whose value falls
158 void L_Extract(Word32 L_var,
164 Word32 temp;
  /frameworks/av/media/libstagefright/codecs/amrnb/common/include/
l_comp.h 104 Word32 L_Comp(Word16 hi, Word16 lo, Flag *pOverflow);
l_extract.h 103 void L_Extract(Word32 L_var,
log2.h 107 Word32 L_x, /* (i) : input value */
norm_s.h 112 register Word32 var_out = 0;
113 Word32 var1 = var << 16;
129 register Word32 var_out = 0;
130 register Word32 ra = var1 << 16;
pow2.h 102 Word32 Pow2( /* (o) : result (range: 0<=val<=0x7fffffff) */
mult.h 111 Word32 product;
130 register Word32 ra = var1;
131 register Word32 rb = var2;
132 Word32 product;
133 Word32 temp = 0x7FFF;
161 register Word32 product;
163 product = ((Word32) var1 * var2) >> 15;
172 product = (Word32) MAX_16;
176 /* Return the product as a 16 bit value by type casting Word32 to Word16 */
  /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
util.c 37 Word32 num = (Word32)L;
57 Word32 temp1,temp2,num;
66 num = (Word32)(L>>1);
oper_32b.c 57 __inline void VO_L_Extract (Word32 L_32, Word16 *hi, Word16 *lo)
79 * 32 bit long signed integer (Word32) whose value falls in the *
85 Word32 L_Comp (Word16 hi, Word16 lo)
87 Word32 L_32;
114 __inline Word32 Mpy_32 (Word16 hi1, Word16 lo1, Word16 hi2, Word16 lo2)
116 Word32 L_32;
143 __inline Word32 Mpy_32_16 (Word16 hi, Word16 lo, Word16 n)
145 Word32 L_32;
167 * 32 bit long signed integer (Word32) whose value falls in the *
182 * 32 bit long signed integer (Word32) whose value falls in the
    [all...]
lag_wind.c 36 Word32 i;
37 Word32 x;
pit_shrp.c 34 Word32 i;
35 Word32 L_tmp;
  /frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
b_cn_cod.h 127 Word32 *pShift_reg, /* i/o : Old CN generator shift register state */
141 Word32 *pSeed, /* i/o : Old CN generator shift register state */

Completed in 228 milliseconds

1 23 4 5 6 7 8