/frameworks/base/media/java/android/media/ |
D | Utils.java | 60 int ix = 0; in intersectSortedDistinctRanges() local 63 while (ix < one.length && in intersectSortedDistinctRanges() 64 one[ix].getUpper().compareTo(range.getLower()) < 0) { in intersectSortedDistinctRanges() 65 ++ix; in intersectSortedDistinctRanges() 67 while (ix < one.length && in intersectSortedDistinctRanges() 68 one[ix].getUpper().compareTo(range.getUpper()) < 0) { in intersectSortedDistinctRanges() 69 result.add(range.intersect(one[ix])); in intersectSortedDistinctRanges() 70 ++ix; in intersectSortedDistinctRanges() 72 if (ix == one.length) { in intersectSortedDistinctRanges() 75 if (one[ix].getLower().compareTo(range.getUpper()) <= 0) { in intersectSortedDistinctRanges() [all …]
|
D | SubtitleTrack.java | 169 private void removeRunsByEndTimeIndex(int ix) { in removeRunsByEndTimeIndex() argument 170 Run run = mRunsByEndTime.valueAt(ix); in removeRunsByEndTimeIndex() 185 mRunsByEndTime.removeAt(ix); in removeRunsByEndTimeIndex() 192 for(int ix = size - 1; ix >= 0; ix--) { in finalize() 193 removeRunsByEndTimeIndex(ix); in finalize() 631 int ix = runsByEndTime.indexOfKey(mStoredEndTimeMs); 632 if (ix >= 0) { 634 assert(this == runsByEndTime.valueAt(ix)); 636 runsByEndTime.removeAt(ix); 638 runsByEndTime.setValueAt(ix, mNextRunAtEndTimeMs);
|
/frameworks/av/media/libmedia/ |
D | MediaCodecInfo.cpp | 109 for (size_t ix = 0; ix < mQuirks.size(); ix++) { in hasQuirk() local 110 if (mQuirks.itemAt(ix).equalsIgnoreCase(name)) { in hasQuirk() 119 for (size_t ix = 0; ix < mCaps.size(); ix++) { in getSupportedMimes() local 120 mimes->push_back(mCaps.keyAt(ix)); in getSupportedMimes() 126 ssize_t ix = getCapabilityIndex(mime); in getCapabilitiesFor() local 127 if (ix >= 0) { in getCapabilitiesFor() 128 return mCaps.valueAt(ix); in getCapabilitiesFor() 176 for (size_t ix = 0; ix < mCaps.size(); ix++) { in getCapabilityIndex() local 177 if (mCaps.keyAt(ix).equalsIgnoreCase(mime)) { in getCapabilityIndex() 178 return ix; in getCapabilityIndex() [all …]
|
/frameworks/av/media/libstagefright/foundation/ |
D | AStringUtils.cpp | 32 size_t ix = 0, globIx = 0; in MatchesGlob() local 41 ix = globIx; in MatchesGlob() 55 if (ix + len > strLen) { in MatchesGlob() 62 while (ix + len <= strLen && Compare(str + ix, pattern, len, ignoreCase)) { in MatchesGlob() 63 ++ix; in MatchesGlob() 65 if (ix + len > strLen) { in MatchesGlob() 68 ix += len; in MatchesGlob() 73 return ix == strLen; in MatchesGlob()
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | gmed_n.cpp | 188 Word16 i, j, ix = 0; in gmed_n() local 207 ix = j; in gmed_n() 210 *(tmp2 + ix) = -32768; in gmed_n() 211 *(tmp + i) = ix; in gmed_n()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | c2t64fx.c | 56 Word32 i, j, k, i0, i1, ix, iy, pos, pos2; in ACELP_2t64_fx() local 229 ix = 0; in ACELP_2t64_fx() 253 ix = i0; in ACELP_2t64_fx() 266 i0 = (ix >> 1); /* pos of pulse 1 (0..31) */ in ACELP_2t64_fx() 268 if (sign[ix] > 0) in ACELP_2t64_fx() 270 code[ix] = 512; /* codeword in Q9 format */ in ACELP_2t64_fx() 271 p0 = h - ix; in ACELP_2t64_fx() 274 code[ix] = -512; in ACELP_2t64_fx() 276 p0 = h_inv - ix; in ACELP_2t64_fx()
|
D | c4t64fx.c | 108 Word16 * ix, /* (o) position of pulse 1 */ 136 Word16 st, ix, iy, pos, index, track, nb_pulse, nbiter, j_temp; in ACELP_4t64_fx() local 568 ix = ind[0] = pos_max[ipos[0]]; in ACELP_4t64_fx() 570 ps = dn[ix] + dn[iy]; in ACELP_4t64_fx() 571 i = ix >> 2; /* ix / STEP */ in ACELP_4t64_fx() 578 if (sign[ix] < 0) in ACELP_4t64_fx() 579 p0 = h_inv - ix; in ACELP_4t64_fx() 581 p0 = h - ix; in ACELP_4t64_fx() 602 ix = ind[0] = pos_max[ipos[0]]; in ACELP_4t64_fx() 606 ps = add1(add1(add1(dn[ix], dn[iy]), dn[i]), dn[j]); in ACELP_4t64_fx() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | c4_17pf.cpp | 399 Word16 ix = 0; /* initialization only needed to keep gcc silent */ in search_4i40() local 466 ix = ipos[1]; in search_4i40() 507 ix = i1; in search_4i40() 510 i1 = ix; in search_4i40() 524 ix = ipos[2]; in search_4i40() 565 ix = i2; in search_4i40() 568 i2 = ix; in search_4i40() 580 ix = ipos[3]; in search_4i40() 620 ix = i3; in search_4i40() 644 *(p_codvec) = ix; in search_4i40()
|
D | c3_14pf.cpp | 385 Word16 ix = 0; /* initialization only needed to keep gcc silent */ in search_3i40() local 454 ix = ipos[1]; in search_3i40() 497 ix = i1; in search_3i40() 500 i1 = ix; in search_3i40() 514 ix = ipos[2]; in search_3i40() 555 ix = i2; in search_3i40() 558 i2 = ix; in search_3i40()
|
D | c2_11pf.cpp | 413 Word16 ix = 0; /* initialization only needed to keep gcc silent */ in search_2i40() local 471 ix = ipos[1]; in search_2i40() 511 ix = i1; in search_2i40() 531 *(p_codvec) = ix; in search_2i40()
|
D | c2_9pf.cpp | 597 Word16 ix = 0; /* initialization only needed to keep gcc silent */ in search_2i40() local 656 ix = *(ipos + 1); in search_2i40() 702 ix = i1; in search_2i40() 720 *(p_codvec) = ix; in search_2i40()
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecList.cpp | 258 for (size_t ix = 0; ix < colorFormats.size(); ix++) { in parseTopLevelXMLFile() local 259 if (ix > 0) { in parseTopLevelXMLFile() 262 nice.append(colorFormats.itemAt(ix)); in parseTopLevelXMLFile() 270 for (size_t ix = 0; ix < profileLevels.size(); ix++) { in parseTopLevelXMLFile() local 271 if (ix > 0) { in parseTopLevelXMLFile() 275 profileLevels.itemAt(ix); in parseTopLevelXMLFile() 284 for (size_t ix = 0; ix < info.mQuirks.size(); ix++) { in parseTopLevelXMLFile() local 285 if (ix > 0) { in parseTopLevelXMLFile() 288 quirks.append(info.mQuirks[ix]); in parseTopLevelXMLFile() 870 for (size_t ix = 0; ix < ARRAY_SIZE(advancedFeatures); ix++) { in findCodecByType() local [all …]
|
D | ClockEstimator.cpp | 147 size_t ix = (mSampleIx + headIx) % mHistoryLength; in estimate() local 148 mHead.add(mXHistory[ix], mYHistory[ix], w); in estimate()
|
D | MediaSync.cpp | 741 ssize_t ix = mBuffersSentToOutput.indexOfKey(buffer->getId()); in onBufferReleasedByOutput() local 742 if (ix < 0) { in onBufferReleasedByOutput() 746 mBuffersSentToOutput.removeItemsAt(ix); in onBufferReleasedByOutput() 753 ssize_t ix = mBuffersFromInput.indexOfKey(buffer->getId()); in returnBufferToInput_l() local 754 if (ix < 0) { in returnBufferToInput_l() 761 sp<GraphicBuffer> oldBuffer = mBuffersFromInput.valueAt(ix); in returnBufferToInput_l() 762 mBuffersFromInput.removeItemsAt(ix); in returnBufferToInput_l()
|
/frameworks/base/core/java/android/text/style/ |
D | DrawableMarginSpan.java | 46 int ix = (int)x; in drawLeadingMargin() local 53 mDrawable.setBounds(ix, itop, ix+dw, itop+dh); in drawLeadingMargin()
|
/frameworks/base/core/java/android/text/method/ |
D | MultiTapKeyListener.java | 140 int ix = val.indexOf(ch); in onKeyDown() local 142 if (ix >= 0) { in onKeyDown() 143 ix = (ix + 1) % (val.length()); in onKeyDown() 145 content.replace(selStart, selEnd, val, ix, ix + 1); in onKeyDown()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | geometry.cpp | 131 const Point& Quad::point(int ix) const { in point() 132 ALOG_ASSERT(ix < static_cast<int>(points_.size()), "Access out of bounds"); in point() 133 return points_[ix]; in point()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | SweepGradient_Delegate.java | 167 for (int ix = 0 ; ix < w ; ix++) { in getRaster() 169 pt1[0] = x + ix; in getRaster()
|
D | BitmapShader_Delegate.java | 176 for (int ix = 0 ; ix < w ; ix++) { in getRaster() 178 pt1[0] = x + ix; in getRaster()
|
D | RadialGradient_Delegate.java | 177 for (int ix = 0 ; ix < w ; ix++) { in getRaster() 179 pt1[0] = x + ix; in getRaster()
|
D | LinearGradient_Delegate.java | 187 for (int ix = 0 ; ix < w ; ix++) { in getRaster() 189 pt1[0] = x + ix; in getRaster()
|
/frameworks/av/services/audioflinger/ |
D | AudioResamplerFirGen.h | 429 for (int j=0, ix=i ; j<halfNumCoef ; ++j, ix+=L) { 430 accum += cos(ix*w)*static_cast<double>(*coef++); 686 for (int j=0, ix=i ; j<halfNumCoef ; ++j, ix+=L) { 688 if (CC_LIKELY(ix)) { 689 double x = static_cast<double>(ix);
|
/frameworks/base/media/mca/filterpacks/native/base/ |
D | geometry.cpp | 130 const Point& Quad::point(int ix) const { in point() 131 ALOG_ASSERT(ix < static_cast<int>(points_.size()), "Access out of bounds"); in point() 132 return points_[ix]; in point()
|
/frameworks/av/tools/resampler_tools/ |
D | fir.cpp | 258 int ix = j*M + i; in main() local 259 double x = (2.0 * M_PI * ix * Fcr) / M; in main() 260 double y = kaiser(ix+N, 2*N, beta) * sinc(x) * 2.0 * Fcr; in main()
|
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
D | SoftG711.cpp | 268 int32_t ix = x ^ 0x55; in DecodeALaw() local 269 ix &= 0x7f; in DecodeALaw() 271 int32_t iexp = ix >> 4; in DecodeALaw() 272 int32_t mant = ix & 0x0f; in DecodeALaw()
|