Home
last modified time | relevance | path

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

123456

/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()
Ddtx_dec.cpp966 st->log_en = sub(st->log_en, st->log_en_adjust, pOverflow); in dtx_dec()
995 sub(st->lsf_hist_mean[i+j*M], lsf_mean, pOverflow); in dtx_dec()
1087 st->log_en = sub(st->log_en, (2560 * 2), pOverflow); in dtx_dec()
1115 ma_pred_init = sub(temp, 9000, pOverflow); in dtx_dec()
1191 int_fac = sub(16384, int_fac, pOverflow); /* 1-k in Q14 */ in dtx_dec()
1210 lsf_variab_factor = sub(st->log_pg_mean, 2457, pOverflow); /* -0.6 in Q12 */ in dtx_dec()
1212 lsf_variab_factor = sub(4096, mult(lsf_variab_factor, 9830, pOverflow), pOverflow); in dtx_dec()
1294 log_pg = shl(sub(log_pg_e, 15, pOverflow), 12, pOverflow); /* Q12 */ in dtx_dec()
1295 log_pg = shr(sub(0, add(log_pg, shr(log_pg_m, 15 - 12, pOverflow), in dtx_dec()
1368 st->log_en = sub(st->log_en, 256, pOverflow); in dtx_dec()
[all …]
/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.java36 public static AlteredCharSequence make(CharSequence source, char[] sub, in make() argument
39 return new AlteredSpanned(source, sub, substart, subend); in make()
41 return new AlteredCharSequence(source, sub, substart, subend); in make()
44 private AlteredCharSequence(CharSequence source, char[] sub, in AlteredCharSequence() argument
47 mChars = sub; in AlteredCharSequence()
52 /* package */ void update(char[] sub, int substart, int subend) { in update() argument
53 mChars = sub; in update()
62 private AlteredSpanned(CharSequence source, char[] sub, in AlteredSpanned() argument
64 super(source, sub, substart, subend); in AlteredSpanned()
/frameworks/base/core/java/android/content/res/
DStringBlock.java263 String sub; in applyStyles() local
265 sub = subtag(tag, ";height="); in applyStyles()
266 if (sub != null) { in applyStyles()
267 int size = Integer.parseInt(sub); in applyStyles()
272 sub = subtag(tag, ";size="); in applyStyles()
273 if (sub != null) { in applyStyles()
274 int size = Integer.parseInt(sub); in applyStyles()
280 sub = subtag(tag, ";fgcolor="); in applyStyles()
281 if (sub != null) { in applyStyles()
282 buffer.setSpan(getColor(sub, true), in applyStyles()
[all …]
/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, #48
157 sub sp, sp, #80
165 sub x12, sp, #BUFFER_SIZE
185 sub x8, x2, x3
210 sub x14, x12, x13, LSL #(COMPONENT_SHIFT + 1)
232 sub x12, x12, #32
238 sub x11, x11, #4
243 sub x4, x4, x13, LSL #(COMPONENT_SHIFT)
244 sub x5, x5, x13, LSL #(COMPONENT_SHIFT)
245 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 …]
DrsCpuIntrinsics_advsimd_YuvToRGB.S313 sub x2, x5, x6, LSL #1
315 sub x6, sp, #32
316 sub sp, sp, #64
339 sub x2, x4, x5
341 sub x5, sp, #32
342 sub sp, sp, #64
365 sub x2, x4, x5
367 sub x5, sp, #32
368 sub sp, sp, #64
/frameworks/rs/script_api/include/
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/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/events/
DEventBus.java52 Object sub = mSubscriber.get(); in toString() local
53 String id = Integer.toHexString(System.identityHashCode(sub)); in toString()
54 return sub.getClass().getSimpleName() + " [0x" + id + ", P" + priority + "]"; in toString()
559 Subscriber sub = new Subscriber(subscriber, SystemClock.uptimeMillis()); in registerSubscriber() local
571 eventTypeHandlers.add(new EventHandler(sub, method, priority)); in registerSubscriber()
574 mSubscribers.add(sub); in registerSubscriber()
585 mSubscribers.add(sub); in registerSubscriber()
600 EventHandler handler = new EventHandler(sub, method, priority); in registerSubscriber()
676 Object sub = eventHandler.subscriber.getReference(); in processEvent() local
677 if (sub != null) { in processEvent()
[all …]
/frameworks/base/tools/stringslint/
Dstringslint.py94 s = re.sub(r"\n\s*", " ", s)
95 s = ESCAPE_SEQUENCE_RE.sub(decode_match, s)
96 s = re.sub(r"%(\d+\$)?[a-z]", "____", s)
97 s = re.sub(r"\^\d+", "____", s)
98 s = re.sub(r"<br/?>", "\n", s)
99 s = re.sub(r"</?[a-z]+>", "", s)
/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/base/media/java/android/media/browse/
DMediaBrowser.java492 Subscription sub = mSubscriptions.get(parentId); in subscribeInternal() local
493 if (sub == null) { in subscribeInternal()
494 sub = new Subscription(); in subscribeInternal()
495 mSubscriptions.put(parentId, sub); in subscribeInternal()
497 sub.putCallback(mContext, options, callback); in subscribeInternal()
522 Subscription sub = mSubscriptions.get(parentId); in unsubscribeInternal() local
523 if (sub == null) { in unsubscribeInternal()
534 final List<SubscriptionCallback> callbacks = sub.getCallbacks(); in unsubscribeInternal()
535 final List<Bundle> optionsList = sub.getOptionsList(); in unsubscribeInternal()
553 if (sub.isEmpty() || callback == null) { in unsubscribeInternal()
[all …]
/frameworks/native/opengl/libagl/
Diterators.S55 sub r3, r3, r2
56 sub r4, r4, r2
57 sub r12, r12, #16
/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()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java892 SubscriptionInfo sub = getSubscriptionForSubscriptionId(subscriptionId); in deleteSubscription() local
893 if (sub == null) { in deleteSubscription()
903 && !mSubscriptionManager.canManageSubscription(sub, callingPackage)) { in deleteSubscription()
909 deleteSubscriptionPrivileged(cardId, sub.getIccId(), callbackIntent); in deleteSubscription()
981 SubscriptionInfo sub = getSubscriptionForSubscriptionId(subscriptionId); in switchToSubscription() local
982 if (sub == null) { in switchToSubscription()
990 if (!mSubscriptionManager.canManageSubscription(sub, callingPackage)) { in switchToSubscription()
1000 iccid = sub.getIccId(); in switchToSubscription()
1029 SubscriptionInfo sub = getSubscriptionForSubscriptionId(subscriptionId); in switchToSubscriptionPrivileged() local
1030 if (sub != null) { in switchToSubscriptionPrivileged()
[all …]

123456