Searched refs:xpos (Results 1 - 21 of 21) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dget_pred_outside.cpp23 xpos = x half-pixel of (x,y) coordinates within a VOP; motion
78 is outside, i.e., left, right, top, bottom. xpos is compared to the left and
242 int xpos, /* i */
264 /* saturate xpos and ypos */
265 if (xpos < -16) xpos = -16;
266 if (xpos > ((width - 1) << 1)) xpos = (width - 1) << 1;
270 if (xpos < 0)
295 ptr = pred + (((ypos >> 1) + 8) << 4) + (xpos >>
241 GetPredOutside( int xpos, int ypos, uint8 *c_prev, uint8 *pred_block, int width, int height, int rnd1, int pred_width ) argument
[all...]
H A Dmb_motion_comp.cpp136 int ypos, xpos; local
180 xpos = video->mbnum_col << 4 ;
185 offset = (int32)ypos * width + xpos;
191 /* imv = (xpos/8) + ((ypos/8) * mvwidth) */
192 imv = (offset >> 6) - (xpos >> 6) + (xpos >> 3);
250 /* luminance_pred_mode_inter4v(xpos, ypos, px, py, c_prev,
256 xpred = (int)((xpos << 1) + px[0]);
292 xpred = (int)(((xpos + B_SIZE) << 1) + px[1]);
328 xpred = (int)((xpos <<
554 int ypos, xpos; local
[all...]
H A Dconceal.cpp143 int xpos, ypos, MB_in_width; local
148 xpos = mbnum - ypos * MB_in_width;
149 lumstart = (ypos << 4) * (int32)width_Y + (xpos << 4);
150 chrstart = (ypos << 3) * (int32)width_C + (xpos << 3);
H A Dmp4dec_lib.h157 int xpos, /* i */
207 int xpos,
248 int xpos,
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfindhalfpel.cpp66 Int xpos, Int ypos, Int *xhmin, Int *yhmin, Int hp_guess)
93 imin = xpos + (mot[0].x >> 1);
95 ilow = xpos - range;
185 UChar *mode, Int xpos, Int ypos, Int *xhmin, Int *yhmin, UChar *hp_mem)
215 imin = xpos + ((comp & 1) << 3) + (mot[comp+1].x >> 1);
217 ilow = xpos + ((comp & 1) << 3) - range;
65 FindHalfPelMB(VideoEncData *video, UChar *cur, MOT *mot, UChar *ncand, Int xpos, Int ypos, Int *xhmin, Int *yhmin, Int hp_guess) argument
184 FindHalfPelBlk(VideoEncData *video, UChar *cur, MOT *mot, Int sad16, UChar *ncand8[], UChar *mode, Int xpos, Int ypos, Int *xhmin, Int *yhmin, UChar *hp_mem) argument
H A Dmotion_comp.cpp37 Int EncGetPredOutside(Int xpos, Int ypos, UChar *c_prev, UChar *rec,
104 Int ypos, xpos; local
124 xpos = ind_x << 4 ;
138 xpred = (xpos << 1) + dx ;
151 xpred = xpos + dx;
167 EncPrediction_INTER4V(xpos, ypos, mot, c_prev, c_rec,
179 xpred = xpos + dx;
240 Int xpos, /* i */
251 xpred = (Int)((xpos << 1) + mot[1].x);
259 xpred = (Int)(((xpos
239 EncPrediction_INTER4V( Int xpos, Int ypos, MOT *mot, UChar *c_prev, UChar *c_rec, Int lx, Int round1 ) argument
1520 EncGetPredOutside(Int xpos, Int ypos, UChar *c_prev, UChar *rec, Int width, Int height, Int rnd1) argument
[all...]
H A Dmp4enc_lib.h138 Int xpos, Int ypos, Int *xhmin, Int *yhmin, Int hp_guess);
140 UChar *mode, Int xpos, Int ypos, Int *xhmin, Int *yhmin, UChar *hp_mem);
/frameworks/base/core/java/android/gesture/
H A DGestureUtils.java137 float xpos;
163 xpos = (float) Math.ceil(segmentStartX);
166 while (xpos < segmentEndX) {
167 ypos = slope * (xpos - segmentStartX) + segmentStartY;
168 plot(xpos, ypos, sample, bitmapSize);
169 xpos++;
172 xpos = (float) Math.ceil(segmentEndX);
175 while (xpos < segmentStartX) {
176 ypos = slope * (xpos - segmentStartX) + segmentStartY;
177 plot(xpos, ypo
[all...]
/frameworks/native/include/input/
H A DVelocityTracker.h215 float xpos, xvel, xaccel; member in struct:android::IntegratingVelocityTrackerStrategy::State
223 void initState(State& state, nsecs_t eventTime, float xpos, float ypos) const;
224 void updateState(State& state, nsecs_t eventTime, float xpos, float ypos) const;
/frameworks/native/libs/input/
H A DVelocityTracker.cpp741 nsecs_t eventTime, float xpos, float ypos) const {
745 state.xpos = xpos;
754 nsecs_t eventTime, float xpos, float ypos) const {
765 float xvel = (xpos - state.xpos) / dt;
791 state.xpos = xpos;
800 outEstimator->xCoeff[0] = state.xpos;
740 initState(State& state, nsecs_t eventTime, float xpos, float ypos) const argument
753 updateState(State& state, nsecs_t eventTime, float xpos, float ypos) const argument
/frameworks/base/graphics/java/android/renderscript/
H A DAllocation.java1668 * @param xpos cubemap face in the positive x direction
1681 Bitmap xpos,
1689 int height = xpos.getHeight();
1690 if (xpos.getWidth() != height ||
1703 Element e = elementFromBitmap(rs, xpos);
1714 adapter.copyFrom(xpos);
1736 * @param xpos cubemap face in the positive x direction
1747 Bitmap xpos,
1753 return createCubemapFromCubeFaces(rs, xpos, xneg, ypos, yneg,
1680 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
1746 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg) argument
/frameworks/native/services/surfaceflinger/
H A DTransform.cpp238 int xpos = floorf(tx() + 0.5f); local
240 out = reg.translate(xpos, ypos);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocationThunker.java260 Bitmap xpos,
271 rst.mN, xpos, xneg, ypos, yneg, zpos, zneg,
259 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
H A DAllocation.java1466 * @param xpos cubemap face in the positive x direction
1479 Bitmap xpos,
1488 int height = xpos.getHeight();
1489 if (xpos.getWidth() != height ||
1502 Element e = elementFromBitmap(rs, xpos);
1513 adapter.copyFrom(xpos);
1537 * @param xpos cubemap face in the positive x direction
1548 Bitmap xpos,
1554 return createCubemapFromCubeFaces(rs, xpos, xneg, ypos, yneg,
1478 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
1547 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg) argument
/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.cpp753 float xpos = totalAdvance + xo + yo * skewX; local
755 outPos->add(xpos);
761 outBounds->join(xpos + metrics.fLeft, ypos + metrics.fTop,
762 xpos + metrics.fLeft + metrics.fWidth, ypos + metrics.fTop + metrics.fHeight);
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarView.java1239 int xpos = 0;
1242 xpos = ((mRight - mLeft) - navWidth) / 2;
1245 xpos = isLayoutRtl ? menuStart : x;
1248 xpos = isLayoutRtl ? x - navWidth : menuStart - navWidth;
1274 customView.layout(xpos, ypos, xpos + customWidth,
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActionBarView.java1109 int xpos = 0;
1112 xpos = (getWidth() - navWidth) / 2;
1115 xpos = x;
1118 xpos = menuLeft - navWidth;
1144 customView.layout(xpos, ypos, xpos + customWidth,
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dfindhalfpel.cpp55 int xpos, int ypos, int hp_guess, int cmvx, int cmvy)
74 OSCL_UNUSED_ARG(xpos);
54 AVCFindHalfPelMB(AVCEncObject *encvid, uint8 *cur, AVCMV *mot, uint8 *ncand, int xpos, int ypos, int hp_guess, int cmvx, int cmvy) argument
H A Davcenc_lib.h615 \param "xpos" "The current MB position in x."
622 int xpos, int ypos, int hp_guess, int cmvx, int cmvy);
/frameworks/base/core/java/android/view/
H A DWindowManager.java1502 public LayoutParams(int w, int h, int xpos, int ypos, int _type, argument
1505 x = xpos;
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java1472 final int xpos = getScrollX();
1473 final float pageOffset = (float) xpos / oldWidthWithMargin;
1630 private boolean pageScrolled(int xpos) { argument
1645 final float pageOffset = (((float) xpos / width) - ii.offset) /

Completed in 370 milliseconds