/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | dec_acelp_4p_in_64.cpp | 160 int16 k, pos[6]; in dec_acelp_4p_in_64() local 170 for (k = 0; k < NB_TRACK; k++) in dec_acelp_4p_in_64() 172 L_index = index[k]; in dec_acelp_4p_in_64() 174 add_pulses(pos, 1, k, code); in dec_acelp_4p_in_64() 179 for (k = 0; k < NB_TRACK; k++) in dec_acelp_4p_in_64() 181 L_index = index[k]; in dec_acelp_4p_in_64() 183 add_pulses(pos, 2, k, code); in dec_acelp_4p_in_64() 187 for (k = 0; k < NB_TRACK - 2; k++) in dec_acelp_4p_in_64() 189 L_index = index[k]; in dec_acelp_4p_in_64() 191 add_pulses(pos, 3, k, code); in dec_acelp_4p_in_64() [all …]
|
D | wb_syn_filt.cpp | 235 int16 i, k, a0; in Syn_filt_32() local 254 for (k = 2; k < m; k += 2) in Syn_filt_32() 257 L_tmp1 = fxp_mac_16by16(sig_lo[(i<<1)-1 - k], a[k+1], L_tmp1); in Syn_filt_32() 258 L_tmp2 = fxp_mac_16by16(sig_hi[(i<<1)-1 - k], a[k+1], L_tmp2); in Syn_filt_32() 259 L_tmp1 = fxp_mac_16by16(sig_lo[(i<<1) - k], a[k ], L_tmp1); in Syn_filt_32() 260 L_tmp2 = fxp_mac_16by16(sig_hi[(i<<1) - k], a[k ], L_tmp2); in Syn_filt_32() 261 L_tmp3 = fxp_mac_16by16(sig_lo[(i<<1) - k], a[k+1], L_tmp3); in Syn_filt_32() 262 L_tmp4 = fxp_mac_16by16(sig_hi[(i<<1) - k], a[k+1], L_tmp4); in Syn_filt_32() 263 L_tmp3 = fxp_mac_16by16(sig_lo[(i<<1)+1 - k], a[k ], L_tmp3); in Syn_filt_32() 264 L_tmp4 = fxp_mac_16by16(sig_hi[(i<<1)+1 - k], a[k ], L_tmp4); in Syn_filt_32() [all …]
|
D | interpolate_isp.cpp | 122 int16 i, k, fac_old, fac_new; in interpolate_isp() local 126 for (k = 0; k < 3; k++) in interpolate_isp() 128 fac_new = frac[k]; in interpolate_isp()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | vlc_dequant.cpp | 67 int i, j, k; in VlcDequantMpegIntraBlock() local 135 k = inv_zigzag[i]; in VlcDequantMpegIntraBlock() 139 datablock[k] -= run_level.level; in VlcDequantMpegIntraBlock() 143 datablock[k] += run_level.level; in VlcDequantMpegIntraBlock() 146 if (AC_rowcol[k]) in VlcDequantMpegIntraBlock() 148 temp = (int32)datablock[k] * qmat[k] * QP; in VlcDequantMpegIntraBlock() 152 datablock[k] = (int) temp; in VlcDequantMpegIntraBlock() 155 bitmapcol[k&0x7] |= mask[k>>3]; in VlcDequantMpegIntraBlock() 186 for (j = 0, k = 8; k < 64; k += 8, j++) in VlcDequantMpegIntraBlock() 188 if (dcac_col[j] = datablock[k]) in VlcDequantMpegIntraBlock() [all …]
|
/frameworks/base/core/java/android/util/ |
D | PathParser.java | 364 for (int k = 0; k < val.length; k += incr) { in addCommand() 367 path.rMoveTo(val[k + 0], val[k + 1]); in addCommand() 368 currentX += val[k + 0]; in addCommand() 369 currentY += val[k + 1]; in addCommand() 374 path.moveTo(val[k + 0], val[k + 1]); in addCommand() 375 currentX = val[k + 0]; in addCommand() 376 currentY = val[k + 1]; in addCommand() 381 path.rLineTo(val[k + 0], val[k + 1]); in addCommand() 382 currentX += val[k + 0]; in addCommand() 383 currentY += val[k + 1]; in addCommand() [all …]
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
D | PathParser.java | 392 for (int k = 0; k < val.length; k += incr) { in addCommand() 395 path.rMoveTo(val[k + 0], val[k + 1]); in addCommand() 396 currentX += val[k + 0]; in addCommand() 397 currentY += val[k + 1]; in addCommand() 402 path.moveTo(val[k + 0], val[k + 1]); in addCommand() 403 currentX = val[k + 0]; in addCommand() 404 currentY = val[k + 1]; in addCommand() 409 path.rLineTo(val[k + 0], val[k + 1]); in addCommand() 410 currentX += val[k + 0]; in addCommand() 411 currentY += val[k + 1]; in addCommand() [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | findhalfpel.cpp | 74 Int k, kmin = 0; in FindHalfPelMB() local 129 for (k = 2; k <= 8; k += 2) in FindHalfPelMB() 131 if (distance_tab[hp_guess][k] < HP_DISTANCE_TH) in FindHalfPelMB() 133 if (in_range[k]) in FindHalfPelMB() 142 kmin = k; in FindHalfPelMB() 149 kmin = k; in FindHalfPelMB() 154 xh += next_hp_pos[k][0]; in FindHalfPelMB() 155 yh += next_hp_pos[k][1]; in FindHalfPelMB() 156 ncand += next_ncand[k]; in FindHalfPelMB() 158 if (k == 8) in FindHalfPelMB() [all …]
|
D | fastcodemb.cpp | 52 Int sad, k, CBP, mbnum = video->mbnum; in CodeMB_H263() local 136 for (k = 0; k < 6; k++) in CodeMB_H263() 139 bitmapcol = video->bitmapcol[k]; in CodeMB_H263() 140 bitmapzz = video->bitmapzz[k]; /* 7/30/01 */ in CodeMB_H263() 141 if (k < 4) in CodeMB_H263() 143 sad = video->mot[mbnum][k+1].sad; in CodeMB_H263() 144 if (k&1) in CodeMB_H263() 149 else if (k == 2) in CodeMB_H263() 159 if (k == 4) in CodeMB_H263() 198 ncoefblck[k] = 0; in CodeMB_H263() [all …]
|
/frameworks/native/include/ui/ |
D | TMatHelpers.h | 81 for (size_t k=0 ; k<N ; k++) { in inverse() local 82 t = tmp[i][k]; in inverse() 83 tmp[i][k] = tmp[swap][k]; in inverse() 84 tmp[swap][k] = t; in inverse() 86 t = inverse[i][k]; in inverse() 87 inverse[i][k] = inverse[swap][k]; in inverse() 88 inverse[swap][k] = t; in inverse() 93 for (size_t k=0 ; k<N ; k++) { in inverse() local 94 tmp[i][k] *= t; in inverse() 95 inverse[i][k] *= t; in inverse() [all …]
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
D | stat_bits.c | 81 Word32 i, k; in tnsCount() local 132 for(k=0; k<tnsInfo->order[i]; k++) { in tnsCount() 134 if ((ptcoef[k] > 3) || (ptcoef[k] < -4)) { in tnsCount() 143 for(k=0; k<tnsInfo->order[i]; k++) { in tnsCount() 145 if ((ptcoef[k] > 1) || (ptcoef[k] < -2)) { in tnsCount() 151 for (k=0; k<tnsInfo->order[i]; k++ ) { in tnsCount()
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Material.java | 219 for (int k = 0; k < mOpacity.length - 1; k++) { in buildOpacityTable() 220 for (int i = mOpacity[k].mPos; i < mOpacity[k + 1].mPos; i++) { in buildOpacityTable() 222 float dist = mOpacity[k + 1].mPos - mOpacity[k].mPos; in buildOpacityTable() 223 float t = (i - mOpacity[k].mPos) / dist; in buildOpacityTable() 224 float v = mOpacity[k].mValue * (1 - t) + t * mOpacity[k + 1].mValue; in buildOpacityTable() 258 for (int k = 0; k < m.length - 1; k++) { in buildMaterialProp() 259 for (int i = m[k].mPos; i < m[k + 1].mPos; i++) { in buildMaterialProp() 261 float dist = m[k + 1].mPos - m[k].mPos; in buildMaterialProp() 262 float t2 = (i - m[k].mPos) / dist; in buildMaterialProp() 266 int red = (int) (m[k].mRed * t1 + m[k + 1].mRed * t2); in buildMaterialProp() [all …]
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | TokenCache.java | 92 public void add(Key k) { in add() argument 93 mKeys.add(k); in add() 97 for (Key k : mKeys) { in evict() 98 TokenLruCache.this.remove(k); in evict() 116 protected int sizeOf(Key k, Value v) { in sizeOf() argument 121 protected void entryRemoved(boolean evicted, Key k, Value oldVal, Value newVal) { in entryRemoved() argument 135 public void putToken(Key k, Value v) { in putToken() argument 141 tokenEvictor.add(k); in putToken() 142 mTokenEvictors.put(new Pair<>(k.account.type, v.token), tokenEvictor); in putToken() 145 Evictor accountEvictor = mAccountEvictors.get(k.account); in putToken() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | c4t64fx.c | 135 Word32 i, j, k; in ACELP_4t64_fx() local 303 for (k = 0; k < NB_MAX; k++) in ACELP_4t64_fx() 314 dn2[pos] = (k - NB_MAX); /* dn2 < 0 when position is selected */ in ACELP_4t64_fx() 315 if (k == 0) in ACELP_4t64_fx() 415 for (k = 0; k < NB_POS; k++) in ACELP_4t64_fx() 426 for (i = k + 1; i < NB_POS; i++) in ACELP_4t64_fx() 472 for (k = 0; k < NB_POS; k++) in ACELP_4t64_fx() 483 for (i = k + 1; i < NB_POS; i++) in ACELP_4t64_fx() 522 for (k = 0; k < NB_TRACK; k++) in ACELP_4t64_fx() 524 j_temp = (k + 1)&0x03; in ACELP_4t64_fx() [all …]
|
D | qpisf_2s.c | 66 Word32 i, k, temp, min_err, distance; in Qpisf_2s_46b() local 80 for (k = 0; k < nb_surv; k++) in Qpisf_2s_46b() 84 isf_stage2[i] = vo_sub(isf[i], dico1_isf[i + surv1[k] * 9]); in Qpisf_2s_46b() 96 indice[0] = surv1[k]; in Qpisf_2s_46b() 109 for (k = 0; k < nb_surv; k++) in Qpisf_2s_46b() 113 isf_stage2[i] = vo_sub(isf[9 + i], dico2_isf[i + surv1[k] * 7]); in Qpisf_2s_46b() 124 indice[1] = surv1[k]; in Qpisf_2s_46b() 154 Word16 i, k, tmp_ind[5]; in Qpisf_2s_36b() local 170 for (k = 0; k < nb_surv; k++) in Qpisf_2s_36b() 174 isf_stage2[i] = vo_sub(isf[i], dico1_isf[i + surv1[k] * 9]); in Qpisf_2s_36b() [all …]
|
D | q_pulse.c | 193 Word32 i, j, k, index; in quant_4p_4N() local 201 for (k = 0; k < 4; k++) in quant_4p_4N() 203 if ((pos[k] & nb_pos) == 0) in quant_4p_4N() 205 posA[i++] = pos[k]; in quant_4p_4N() 208 posB[j++] = pos[k]; in quant_4p_4N() 259 Word32 i, j, k, index, tmp2; in quant_5p_5N() local 266 for (k = 0; k < 5; k++) in quant_5p_5N() 268 if ((pos[k] & nb_pos) == 0) in quant_5p_5N() 270 posA[i++] = pos[k]; in quant_5p_5N() 273 posB[j++] = pos[k]; in quant_5p_5N() [all …]
|
D | int_lpc.c | 39 Word32 i, k; in Int_isp() local 44 for (k = 0; k < 3; k++) in Int_isp() 46 fac_new = frac[k]; in Int_isp()
|
/frameworks/native/services/sensorservice/ |
D | mat.h | 51 for (size_t k=0 ; k<D ; k++) { in doMul() local 52 v += lhs[k][r] * rhs[c][k]; in doMul() 68 for (size_t k=0 ; k<D ; k++) { in doMul() local 69 v += lhs[k][r] * rhs[k]; in doMul() 354 for (size_t k=0 ; k<N ; k++) { in invert() local 355 t = tmp[i][k]; in invert() 356 tmp[i][k] = tmp[swap][k]; in invert() 357 tmp[swap][k] = t; in invert() 359 t = inverse[i][k]; in invert() 360 inverse[i][k] = inverse[swap][k]; in invert() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | inter_36.cpp | 202 Word16 k; in Interpol_3or6() local 231 k = 0; in Interpol_3or6() 235 s = amrnb_fxp_mac_16_by_16bb((Word32) * (pX1--), (Word32) pC1[k], s); in Interpol_3or6() 236 s = amrnb_fxp_mac_16_by_16bb((Word32) * (pX2++), (Word32) pC2[k], s); in Interpol_3or6() 237 k += UP_SAMP_MAX; in Interpol_3or6() 238 s = amrnb_fxp_mac_16_by_16bb((Word32) * (pX1--), (Word32) pC1[k], s); in Interpol_3or6() 239 s = amrnb_fxp_mac_16_by_16bb((Word32) * (pX2++), (Word32) pC2[k], s); in Interpol_3or6() 240 k <<= 1; in Interpol_3or6()
|
/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
D | SGEMMTest.java | 39 private int k; field in SGEMMTest 106 private float[] getGEMMResult(int m, int n, int k, float[] a_float, float[] b_float) { in getGEMMResult() argument 111 for (int l = 0; l < k; l++) { in getGEMMResult() 112 int a_index = ((i * k) + l); in getGEMMResult() 129 k = 3; in setTestSmall() 146 Type a_type = builder.setX(k).setY(m).create(); in setTestSmall() 147 Type b_type = builder.setX(n).setY(k).create(); in setTestSmall() 160 float[] c_float_ref = getGEMMResult(m, n, k, a_float, b_float); in setTestSmall() 174 k = 23; in setTestMedium() 201 Type a_type = builder.setX(k).setY(m).create(); in setTestMedium() [all …]
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | kernel3d.rs | 26 int i, j, k; 30 for (k = 0; k < gDimZ; k++) { 31 int bElt = rsGetElementAt_int(B, i, j, k); 32 int aElt = rsGetElementAt_int(A, i, j, k); 33 if (!_RS_ASSERT_EQU(bElt, (aElt + i + gDimX * j + gDimX * gDimY * k))) 34 rsDebug("test_root_output at i, j, k", i, j, k);
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | pred_lt.cpp | 265 Word16 k; in Pred_lt_3or6() local 304 k = 0; in Pred_lt_3or6() 308 *(pC1++) = pC1_ref[k]; in Pred_lt_3or6() 309 *(pC1++) = pC2_ref[k]; in Pred_lt_3or6() 310 k += UP_SAMP_MAX; in Pred_lt_3or6() 311 *(pC1++) = pC1_ref[k]; in Pred_lt_3or6() 312 *(pC1++) = pC2_ref[k]; in Pred_lt_3or6() 313 k += UP_SAMP_MAX; in Pred_lt_3or6()
|
/frameworks/av/media/utils/ |
D | BatteryNotifier.cpp | 108 std::pair<String8, int> k = std::make_pair(id, uid); in noteFlashlightOn() local 109 if (!mFlashlightState[k]) { in noteFlashlightOn() 110 mFlashlightState[k] = true; in noteFlashlightOn() 121 std::pair<String8, int> k = std::make_pair(id, uid); in noteFlashlightOff() local 122 if (mFlashlightState[k]) { in noteFlashlightOff() 123 mFlashlightState[k] = false; in noteFlashlightOff() 142 std::pair<String8, int> k = std::make_pair(id, uid); in noteStartCamera() local 143 if (!mCameraState[k]) { in noteStartCamera() 144 mCameraState[k] = true; in noteStartCamera() 154 std::pair<String8, int> k = std::make_pair(id, uid); in noteStopCamera() local [all …]
|
/frameworks/wilhelm/tools/hashgen/ |
D | frag1.c | 32 unsigned k; in main() local 34 for (k = 0; k < sizeof(struct SLInterfaceID_); ++k) in main() 35 printf("\\x%02X", y[k]); in main()
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_mpeg2_get_scale_data.cpp | 137 int16 k; in pvmp3_mpeg2_get_scale_data() local 225 k = 0; in pvmp3_mpeg2_get_scale_data() 232 scalefac_buffer[k] = getNbits(pMainData, new_slen[i]); in pvmp3_mpeg2_get_scale_data() 233 scalefac_IIP_buffer[k] = (1L << new_slen[i]) - 1; in pvmp3_mpeg2_get_scale_data() 234 k++; in pvmp3_mpeg2_get_scale_data() 241 scalefac_buffer[k] = 0; in pvmp3_mpeg2_get_scale_data() 242 scalefac_IIP_buffer[k] = 0; in pvmp3_mpeg2_get_scale_data() 243 k++; in pvmp3_mpeg2_get_scale_data()
|
/frameworks/rs/ |
D | rsScriptGroup.cpp | 122 const ScriptKernelID *k = mKernels[ct].get(); in calcOrder() local 124 Node *n = findNode(k->mScript); in calcOrder() 127 n = new Node(k->mScript); in calcOrder() 130 n->mKernels.add(k); in calcOrder() 168 const ScriptKernelID *k = mKernels[ct].get(); in calcOrder() local 169 const Node *n = findNode(k->mScript); in calcOrder() 171 if (k->mHasKernelOutput) { in calcOrder() 174 if (n->mOutputs[ct2]->mSource.get() == k) { in calcOrder() 181 mOutputs.add(new IO(k)); in calcOrder() 185 if (k->mHasKernelInput) { in calcOrder() [all …]
|