/frameworks/av/media/libstagefright/omx/ |
H A D | OMXUtils.cpp | 79 for (size_t ix = 0; ix < image.mNumPlanes; ++ix) { 80 if (image.mPlane[ix].mHorizSubsampling > INT32_MAX 81 || image.mPlane[ix].mVertSubsampling > INT32_MAX) { 93 for (size_t ix = 0; ix < image.mNumPlanes; ++ix) { 94 mPlane[ix].mOffset = image.mPlane[ix] [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_f16_math.c | 32 short hx, ix; local 36 ix = hx & 0x7fff; 39 if (ix >= 0x7c00 || ix == 0) return x; // NaN, infinity or zero 40 if (ix <= 0x0400) { 45 ix = hx & 0x7fff; 51 *eptr += (ix >> 10) - 14; 62 short hx, ix; local 69 for (hx <<= 5, ix = -14; hx > 0; hx <<= 1) 70 ix 106 unsigned short ix; local 119 short hx, hy, ix, iy; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | gmed_n.cpp | 130 Word16 i, j, ix = 0; 149 ix = j; 152 tmp2[ix] = -32768; 153 tmp[i] = ix; 188 Word16 i, j, ix = 0; local 207 ix = j; 210 *(tmp2 + ix) = -32768; 211 *(tmp + i) = ix;
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AStringUtils.cpp | 32 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/minikin/tools/ |
H A D | mk_hyb_file.py | 87 def is_free(self, ix): 88 while ix >= len(self.pred): 90 return self.pred[ix] != -1 92 def use(self, ix): 93 if self.pred[ix] is None: 94 self.first = self.succ[ix] 96 self.succ[self.pred[ix]] = self.succ[ix] 97 if self.succ[ix] is None: 98 self.last = self.pred[ix] [all...] |
/frameworks/base/media/java/android/media/ |
H A D | Utils.java | 60 int ix = 0; 63 while (ix < one.length && 64 one[ix].getUpper().compareTo(range.getLower()) < 0) { 65 ++ix; 67 while (ix < one.length && 68 one[ix].getUpper().compareTo(range.getUpper()) < 0) { 69 result.add(range.intersect(one[ix])); 70 ++ix; 72 if (ix == one.length) { 75 if (one[ix] [all...] |
H A D | SubtitleTrack.java | 169 private void removeRunsByEndTimeIndex(int ix) { argument 170 Run run = mRunsByEndTime.valueAt(ix); 185 mRunsByEndTime.removeAt(ix); 192 for(int ix = size - 1; ix >= 0; ix--) { 193 removeRunsByEndTimeIndex(ix); 631 int ix = runsByEndTime.indexOfKey(mStoredEndTimeMs); 632 if (ix >= 0) { 634 assert(this == runsByEndTime.valueAt(ix)); [all...] |
/frameworks/av/media/libmedia/ |
H A D | MediaCodecInfo.cpp | 124 for (size_t ix = 0; ix < mQuirks.size(); ix++) { 125 if (mQuirks.itemAt(ix).equalsIgnoreCase(name)) { 134 for (size_t ix = 0; ix < mCaps.size(); ix++) { 135 mimes->push_back(mCaps.keyAt(ix)); 141 ssize_t ix = getCapabilityIndex(mime); local 142 if (ix > 216 ssize_t ix = getCapabilityIndex(mime); local 227 ssize_t ix = getCapabilityIndex(mime); local 238 ssize_t ix = getCapabilityIndex(mime); local [all...] |
/frameworks/base/core/java/android/text/style/ |
H A D | DrawableMarginSpan.java | 46 int ix = (int)x; 53 mDrawable.setBounds(ix, itop, ix+dw, itop+dh);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | c2t64fx.c | 56 Word32 i, j, k, i0, i1, ix, iy, pos, pos2; local 232 ix = 0; 256 ix = i0; 269 i0 = (ix >> 1); /* pos of pulse 1 (0..31) */ 271 if (sign[ix] > 0) 273 code[ix] = 512; /* codeword in Q9 format */ 274 p0 = h - ix; 277 code[ix] = -512; 279 p0 = h_inv - ix;
|
H A D | c4t64fx.c | 108 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; 972 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 D | c4_17pf.cpp | 399 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 D | c3_14pf.cpp | 385 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 D | c2_11pf.cpp | 413 Word16 ix = 0; /* initialization only needed to keep gcc silent */ local 471 ix = ipos[1]; 511 ix = i1; 531 *(p_codvec) = ix;
|
H A D | c2_9pf.cpp | 480 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 D | geometry.cpp | 131 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 D | geometry.h | 65 const Point& point(int ix) const;
|
/frameworks/base/core/java/android/text/method/ |
H A D | MultiTapKeyListener.java | 140 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/minikin/libs/minikin/ |
H A D | WordBreaker.cpp | 219 ssize_t ix = result; local 220 U16_NEXT(mText, ix, mCurrent, c); 227 result = ix; 239 ssize_t ix = result; local 240 U16_PREV(mText, mLast, ix, c); 246 result = ix;
|
/frameworks/av/media/libstagefright/ |
H A D | MediaCodecList.cpp | 259 for (size_t ix = 0; ix < colorFormats.size(); ix++) { 260 if (ix > 0) { 263 nice.append(colorFormats.itemAt(ix)); 271 for (size_t ix = 0; ix < profileLevels.size(); ix++) { 272 if (ix > 0) { 276 profileLevels.itemAt(ix); 1186 ssize_t ix = list->findCodecByName(componentName); local [all...] |
/frameworks/av/tools/resampler_tools/ |
H A D | fir.cpp | 258 int ix = j*M + i; local 259 double x = (2.0 * M_PI * ix * Fcr) / M; 260 double y = kaiser(ix+N, 2*N, beta) * sinc(x) * 2.0 * Fcr;
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | geometry.cpp | 130 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/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BitmapShader_Delegate.java | 176 for (int ix = 0 ; ix < w ; ix++) { 178 pt1[0] = x + ix;
|
H A D | LinearGradient_Delegate.java | 187 for (int ix = 0 ; ix < w ; ix++) { 189 pt1[0] = x + ix;
|
H A D | RadialGradient_Delegate.java | 177 for (int ix = 0 ; ix < w ; ix++) { 179 pt1[0] = x + ix;
|