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

123

/frameworks/rs/driver/runtime/
H A Drs_f16_math.c32 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
118 short hx, hy, ix, iy; local
[all...]
/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 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.java69 int ix = 0;
72 while (ix < one.length &&
73 one[ix].getUpper().compareTo(range.getLower()) < 0) {
74 ++ix;
76 while (ix < one.length &&
77 one[ix].getUpper().compareTo(range.getUpper()) < 0) {
78 result.add(range.intersect(one[ix]));
79 ++ix;
81 if (ix == one.length) {
84 if (one[ix]
[all...]
H A DSubtitleTrack.java169 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/minikin/tools/
H A Dmk_hyb_file.py91 def is_free(self, ix):
92 while ix >= len(self.pred):
94 return self.pred[ix] != -1
96 def use(self, ix):
97 if self.pred[ix] is None:
98 self.first = self.succ[ix]
100 self.succ[self.pred[ix]] = self.succ[ix]
101 if self.succ[ix] is None:
102 self.last = self.pred[ix]
[all...]
/frameworks/av/media/libmedia/
H A DMediaCodecInfo.cpp150 for (size_t ix = 0; ix < mCaps.size(); ix++) {
151 mimes->push_back(mCaps.keyAt(ix));
157 ssize_t ix = getCapabilityIndex(mime); local
158 if (ix >= 0) {
159 return mCaps.valueAt(ix);
211 for (size_t ix = 0; ix < mCaps.size(); ix
241 ssize_t ix = mInfo->getCapabilityIndex(mime); local
254 ssize_t ix = mInfo->getCapabilityIndex(mime); local
[all...]
/frameworks/av/media/libstagefright/omx/
H A DOMXUtils.cpp87 for (size_t ix = 0; ix < image.mNumPlanes; ++ix) {
88 if (image.mPlane[ix].mHorizSubsampling > INT32_MAX
89 || image.mPlane[ix].mVertSubsampling > INT32_MAX) {
101 for (size_t ix = 0; ix < image.mNumPlanes; ++ix) {
102 mPlane[ix].mOffset = image.mPlane[ix]
[all...]
/frameworks/base/core/java/android/text/style/
H A DDrawableMarginSpan.java86 int ix = (int) x;
93 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
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 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;
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 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.java143 int ix = val.indexOf(ch);
145 if (ix >= 0) {
146 ix = (ix + 1) % (val.length());
148 content.replace(selStart, selEnd, val, ix, ix + 1);
/frameworks/minikin/libs/minikin/
H A DWordBreaker.cpp276 ssize_t ix = result; local
277 U16_NEXT(mText, ix, mCurrent, c);
284 result = ix;
296 ssize_t ix = result; local
297 U16_PREV(mText, mLast, ix, c);
303 result = ix;
/frameworks/base/libs/androidfw/
H A DAttributeResolution.cpp408 size_t ix = 0; local
409 uint32_t cur_xml_attr = xml_parser->getAttributeNameResID(ix);
424 while (ix < xml_attr_count && cur_ident > cur_xml_attr) {
425 ix++;
426 cur_xml_attr = xml_parser->getAttributeNameResID(ix);
429 if (ix < xml_attr_count && cur_ident == cur_xml_attr) {
430 xml_parser->getAttributeValue(ix, &value);
431 ix++;
432 cur_xml_attr = xml_parser->getAttributeNameResID(ix);
/frameworks/av/packages/MediaComponents/src/com/android/media/subtitle/
H A DSubtitleTrack.java159 private void removeRunsByEndTimeIndex(int ix) { argument
160 Run run = mRunsByEndTime.valueAt(ix);
175 mRunsByEndTime.removeAt(ix);
182 for(int ix = size - 1; ix >= 0; ix--) {
183 removeRunsByEndTimeIndex(ix);
601 int ix = runsByEndTime.indexOfKey(mStoredEndTimeMs);
602 if (ix >= 0) {
604 assert(this == runsByEndTime.valueAt(ix));
[all...]
/frameworks/av/tools/resampler_tools/
H A Dfir.cpp258 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 Dgeometry.cpp132 const Point& Quad::point(int ix) const {
133 ALOG_ASSERT(ix < static_cast<int>(points_.size()), "Access out of bounds");
134 return points_[ix];
/frameworks/support/media/src/main/java/androidx/media/subtitle/
H A DSubtitleTrack.java170 private void removeRunsByEndTimeIndex(int ix) { argument
171 Run run = mRunsByEndTime.valueAt(ix);
186 mRunsByEndTime.removeAt(ix);
193 for (int ix = size - 1; ix >= 0; ix--) {
194 removeRunsByEndTimeIndex(ix);
620 int ix = runsByEndTime.indexOfKey(mStoredEndTimeMs);
621 if (ix >= 0) {
623 assert (this == runsByEndTime.valueAt(ix));
[all...]
/frameworks/layoutlib/bridge/src/android/graphics/
H A DBitmapShader_Delegate.java179 for (int ix = 0 ; ix < w ; ix++) {
181 pt1[0] = x + ix;

Completed in 921 milliseconds

123