Home
last modified time | relevance | path

Searched refs:sub (Results 1 – 25 of 167) sorted by relevance

1234567

/frameworks/av/media/libstagefright/codecs/aacenc/src/asm/ARMV5E/
DR4R8First_v5.s43 sub r0, r0, r2
44 sub r1, r1, r3
49 sub r4, r4, r6
50 sub r5, r5, r7
55 sub r8, r8, r2
56 sub r9, r9, r3
59 sub r3, r1, r4
61 sub r0, r0, r5
82 sub sp, sp, #0x24
98 sub r0, r0, r2 @ r1 = buf[0] - buf[2]@
[all …]
DRadix4FFT_v5.s28 sub sp, sp, #32
70 sub r3, r3, r5 @ r3 = L_mpy_wx(cosx, t1) - L_mpy_wx(sinx, t0)@
73 sub r0, r10, r2 @ r0 = t0 - r2@
74 sub r1, r11, r3 @ r1 = t1 - r3@
92 sub r5, r5, r7 @ r5 = L_mpy_wx(cosx, t1) - L_mpy_wx(sinx, t0)@
106 sub r7, r7, r3 @ r5 = L_mpy_wx(cosx, t1) - L_mpy_wx(sinx, t0)@
110 sub r5, r7, r11 @ r5 = r7 - t1@
112 sub r6, r10, r6 @ r6 = t0 - r6@
122 sub r14, r14, r9 @ xptr -= step@
124 sub r10, r2, r4 @ xptr[0] = r2 - r4@
[all …]
DPrePostMDCT_v5.s31 sub r3, r9, #8
50 sub r7, r12, r10 @ MULHIGH(ti1, cosa) - MULHIGH(tr1, sina)
62 sub r9, r12, r10
70 sub r3, r3, #8
85 sub r3, r9, #8
104 sub r11, r10, r12 @ MULHIGH(ti1, cosa) - MULHIGH(tr1, sina)@
116 sub r5, r10, r12 @ MULHIGH(sinb, tr2) - MULHIGH(cosb, ti2)@
124 sub r3, r3, #8
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Denc_lag3.cpp273 temp1 = sub(T0, 85, pOverflow); in Enc_lag3()
279 temp2 = sub(i, 58, pOverflow); in Enc_lag3()
295 i = sub(T0, T0_min, pOverflow); in Enc_lag3()
307 temp1 = sub(tmp_lag, T0_min, pOverflow); in Enc_lag3()
308 temp2 = sub(temp1, 5, pOverflow); in Enc_lag3()
311 temp1 = sub(T0_max, tmp_lag, pOverflow); in Enc_lag3()
312 temp2 = sub(temp1, 4, pOverflow); in Enc_lag3()
314 tmp_lag = sub(T0_max, 4, pOverflow); in Enc_lag3()
320 i = sub(tmp_lag, 2, pOverflow); in Enc_lag3()
324 temp1 = sub(tmp_ind, uplag, pOverflow); in Enc_lag3()
[all …]
Dqgain795.cpp258 exp_code = sub(exp_gcode0, 10, pOverflow); in MR795_gain_code_quant3()
261 exp_max[0] = sub(exp_coeff[0], 13, pOverflow); in MR795_gain_code_quant3()
262 exp_max[1] = sub(exp_coeff[1], 14, pOverflow); in MR795_gain_code_quant3()
295 j = sub(e_max, exp_max[i], pOverflow); in MR795_gain_code_quant3()
383 L_tmp = L_shr(L_tmp, sub(9, exp_gcode0, pOverflow), pOverflow); in MR795_gain_code_quant3()
556 gain_code = shl(*gain_cod, sub(10, exp_gcode0, pOverflow), pOverflow); /* Q1 -> Q11 (-ec0) */ in MR795_gain_code_quant_mod()
559 one_alpha = add(sub(32767, alpha, pOverflow), 1, pOverflow); /* 32768 - alpha */ in MR795_gain_code_quant_mod()
569 exp_coeff[1] = sub(exp_en[1], 15, pOverflow); in MR795_gain_code_quant_mod()
574 exp = sub(exp_gcode0, 10, pOverflow); in MR795_gain_code_quant_mod()
580 exp = sub(shl(exp_gcode0, 1, pOverflow), 7, pOverflow); in MR795_gain_code_quant_mod()
[all …]
Dqua_gain.cpp271 exp_code = sub(exp_gcode0, 11, pOverflow); in Qua_gain()
274 exp_max[0] = sub(exp_coeff[0], 13, pOverflow); in Qua_gain()
275 exp_max[1] = sub(exp_coeff[1], 14, pOverflow); in Qua_gain()
314 j = sub(e_max, exp_max[i], pOverflow); in Qua_gain()
394 temp = sub(10, exp_gcode0, pOverflow); in Qua_gain()
Dcalc_en.cpp316 tmp2 = sub(tmp1, pv_round(L_temp, pOverflow), pOverflow); in calc_unfilt_energies()
352 exp_en[1] = sub(15, exp, pOverflow); in calc_unfilt_energies()
361 exp = sub(15, exp, pOverflow); in calc_unfilt_energies()
372 exp = sub(exp, exp_en[0], pOverflow); in calc_unfilt_energies()
383 L_temp = L_Comp(sub(ltpg_exp, 27, pOverflow), ltpg_frac, pOverflow); in calc_unfilt_energies()
662 exp_coeff[4] = sub(7, exp, pOverflow); in calc_filt_energies()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Ddec_lag3.cpp229 sub( in Dec_lag3()
269 sub( in Dec_lag3()
284 sub( in Dec_lag3()
290 sub( in Dec_lag3()
303 sub( in Dec_lag3()
318 sub( in Dec_lag3()
326 sub( in Dec_lag3()
335 sub( in Dec_lag3()
378 sub( in Dec_lag3()
Ddec_lag6.cpp235 sub( in Dec_lag6()
249 sub( in Dec_lag6()
262 sub( in Dec_lag6()
283 sub( in Dec_lag6()
303 sub( in Dec_lag6()
326 sub( in Dec_lag6()
332 sub( in Dec_lag6()
Dec_gains.cpp337 if (sub(tmp, st->past_gain_code, pOverflow) > 0) in ec_gain_code()
467 if (sub(*gain_code, st->prev_gc, pOverflow) > 0) in ec_gain_code_update()
596 if (sub(tmp, st->past_gain_pit, pOverflow) > 0) in ec_gain_pitch()
820 if (sub(*gain_pitch, st->prev_gp, pOverflow) > 0) in ec_gain_pitch_update()
830 if (sub(st->past_gain_pit, 16384, pOverflow) > 0) in ec_gain_pitch_update()
Dc_g_aver.cpp516 tmp1 = abs_s(sub(*(lspAver + i), *(lsp + i), pOverflow)); in Cb_gain_average()
518 shift1 = sub(norm_s(tmp1), 1, pOverflow); /* Qn */ in Cb_gain_average()
574 tmp_diff = sub(diff, 4506, pOverflow); /* 0.55 in Q13 */ in Cb_gain_average()
579 tmp_diff = sub(diff, 3277, pOverflow); /* 0.4 in Q13 */ in Cb_gain_average()
/frameworks/av/media/libstagefright/codecs/mp3dec/src/asm/
Dpvmp3_dct_16_gcc.s53 sub r2,r1,r3
55 sub sp,sp,#0x1c
60 sub r3,r2,r12
67 sub r2,r1,r3
74 sub r4,r1,r12
80 sub r4,r12,lr
85 sub r12,r1,r12
92 sub lr,r1,r12
99 sub r6,r12,lr
105 sub r12,r1,r12
[all …]
Dpvmp3_polyphase_filter_window_gcc.s49 sub sp,sp,#4
55 sub r2,r2,#1
68 sub r2,r4,r10
79 sub r9,r9,r5
86 sub r11,r11,r2
100 sub r9,r9,r5
104 sub r11,r11,r5
118 sub r9,r9,r5
122 sub r11,r11,r5
139 sub r9,r9,r5
[all …]
/frameworks/base/core/java/android/text/
DAlteredCharSequence.java34 public static AlteredCharSequence make(CharSequence source, char[] sub, in make() argument
37 return new AlteredSpanned(source, sub, substart, subend); in make()
39 return new AlteredCharSequence(source, sub, substart, subend); in make()
42 private AlteredCharSequence(CharSequence source, char[] sub, in AlteredCharSequence() argument
45 mChars = sub; in AlteredCharSequence()
50 /* package */ void update(char[] sub, int substart, int subend) { in update() argument
51 mChars = sub; in update()
60 private AlteredSpanned(CharSequence source, char[] sub, in AlteredSpanned() argument
62 super(source, sub, substart, subend); in AlteredSpanned()
/frameworks/base/core/java/android/content/res/
DStringBlock.java225 String sub; in applyStyles() local
227 sub = subtag(tag, ";height="); in applyStyles()
228 if (sub != null) { in applyStyles()
229 int size = Integer.parseInt(sub); in applyStyles()
234 sub = subtag(tag, ";size="); in applyStyles()
235 if (sub != null) { in applyStyles()
236 int size = Integer.parseInt(sub); in applyStyles()
242 sub = subtag(tag, ";fgcolor="); in applyStyles()
243 if (sub != null) { in applyStyles()
244 buffer.setSpan(getColor(sub, true), in applyStyles()
[all …]
/frameworks/base/docs/html/guide/topics/sensors/
Dsensors_environment.jd171 ln(RH/100%) + m·t/(T<sub>n</sub>+t)
172 t<sub>d</sub>(t,RH) = T<sub>n</sub> · ------------------------------------
173 m - [ln(RH/100%) + m·t/(T<sub>n</sub>+t)]
179 <li>t<sub>d</sub> = dew point temperature in degrees C</li>
183 <li>T<sub>n</sub> = 243.12</li>
193 (RH/100%) · A · exp(m·t/(T<sub>n</sub>+t)
194 d<sub>v</sub>(t,RH) = 216.7 · ------------------------------------
201 <li>d<sub>v</sub> = absolute humidity in grams/meter<sup>3</sup></li>
205 <li>T<sub>n</sub> = 243.12 degrees C</li>
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dvad1.cpp190 temp0 = sub(temp1, temp0, pOverflow); in first_filter_stage()
198 temp3 = sub(temp2, temp3, pOverflow); in first_filter_stage()
204 out[4*i+1] = sub(temp1, temp2, pOverflow); in first_filter_stage()
208 data0 = sub(temp2, temp1, pOverflow); in first_filter_stage()
215 data1 = sub(temp2, data1, pOverflow); in first_filter_stage()
221 out[4*i+3] = sub(temp1, temp2, pOverflow); in first_filter_stage()
308 temp0 = sub(*in0, temp0, pOverflow); in filter5()
315 temp0 = sub(*in1, temp0, pOverflow); in filter5()
325 temp0 = sub(temp1, temp2, pOverflow); in filter5()
412 temp1 = sub(*in1, temp1, pOverflow); in filter3()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_advsimd_Resize.S156 sub x8, sp, #32
157 sub sp, sp, #64
164 sub x12, sp, #BUFFER_SIZE
183 sub x8, x2, x3
208 sub x14, x12, x13, LSL #COMPONENT_SHIFT + 1
230 sub x12, x12, #32
236 sub x11, x11, #4
241 sub x4, x4, x13, LSL #COMPONENT_SHIFT
242 sub x5, x5, x13, LSL #COMPONENT_SHIFT
243 sub x6, x6, x13, LSL #COMPONENT_SHIFT
[all …]
DrsCpuIntrinsics_neon_Resize.S184 sub r12, sp, #BUFFER_SIZE + 32
209 sub r8, r2, r3
238 sub r8, r12, r10, LSL #COMPONENT_SHIFT + 1
262 sub r12, r12, #32
269 sub lr, r11, #4
274 sub r4, r4, r10, LSL #COMPONENT_SHIFT
275 sub r5, r5, r10, LSL #COMPONENT_SHIFT
276 sub r6, r6, r10, LSL #COMPONENT_SHIFT
277 sub r7, r7, r10, LSL #COMPONENT_SHIFT
314 sub lr, lr, #8 / COMPONENT_COUNT
[all …]
/frameworks/rs/scriptc/
Drs_object_info.rsh244 * For Elements that represents a structure, this function returns the sub-element at the
248 * sub-elements, an invalid handle is returned.
252 * index: Index of the sub-element to return.
262 * rsElementGetSubElementArraySize: Array size of a sub-element of a complex Element
264 * For complex Elements, sub-elements can be statically sized arrays. This function
265 * returns the array size of the sub-element at the index. This sub-element repetition
270 * index: Index of the sub-element.
272 * Returns: Array size of the sub-element.
280 * rsElementGetSubElementCount: Number of sub-elements
283 * sub-elements. This function returns zero for simple Elements and the number of
[all …]
/frameworks/base/core/jni/android/graphics/
DAvoidXfermode.cpp63 static int scale_dist_14(int dist, uint32_t mul, uint32_t sub) { in scale_dist_14() argument
64 int tmp = dist * mul - sub; in scale_dist_14()
80 uint32_t sub = (fDistMul - (1 << 14)) << 8; in xfer32() local
99 d = scale_dist_14(d, mul, sub); in xfer32()
129 uint32_t sub = (fDistMul - (1 << 14)) << SK_R16_BITS; in xfer16() local
148 d = scale_dist_14(d, mul, sub); in xfer16()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Ddtx.c328 log_en = sub(log_en, add(1024, en_adjust[codec_mode])); in dtx_buffer()
361 st->dtxHangoverCount = sub(st->dtxHangoverCount, 1); in tx_dtx_handler()
364 if (sub(add(st->decAnaElapsedCount, st->dtxHangoverCount), in tx_dtx_handler()
450 tmp = sub(tmp, 1); in find_frame_indices()
486 ptr = sub(ptr, 1); in find_frame_indices()
494 tmp = sub(isf_old_tx[st->hist_ptr * M + j], isf_old_tx[ptr * M + j]); in find_frame_indices()
528 if ((L_sub(st->sumD[i], summax2nd) > 0) && (sub(i, indices[0]) != 0)) in find_frame_indices()
537 indices[i] = sub(st->hist_ptr, indices[i]); in find_frame_indices()
597 tmp = abs_s(sub(st->log_en_hist[i], mean)); in dithering_control()
/frameworks/native/opengl/libagl/
Diterators.S55 sub r3, r3, r2
56 sub r4, r4, r2
57 sub r12, r12, #16
/frameworks/av/media/libstagefright/codecs/aacenc/src/asm/ARMV7/
DPrePostMDCT_v7.s35 sub r3, r9, #32
60 sub r3, r3, #32
77 sub r3, r3, #64
97 sub r3, r9, #32
131 sub r3, r3, #32
138 sub r3, r3, #64
/frameworks/base/core/java/android/widget/
DMultiAutoCompleteTextView.java153 CharSequence sub = e.subSequence(start, end); in performValidation() local
154 if (TextUtils.isEmpty(sub)) { in performValidation()
156 } else if (!v.isValid(sub)) { in performValidation()
158 mTokenizer.terminateToken(v.fixText(sub))); in performValidation()

1234567