Searched defs:cur (Results 1 - 25 of 38) sorted by path

12

/frameworks/av/media/libmedia/
H A DIOMX.cpp436 ComponentInfo &cur = *it; local
438 reply->writeString8(cur.mName);
439 reply->writeInt32(cur.mRoles.size());
440 for (List<String8>::iterator role_it = cur.mRoles.begin();
441 role_it != cur.mRoles.end(); ++role_it) {
/frameworks/av/media/libstagefright/
H A DMPEG4Extractor.cpp741 Track *cur = mFirstTrack; local
743 if (cur == mLastTrack) {
744 delete cur;
747 while (cur && cur->next != mLastTrack) {
748 cur = cur->next;
750 cur->next = NULL;
752 mLastTrack = cur;
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dblock.cpp21 void trans(uint8 *cur, int pitch, uint8 *predBlock, int16 *dataBlock) argument
33 r0 = cur[0] - predBlock[0];
34 r1 = cur[1] - predBlock[1];
35 r2 = cur[2] - predBlock[2];
36 r3 = cur[3] - predBlock[3];
50 cur += curpitch;
77 int dct_luma(AVCEncObject *encvid, int blkidx, uint8 *cur, uint8 *org, int *coef_cost) argument
236 *cur = r0;
237 *(cur += pitch) = r1;
238 *(cur
263 uint8 *cur; // the same as curL local
[all...]
H A Dfindhalfpel.cpp54 int AVCFindHalfPelMB(AVCEncObject *encvid, uint8 *cur, AVCMV *mot, uint8 *ncand, argument
80 cur = encvid->currYMB; // pre-load current original MB
85 dmin = SATD_MB(cand, cur, 65535); // get Hadamaard transform SAD
94 d = SATD_MB(hpel_cand[h], cur, dmin);
118 d = SATD_MB(encvid->qpel_cand[q], cur, dmin);
608 int SATD_MB(uint8 *cand, uint8 *cur, int dmin) argument
614 cost = AVCSAD_Macroblock_C(cand, cur, dmin, NULL);
H A Dintra_est.cpp720 int blk_intra4x4_search(AVCEncObject *encvid, int blkidx, uint8 *cur, uint8 *org) argument
767 temp = *(uint32*)(cur - pitch);
780 temp = *(uint32*)(cur - pitch + 4);
793 cur--;
794 P_I = *cur;
795 P_J = *(cur += pitch);
796 P_K = *(cur += pitch);
797 P_L = *(cur + pitch);
798 cur -= (pitch << 1);
799 cur
[all...]
H A Dmotion_est.cpp187 bool IntraDecisionABE(int *min_cost, uint8 *cur, int pitch, bool ave) argument
197 out = cur - pitch;
200 temp = out[j] - cur[j];
205 out = cur - 1;
207 cur -= pitch;
210 temp = *(out += pitch) - *(cur += pitch);
257 uint8 *cur, *best_cand[5]; local
354 cur = currInput->YCbCr[0] + offset;
359 HTFMPrepareCurMB_AVC(encvid, &htfm_stat, cur, pitch);
361 AVCPrepareCurMB(encvid, cur, pitc
742 HTFMPrepareCurMB_AVC(AVCEncObject *encvid, HTFM_Stat *htfm_stat, uint8 *cur, int pitch) argument
806 AVCPrepareCurMB(AVCEncObject *encvid, uint8 *cur, int pitch) argument
955 AVCMBMotionSearch(AVCEncObject *encvid, uint8 *cur, uint8 *best_cand[], int i0, int j0, int type_pred, int FS_en, int *hp_guess) argument
1260 AVCFullSearch(AVCEncObject *encvid, uint8 *prev, uint8 *cur, int *imin, int *jmin, int ilow, int ihigh, int jlow, int jhigh, int cmvx, int cmvy) argument
[all...]
H A Dslice.cpp163 uint8 *cur, *curL, *curCb, *curCr; local
231 cur = curL;
241 video->pred_block = cur;
242 numcoeff = dct_luma(encvid, blkidx, cur, org4, &cost8);
252 cur += ((picPitch << 2) - 4);
257 cur += 4;
282 cur -= 8;
287 cur += (8 - (picPitch << 3));
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Ddct.cpp38 Void BlockDCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) argument
59 tmp = *((Int*) cur); /* contains 4 pixels */
73 tmp = *((Int*)(cur + 4)); /* another 4 pixels */
87 cur += width;
267 Void Block4x4DCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) argument
288 tmp = *((Int*) cur); /* contains 4 pixels */
302 tmp = *((Int*)(cur + 4)); /* another 4 pixels */
316 cur += width;
473 Void Block2x2DCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) argument
494 tmp = *((Int*) cur); /* contain
652 BlockDCT_AANIntra(Short *out, UChar *cur, UChar *dummy2, Int width) argument
863 Block4x4DCT_AANIntra(Short *out, UChar *cur, UChar *dummy2, Int width) argument
1050 Block2x2DCT_AANIntra(Short *out, UChar *cur, UChar *dummy2, Int width) argument
1210 Block1x1DCTwSub(Short *out, UChar *cur, UChar *pred, Int width) argument
1247 Block1x1DCTIntra(Short *out, UChar *cur, UChar *dummy2, Int width) argument
[all...]
H A Dfastcodemb.cpp530 Int Sad8x8(UChar *cur, UChar *prev, Int width) argument
532 UChar *end = cur + (width << 3);
534 Int *curInt = (Int*) cur;
543 cur1 = curInt[1]; /* load cur[4..7] */
545 curInt += (width >> 2); /* load cur[0..3] and +=lx */
594 Int getBlockSum(UChar *cur, Int width) argument
597 UChar *end = cur + (width << 3);
598 Int *curInt = (Int*)cur;
H A Dfindhalfpel.cpp65 void FindHalfPelMB(VideoEncData *video, UChar *cur, MOT *mot, UChar *ncand, argument
89 cur = video->currYMB;
135 d = (*(SAD_MB_HalfPel[((yh&1)<<1)+(xh&1)]))(ncand, cur, (dmin << 16) | lx, extra_info);
184 Int FindHalfPelBlk(VideoEncData *video, UChar *cur, MOT *mot, Int sad16, UChar *ncand8[], argument
231 cur8 = cur + ((comp & 1) << 3) + ((comp & 2) << 2) * width ;
H A Dme_utils.cpp35 void ChooseMode_C(UChar *Mode, UChar *cur, Int lx, Int min_SAD) argument
40 UChar *p = cur;
41 Int *pint = (Int *) cur, temp = 0;
67 p = cur;
313 void ComputeMBSum_C(UChar *cur, Int lx, MOT *mot_mb) argument
320 cInt = (Int*)cur; /* make sure this is word-align */
321 cInt2 = (Int*)(cur + (lx << 3));
H A Dmotion_est.cpp75 void MBMotionSearch(VideoEncData *video, UChar *cur, UChar *best_cand[],
78 Int fullsearch(VideoEncData *video, Vol *currVol, UChar *ref, UChar *cur,
80 Int fullsearchBlk(VideoEncData *video, Vol *currVol, UChar *cent, UChar *cur,
91 void PrepareCurMB(VideoEncData *video, UChar *cur);
105 void HTFMPrepareCurMB(VideoEncData *video, HTFM_Stat *htfm_stat, UChar *cur);
156 UChar *cur, *best_cand[5]; local
187 cur = currFrame->yChan;
196 (*ComputeMBSum)(cur + (i << 4), width, mot_mb);
202 cur += (width << 4);
274 cur
674 HTFMPrepareCurMB(VideoEncData *video, HTFM_Stat *htfm_stat, UChar *cur) argument
739 PrepareCurMB(VideoEncData *video, UChar *cur) argument
770 MBMotionSearch(VideoEncData *video, UChar *cur, UChar *best_cand[], Int i0, Int j0, Int type_pred, Int FS_en, Int *hp_guess) argument
1179 fullsearch(VideoEncData *video, Vol *currVol, UChar *prev, UChar *cur, Int *imin, Int *jmin, Int ilow, Int ihigh, Int jlow, Int jhigh) argument
1266 fullsearchBlk(VideoEncData *video, Vol *currVol, UChar *cent, UChar *cur, Int *imin, Int *jmin, Int ilow, Int ihigh, Int jlow, Int jhigh, Int range) argument
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DAHierarchicalStateMachine.cpp53 sp<AState> cur = mState; local
54 while (cur != NULL && !cur->onMessageReceived(msg)) {
59 cur = cur->parentState();
62 if (cur != NULL) {
77 sp<AState> cur = mState; local
79 A.push(cur);
80 if (cur == NULL) {
83 cur
[all...]
/frameworks/av/media/libstagefright/mp4/
H A DFragmentedMP4Parser.cpp172 char *cur = bitmap; local
173 for (int i = 0; i < numlines; i++ && cur) {
176 buf[(j * 8) + k] = (*cur & (0x80 >> k)) ? 'X' : '.';
178 cur++;
/frameworks/base/cmds/installd/
H A Dutils.c423 static void* _cache_realloc(cache_t* cache, void* cur, size_t origLen, size_t len) argument
427 if (alloc != NULL && cur != NULL) {
428 memcpy(alloc, cur, origLen < len ? origLen : len);
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java1176 Header findBestMatchingHeader(Header cur, ArrayList<Header> from) { argument
1180 if (cur == oh || (cur.id != HEADER_ID_UNDEFINED && cur.id == oh.id)) {
1186 if (cur.fragment != null) {
1187 if (cur.fragment.equals(oh.fragment)) {
1190 } else if (cur.intent != null) {
1191 if (cur.intent.equals(oh.intent)) {
1194 } else if (cur.title != null) {
1195 if (cur
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DArrayUtils.java205 public static int[] appendInt(int[] cur, int val) { argument
206 if (cur == null) {
209 final int N = cur.length;
211 if (cur[i] == val) {
212 return cur;
216 System.arraycopy(cur, 0, ret, 0, N);
221 public static int[] removeInt(int[] cur, int val) { argument
222 if (cur == null) {
225 final int N = cur.length;
227 if (cur[
[all...]
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteConnection.cpp765 int cur = -1; local
767 sqlite3_db_status(connection->db, SQLITE_DBSTATUS_LOOKASIDE_USED, &cur, &unused, 0);
768 return cur;
/frameworks/base/libs/androidfw/
H A DAsset.cpp63 Asset* cur = gHead; local
64 while (cur != NULL) {
65 if (cur->isAllocated()) {
67 res.append(cur->getAssetSource());
68 off64_t size = (cur->getLength()+512)/1024;
73 cur = cur->mNext;
H A DCursorWindow.cpp151 uint32_t cur = mHeader->numColumns; local
152 if ((cur > 0 || mHeader->numRows > 0) && cur != numColumns) {
153 ALOGE("Trying to go from %d columns to %d", cur, numColumns);
H A DResourceTypes.cpp3489 bag_entry* cur = entries+curEntry; local
3491 cur->stringBlock = package->header->index;
3492 cur->map.name.ident = newName;
3493 cur->map.value.copyFrom_dtoh(map->value);
3495 curEntry, cur, cur->stringBlock, cur->map.name.ident,
3496 cur->map.value.dataType, cur->map.value.data));
3883 const unit_entry* cur local
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindow.java3082 } else if (st != null && (st.cur != drawable || st.curAlpha != st.alpha)) {
3083 // System.out.println("Drawable changed: old=" + st.cur
3085 st.cur = drawable;
3245 Drawable cur; field in class:PhoneWindow.DrawableFeatureState
/frameworks/base/services/java/com/android/server/
H A DIntentResolver.java628 private void compareMaps(IntentFilter src, String name, HashMap<String, F[]> cur, argument
630 if (cur.size() != old.size()) {
633 final F[] curArray = cur.get(e.getKey());
642 for (Map.Entry<String, F[]> e : cur.entrySet()) {
655 Log.wtf(TAG, "New map " + name + " size is " + cur.size()
663 final F[] curArray = cur.get(e.getKey());
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java3403 final void showLaunchWarningLocked(final ActivityRecord cur, final ActivityRecord next) { argument
3410 final Dialog d = new LaunchWarningWindow(mContext, cur, next);
4786 ForegroundToken cur
4788 if (cur != token) {
10134 pw.print(" cur="); pw.print(r.curAdj);
11267 List cur, int userId) {
11271 return cur;
11275 return cur;
11281 if (cur == null) {
11282 cur
11266 getStickiesLocked(String action, IntentFilter filter, List cur, int userId) argument
[all...]
H A DLaunchWarningWindow.java30 public LaunchWarningWindow(Context context, ActivityRecord cur, ActivityRecord next) { argument
51 icon.setImageDrawable(cur.info.applicationInfo.loadIcon(context.getPackageManager()));
54 cur.info.applicationInfo.loadLabel(context.getPackageManager()).toString()));

Completed in 327 milliseconds

12