Home
last modified time | relevance | path

Searched refs:var_out (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
Dbasicop2.c62 Word16 var_out; in saturate() local
66 var_out = MAX_16; in saturate()
70 var_out = MIN_16; in saturate()
74 var_out = extract_l(L_var1); in saturate()
77 return (var_out); in saturate()
118 Word16 var_out; in add() local
122 var_out = saturate(L_sum); in add()
124 return (var_out); in add()
164 Word16 var_out; in sub() local
168 var_out = saturate(L_diff); in sub()
[all …]
Dbasic_op.h320 Word16 var_out; in saturate()
326 var_out = MAX_16; in saturate()
330 var_out = MIN_16; in saturate()
334 var_out = extract_l(L_var1); in saturate()
337 return (var_out); in saturate()
356 Word16 var_out; in shl()
361 var_out = shr (var1, (Word16)-var2); in shl()
369 var_out = (Word16)((var1 > 0) ? MAX_16 : MIN_16); in shl()
373 var_out = extract_l(result); in shl()
376 return (var_out); in shl()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dbasic_op.h128 Word16 var_out; in add() local
131 var_out = saturate (L_sum); in add()
132 return (var_out); in add()
171 Word16 var_out; in sub() local
174 var_out = saturate (L_diff); in sub()
175 return (var_out); in sub()
215 Word16 var_out; in shl() local
221 var_out = var1 >> ((Word16)-var2); in shl()
227 var_out = (Word16)((var1 > 0) ? MAX_16 : MIN_16); in shl()
233 var_out = (Word16)((var1 > 0) ? MAX_16 : MIN_16); in shl()
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Ddiv_s.cpp215 Word16 var_out = 0; in div_s() local
240 var_out <<= 3; in div_s()
246 var_out |= 4; in div_s()
252 var_out |= 2; in div_s()
258 var_out |= 1; in div_s()
265 var_out = MAX_16; in div_s()
276 return (var_out); in div_s()
Dnorm_l.cpp205 Word16 var_out = 0; in norm_l() local
220 var_out++; in norm_l()
225 var_out++; in norm_l()
230 var_out++; in norm_l()
235 var_out++; in norm_l()
245 return (var_out); in norm_l()
Dnorm_s.cpp203 Word16 var_out = 0; in norm_s() local
216 var_out++; in norm_s()
221 var_out++; in norm_s()
226 var_out++; in norm_s()
231 var_out++; in norm_s()
239 return (var_out); in norm_s()
Dshr_r.cpp201 Word16 var_out; in shr_r() local
208 var_out = 0; in shr_r()
212 var_out = shr(var1, var2, pOverflow); in shr_r()
217 var_out++; in shr_r()
225 return (var_out); in shr_r()
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
Dnorm_l.h113 register Word32 var_out = 0;
119 CLZNE var_out, L_var1
122 return ((Word16)var_out);
129 register Word32 var_out = 0;
136 : "=r"(var_out)
140 return (var_out);
Dnorm_s.h112 register Word32 var_out = 0;
119 CLZNE var_out, var1
122 return ((Word16)var_out);
129 register Word32 var_out = 0;
136 : "=r"(var_out)
140 return (var_out);
Dbasic_op.h277 Word16 var_out = 0; in shl() local
286 var_out = var1 >> var2; in shl()
292 var_out = var1 << var2; in shl()
293 if (var_out >> var2 != var1) in shl()
295 var_out = (var1 >> 15) ^ MAX_16; in shl()
298 return (var_out); in shl()
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dpvamrwbdecoder_basic_op.h116 int16 var_out; in shl_int16() local
121 var_out = var1 >> var2; in shl_int16()
126 var_out = var1 << var2; in shl_int16()
127 if (var_out >> var2 != var1) in shl_int16()
129 var_out = (var1 >> 15) ^ MAX_16; in shl_int16()
132 return (var_out); in shl_int16()
Dpvamrwb_math_op.cpp154 int16 var_out; in shr_rnd() local
156 var_out = (int16)(var1 >> (var2 & 0xf)); in shr_rnd()
161 var_out++; in shr_rnd()
164 return (var_out); in shr_rnd()
207 int16 var_out = 0; in div_16by16() local
229 var_out <<= 3; in div_16by16()
235 var_out |= 4; in div_16by16()
241 var_out |= 2; in div_16by16()
247 var_out |= 1; in div_16by16()
254 var_out = MAX_16; in div_16by16()
[all …]
Dpvamrwbdecoder_basic_op_cequivalent.h431 int16 var_out; in amr_wb_shl1_round() local
435 var_out = (int16)((L_var1 + 0x00004000) >> 15); in amr_wb_shl1_round()
439 var_out = (int16)(((L_var1 >> 31) ^ MAX_32) >> 16); in amr_wb_shl1_round()
442 return (var_out); in amr_wb_shl1_round()