Searched refs:ix (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dgmed_n.cpp130 Word16 i, j, ix = 0;
149 ix = j;
152 tmp2[ix] = -32768;
153 tmp[i] = ix;
188 register Word16 i, j, ix = 0; local
207 ix = j;
210 *(tmp2 + ix) = -32768;
211 *(tmp + i) = ix;
/frameworks/av/media/libstagefright/foundation/
H A DAStringUtils.cpp32 size_t ix = 0, globIx = 0; local
41 ix = globIx;
55 if (ix + len > strLen) {
62 while (ix + len <= strLen && Compare(str + ix, pattern, len, ignoreCase)) {
63 ++ix;
65 if (ix + len > strLen) {
68 ix += len;
73 return ix == strLen;
/frameworks/base/media/java/android/media/
H A DUtils.java62 int ix = 0;
65 while (ix < one.length &&
66 one[ix].getUpper().compareTo(range.getLower()) < 0) {
67 ++ix;
69 while (ix < one.length &&
70 one[ix].getUpper().compareTo(range.getUpper()) < 0) {
71 result.add(range.intersect(one[ix]));
72 ++ix;
74 if (ix == one.length) {
77 if (one[ix]
[all...]
H A DSubtitleTrack.java168 private void removeRunsByEndTimeIndex(int ix) { argument
169 Run run = mRunsByEndTime.valueAt(ix);
184 mRunsByEndTime.removeAt(ix);
191 for(int ix = size - 1; ix >= 0; ix--) {
192 removeRunsByEndTimeIndex(ix);
628 int ix = runsByEndTime.indexOfKey(mStoredEndTimeMs);
629 if (ix >= 0) {
631 assert(this == runsByEndTime.valueAt(ix));
[all...]
/frameworks/av/media/libmedia/
H A DMediaCodecInfo.cpp109 for (size_t ix = 0; ix < mQuirks.size(); ix++) {
110 if (mQuirks.itemAt(ix).equalsIgnoreCase(name)) {
119 for (size_t ix = 0; ix < mCaps.size(); ix++) {
120 mimes->push_back(mCaps.keyAt(ix));
126 ssize_t ix = getCapabilityIndex(mime); local
127 if (ix >
199 ssize_t ix = getCapabilityIndex(mime); local
210 ssize_t ix = getCapabilityIndex(mime); local
[all...]
/frameworks/base/core/java/android/text/style/
H A DDrawableMarginSpan.java46 int ix = (int)x;
53 mDrawable.setBounds(ix, itop, ix+dw, itop+dh);
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dc2t64fx.c56 Word32 i, j, k, i0, i1, ix, iy, pos, pos2; local
229 ix = 0;
253 ix = i0;
266 i0 = (ix >> 1); /* pos of pulse 1 (0..31) */
268 if (sign[ix] > 0)
270 code[ix] = 512; /* codeword in Q9 format */
271 p0 = h - ix;
274 code[ix] = -512;
276 p0 = h_inv - ix;
H A Dc4t64fx.c108 Word16 * ix, /* (o) position of pulse 1 */
136 Word16 st, ix, iy, pos, index, track, nb_pulse, nbiter, j_temp; local
568 ix = ind[0] = pos_max[ipos[0]];
570 ps = dn[ix] + dn[iy];
571 i = ix >> 2; /* ix / STEP */
575 i = (i << 4) + j; /* (ix/STEP)*NB_POS + (iy/STEP) */
578 if (sign[ix] < 0)
579 p0 = h_inv - ix;
581 p0 = h - ix;
964 search_ixiy( Word16 nb_pos_ix, Word16 track_x, Word16 track_y, Word16 * ps, Word16 * alp, Word16 * ix, Word16 * iy, Word16 dn[], Word16 dn2[], Word16 cor_x[], Word16 cor_y[], Word16 rrixiy[][MSIZE] ) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dc4_17pf.cpp399 Word16 ix = 0; /* initialization only needed to keep gcc silent */ local
466 ix = ipos[1];
507 ix = i1;
510 i1 = ix;
524 ix = ipos[2];
565 ix = i2;
568 i2 = ix;
580 ix = ipos[3];
620 ix = i3;
644 *(p_codvec) = ix;
[all...]
H A Dc3_14pf.cpp385 Word16 ix = 0; /* initialization only needed to keep gcc silent */ local
454 ix = ipos[1];
497 ix = i1;
500 i1 = ix;
514 ix = ipos[2];
555 ix = i2;
558 i2 = ix;
H A Dc2_11pf.cpp413 Word16 ix = 0; /* initialization only needed to keep gcc silent */ local
471 ix = ipos[1];
511 ix = i1;
531 *(p_codvec) = ix;
H A Dc2_9pf.cpp480 Word16 ix = 0; // initialization only needed to keep gcc silent
516 ix = ipos[1];
542 ix = i1;
556 codvec[1] = ix;
597 Word16 ix = 0; /* initialization only needed to keep gcc silent */ local
656 ix = *(ipos + 1);
702 ix = i1;
720 *(p_codvec) = ix;
/frameworks/base/media/mca/filterfw/native/core/
H A Dgeometry.cpp131 const Point& Quad::point(int ix) const {
132 ALOG_ASSERT(ix < static_cast<int>(points_.size()), "Access out of bounds");
133 return points_[ix];
H A Dgeometry.h65 const Point& point(int ix) const;
/frameworks/base/core/java/android/text/method/
H A DMultiTapKeyListener.java140 int ix = val.indexOf(ch);
142 if (ix >= 0) {
143 ix = (ix + 1) % (val.length());
145 content.replace(selStart, selEnd, val, ix, ix + 1);
/frameworks/av/media/libstagefright/
H A DMediaCodecList.cpp148 for (size_t ix = 0; ix < colorFormats.size(); ix++) {
149 if (ix > 0) {
152 nice.append(colorFormats.itemAt(ix));
160 for (size_t ix = 0; ix < profileLevels.size(); ix++) {
161 if (ix > 0) {
165 profileLevels.itemAt(ix);
[all...]
H A DClockEstimator.cpp147 size_t ix = (mSampleIx + headIx) % mHistoryLength; local
148 mHead.add(mXHistory[ix], mYHistory[ix], w);
/frameworks/av/tools/resampler_tools/
H A Dfir.cpp251 int ix = j*M + i; local
252 double x = (2.0 * M_PI * ix * Fcr) / M;
253 double y = kaiser(ix+N, 2*N, beta) * sinc(x) * 2.0 * Fcr;
/frameworks/base/media/mca/filterpacks/native/base/
H A Dgeometry.cpp130 const Point& Quad::point(int ix) const {
131 ALOG_ASSERT(ix < static_cast<int>(points_.size()), "Access out of bounds");
132 return points_[ix];
/frameworks/av/media/libstagefright/codecs/g711/dec/
H A DSoftG711.cpp265 int32_t ix = x ^ 0x55; local
266 ix &= 0x7f;
268 int32_t iexp = ix >> 4;
269 int32_t mant = ix & 0x0f;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapShader_Delegate.java165 for (int ix = 0 ; ix < w ; ix++) {
167 pt1[0] = x + ix;
H A DLinearGradient_Delegate.java184 for (int ix = 0 ; ix < w ; ix++) {
186 pt1[0] = x + ix;
H A DRadialGradient_Delegate.java174 for (int ix = 0 ; ix < w ; ix++) {
176 pt1[0] = x + ix;
H A DSweepGradient_Delegate.java166 for (int ix = 0 ; ix < w ; ix++) {
168 pt1[0] = x + ix;
/frameworks/av/services/audioflinger/
H A DAudioResamplerFirGen.h426 for (int j=0, ix=i ; j<halfNumCoef ; ++j, ix+=L) {
427 accum += cos(ix*w)*static_cast<double>(*coef++);
683 for (int j=0, ix=i ; j<halfNumCoef ; ++j, ix+=L) {
685 if (CC_LIKELY(ix)) {
686 double x = static_cast<double>(ix);
688 // sine generator: sg.valueAdvance() returns sin(ix*xstep);

Completed in 867 milliseconds

12