/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/common/operations/ |
D | TopK_V2.cpp | 29 bool evalGeneric(const T* inputData, const Shape& inputShape, const int32_t k, T* valuesData, in evalGeneric() argument 41 std::nth_element(values.begin(), values.begin() + (rowSize - k), values.end()); in evalGeneric() 42 std::sort(values.begin() + (rowSize - k), values.end()); in evalGeneric() 44 for (int i = 0; i < k; ++i) { in evalGeneric() 56 bool prepare(const Shape& input, int32_t k, Shape* values, Shape* indices) { in prepare() argument 57 NN_CHECK(k > 0); in prepare() 58 NN_CHECK(k <= input.dimensions.back()); in prepare() 61 values->dimensions.back() = k; in prepare() 63 indices->dimensions.back() = k; in prepare() 67 bool eval(const void* inputData, const Shape& inputShape, const int32_t k, void* valuesData, in eval() argument [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/ml/nn/driver/cache/BlobCache/ |
D | BlobCache_test.cpp | 300 uint8_t k = i; in TEST_P() local 301 mBC->set(&k, 1, "x", 1); in TEST_P() 305 uint8_t k = i; in TEST_P() local 306 if (mBC->get(&k, 1, NULL, 0) == 1) { in TEST_P() 320 uint8_t k = i; in TEST_P() local 321 mBC->set(&k, 1, "x", 1); in TEST_P() 325 uint8_t k = maxEntries; in TEST_P() local 326 mBC->set(&k, 1, "x", 1); in TEST_P() 332 uint8_t k = i; in TEST_P() local 333 bool found = (mBC->get(&k, 1, NULL, 0) == 1); in TEST_P() [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 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/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | healing.rs | 110 float3 k = rsGetElementAt_float3(dest1, x - 1, y); 111 k += rsGetElementAt_float3(dest1, x + 1, y); 112 k += rsGetElementAt_float3(dest1, x, y - 1); 113 k += rsGetElementAt_float3(dest1, x, y + 1); 114 k += rsGetElementAt_float3(laplace, x, y); 115 k /= 4; 116 return k; 124 float3 k = rsGetElementAt_float3(dest2, x - 1, y); 125 k += rsGetElementAt_float3(dest2, x + 1, y); 126 k += rsGetElementAt_float3(dest2, x, y - 1); [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/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/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 …]
|
/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/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/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/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/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | kernel3d.rs | 42 int i, j, k; 46 for (k = 0; k < gDimZ; k++) { 47 int bElt = rsGetElementAt_int(B, i, j, k); 48 int aElt = rsGetElementAt_int(A, i, j, k); 49 if (!_RS_ASSERT_EQU(bElt, (aElt + i + gDimX * j + gDimX * gDimY * k))) 50 rsDebug("test_root_output at i, j, k", i, j, k);
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | kernel3d.rs | 44 int i, j, k; 48 for (k = 0; k < gDimZ; k++) { 49 int bElt = rsGetElementAt_int(B, i, j, k); 50 int aElt = rsGetElementAt_int(A, i, j, k); 51 if (!_RS_ASSERT_EQU(bElt, (aElt + i + gDimX * j + gDimX * gDimY * k))) 52 rsDebug("test_root_output at i, j, k", i, j, k);
|