/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 …]
|
/frameworks/base/libs/hwui/utils/ |
D | VectorDrawableUtils.cpp | 149 for (unsigned int k = start; k < end; k += incr) { in addCommand() local 152 currentX += points->at(k + 0); in addCommand() 153 currentY += points->at(k + 1); in addCommand() 154 if (k > start) { in addCommand() 158 outPath->rLineTo(points->at(k + 0), points->at(k + 1)); in addCommand() 160 outPath->rMoveTo(points->at(k + 0), points->at(k + 1)); in addCommand() 166 currentX = points->at(k + 0); in addCommand() 167 currentY = points->at(k + 1); in addCommand() 168 if (k > start) { in addCommand() 172 outPath->lineTo(points->at(k + 0), points->at(k + 1)); in addCommand() [all …]
|
/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/layoutlib/bridge/src/android/util/ |
D | PathParser_Delegate.java | 502 for (int k = 0; k < val.length; k += incr) { in addCommand() 505 currentX += val[k + 0]; in addCommand() 506 currentY += val[k + 1]; in addCommand() 508 if (k > 0) { in addCommand() 512 path.rLineTo(val[k + 0], val[k + 1]); in addCommand() 514 path.rMoveTo(val[k + 0], val[k + 1]); in addCommand() 520 currentX = val[k + 0]; in addCommand() 521 currentY = val[k + 1]; in addCommand() 523 if (k > 0) { in addCommand() 527 path.lineTo(val[k + 0], val[k + 1]); in addCommand() [all …]
|
/frameworks/av/media/libeffects/dynamicsproc/dsp/ |
D | DPFrequency.cpp | 234 for (size_t k = pEqBandParams->binStart; in updateParameters() local 235 k <= pEqBandParams->binStop && k < mHalfFFTSize; k++) { in updateParameters() 236 cb.mPreEqFactorVector[k] = factor * inputGainFactor; in updateParameters() 242 for (size_t k = 0; k < mHalfFFTSize; k++) { in updateParameters() local 243 cb.mPreEqFactorVector[k] = inputGainFactor; in updateParameters() 285 for (size_t k = pEqBandParams->binStart; in updateParameters() local 286 k <= pEqBandParams->binStop && k < mHalfFFTSize; k++) { in updateParameters() 287 cb.mPostEqFactorVector[k] = factor; in updateParameters() 389 for (size_t k = 0; k < samples; k += channelCount) { in processSamples() local 411 for (size_t k = 0; k < fill; k++) { in processSamples() local [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/ml/nn/driver/cache/BlobCache/ |
D | BlobCache_test.cpp | 296 uint8_t k = i; in TEST_P() local 297 mBC->set(&k, 1, "x", 1); in TEST_P() 301 uint8_t k = i; in TEST_P() local 302 if (mBC->get(&k, 1, NULL, 0) == 1) { in TEST_P() 316 uint8_t k = i; in TEST_P() local 317 mBC->set(&k, 1, "x", 1); in TEST_P() 321 uint8_t k = maxEntries; in TEST_P() local 322 mBC->set(&k, 1, "x", 1); in TEST_P() 328 uint8_t k = i; in TEST_P() local 329 bool found = (mBC->get(&k, 1, NULL, 0) == 1); in TEST_P() [all …]
|
/frameworks/base/cmds/statsd/src/ |
D | hash.cpp | 60 uint32_t k = DecodeFixed32(data); in Hash32() local 61 k *= m; in Hash32() 62 k ^= k >> r; in Hash32() 63 k *= m; in Hash32() 65 h ^= k; in Hash32() 98 uint64_t k = DecodeFixed64(data); in Hash64() local 102 k *= m; in Hash64() 103 k ^= k >> r; in Hash64() 104 k *= m; in Hash64() 106 h ^= k; in Hash64()
|
/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 128 Evictor evictor = mTokenEvictors.remove(new Pair<>(k.account.type, oldVal.token)); in entryRemoved() 135 public void putToken(Key k, Value v) { in putToken() argument 137 Pair<String, String> mapKey = new Pair<>(k.account.type, v.token); in putToken() 142 tokenEvictor.add(k); in putToken() [all …]
|
/frameworks/rs/tests/java_api/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/cmds/incident_helper/testdata/ |
D | cpuinfo.txt | 3 Mem: 3842668k total, 3761936k used, 80732k free, 220188k buffers 5 Swap: 524284k total, 25892k used, 498392k free, 1316952k cached
|
/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/amrwbenc/src/ |
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 | c4t64fx.c | 139 Word32 i, j, k; in ACELP_4t64_fx() local 307 for (k = 0; k < NB_MAX; k++) in ACELP_4t64_fx() 318 dn2[pos] = (k - NB_MAX); /* dn2 < 0 when position is selected */ in ACELP_4t64_fx() 319 if (k == 0) in ACELP_4t64_fx() 419 for (k = 0; k < NB_POS; k++) in ACELP_4t64_fx() 430 for (i = k + 1; i < NB_POS; i++) in ACELP_4t64_fx() 476 for (k = 0; k < NB_POS; k++) in ACELP_4t64_fx() 487 for (i = k + 1; i < NB_POS; i++) in ACELP_4t64_fx() 526 for (k = 0; k < NB_TRACK; k++) in ACELP_4t64_fx() 528 j_temp = (k + 1)&0x03; in ACELP_4t64_fx() [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 …]
|
/frameworks/rs/tests/java_api/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/native/cmds/installd/ |
D | matchgen.py | 76 for k in sorted(target.keys()): 77 if k == "\0": 78 print "%scase '\\0': return %s;" % (prefix, target[k]) 80 upper = k.upper() 81 if k != upper: 82 print "%scase '%s': case '%s':" % (prefix, k, upper) 84 print "%scase '%s':" % (prefix, k) 85 dump(target[k], index + 1)
|
/frameworks/layoutlib/bridge/src/android/view/shadow/ |
D | AmbientShadowVertexCalculator.java | 105 int k = 0; in generateVertex() local 111 mIndex[k * 3 + 0] = r1; in generateVertex() 112 mIndex[k * 3 + 1] = r1 + 1; in generateVertex() 113 mIndex[k * 3 + 2] = r2; in generateVertex() 114 k++; in generateVertex() 115 mIndex[k * 3 + 0] = r2; in generateVertex() 116 mIndex[k * 3 + 1] = r1 + 1; in generateVertex() 117 mIndex[k * 3 + 2] = r2 + 1; in generateVertex() 118 k++; in generateVertex() 122 for (int i = 1; i < mConfig.getRays() - 1; i++, k++) { in generateVertex() [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/native/opengl/libs/EGL/ |
D | BlobCache_test.cpp | 234 uint8_t k = i; in TEST_F() local 235 mBC->set(&k, 1, "x", 1); in TEST_F() 239 uint8_t k = i; in TEST_F() local 240 if (mBC->get(&k, 1, nullptr, 0) == 1) { in TEST_F() 251 uint8_t k = i; in TEST_F() local 252 mBC->set(&k, 1, "x", 1); in TEST_F() 256 uint8_t k = maxEntries; in TEST_F() local 257 mBC->set(&k, 1, "x", 1); in TEST_F() 262 uint8_t k = i; in TEST_F() local 263 if (mBC->get(&k, 1, nullptr, 0) == 1) { in TEST_F() [all …]
|
/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/ml/nn/runtime/test/specs/V1_2/ |
D | topk_v2.mod.py | 27 k=Int32Scalar("k", 2), 35 k=Int32Scalar("k", 2), 43 k=Int32Scalar("k", 2), 51 k=Int32Scalar("k", 2), 59 k=Int32Scalar("k", 2), 67 k=Int32Scalar("k", 2), 75 model = Model().Operation("TOPK_V2", test_case.inp, test_case.k).To(
|
/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()
|