Searched defs:ix (Results 1 - 20 of 20) sorted by relevance

/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/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
119 short hx, hy, ix, iy; local
[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/av/media/libmedia/
H A DMediaCodecInfo.cpp124 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/av/media/libstagefright/codecs/amrnb/enc/src/
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;
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 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...]
/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/g711/dec/
H A DSoftG711.cpp290 int32_t ix = x ^ 0x55; local
291 ix &= 0x7f;
293 int32_t iexp = ix >> 4;
294 int32_t mant = ix & 0x0f;
/frameworks/minikin/libs/minikin/
H A DWordBreaker.cpp219 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;
H A DLayout.cpp334 unsigned int ix; local
335 for (ix = 0; ix < mFaces.size(); ix++) {
336 if (mFaces[ix].font == face.font) {
337 return ix;
348 return ix;
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoder.cpp456 msg->setSize("buffer-ix", bufferIx);
522 msg->setSize("buffer-ix", index);
579 reply->setSize("buffer-ix", index);
775 CHECK(msg->findSize("buffer-ix", &bufferIx));
788 size_t ix; local
789 for (ix = 0; ix < mInputBuffers.size(); ix++) {
790 const sp<ABuffer> &buf = mInputBuffers[ix];
793 if (!mInputBufferIsDequeued[ix]) {
[all...]
/frameworks/av/media/libstagefright/
H A DMediaSync.cpp740 ssize_t ix = mBuffersSentToOutput.indexOfKey(buffer->getId()); local
741 if (ix < 0) {
745 mBuffersSentToOutput.removeItemsAt(ix);
752 ssize_t ix = mBuffersFromInput.indexOfKey(buffer->getId()); local
753 if (ix < 0) {
760 sp<GraphicBuffer> oldBuffer = mBuffersFromInput.valueAt(ix);
761 mBuffersFromInput.removeItemsAt(ix);
H A DVideoFrameScheduler.cpp141 size_t ix = (mNumSamples - numSamplesToUse + i) % kHistorySize; local
142 nsecs_t time = mTimes[ix];
H A DMediaCodecList.cpp259 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/base/media/java/android/media/
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/base/core/jni/
H A Dandroid_util_AssetManager.cpp1654 jsize ix=0; local
1655 uint32_t curXmlAttr = xmlParser->getAttributeNameResID(ix);
1673 while (ix < NX && curIdent > curXmlAttr) {
1674 ix++;
1675 curXmlAttr = xmlParser->getAttributeNameResID(ix);
1678 if (ix < NX && curIdent == curXmlAttr) {
1680 xmlParser->getAttributeValue(ix, &value);
1681 ix++;
1682 curXmlAttr = xmlParser->getAttributeNameResID(ix);

Completed in 1221 milliseconds