Home
last modified time | relevance | path

Searched refs:xpos (Results 1 – 24 of 24) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dget_pred_outside.cpp242 int xpos, /* i */ in GetPredOutside() argument
265 if (xpos < -16) xpos = -16; in GetPredOutside()
266 if (xpos > ((width - 1) << 1)) xpos = (width - 1) << 1; in GetPredOutside()
270 if (xpos < 0) in GetPredOutside()
295 ptr = pred + (((ypos >> 1) + 8) << 4) + (xpos >> 1) + 8; in GetPredOutside()
297 GetPredAdvBTable[ypos&1][xpos&1](ptr, pred_block, 16, (pred_width << 1) | rnd1); in GetPredOutside()
322 ptr = pred + 8 + (xpos >> 1); in GetPredOutside()
324 GetPredAdvBTable[ypos&1][xpos&1](ptr, pred_block, 16, (pred_width << 1) | rnd1); in GetPredOutside()
350 ptr = pred + 8 + (((ypos >> 1) - (height - 8)) << 4) + (xpos >> 1); in GetPredOutside()
352 GetPredAdvBTable[ypos&1][xpos&1](ptr, pred_block, 16, (pred_width << 1) | rnd1); in GetPredOutside()
[all …]
Dmb_motion_comp.cpp136 int ypos, xpos; in MBMotionComp() local
180 xpos = video->mbnum_col << 4 ; in MBMotionComp()
185 offset = (int32)ypos * width + xpos; in MBMotionComp()
192 imv = (offset >> 6) - (xpos >> 6) + (xpos >> 3); in MBMotionComp()
256 xpred = (int)((xpos << 1) + px[0]); in MBMotionComp()
292 xpred = (int)(((xpos + B_SIZE) << 1) + px[1]); in MBMotionComp()
328 xpred = (int)((xpos << 1) + px[2]); in MBMotionComp()
365 xpred = (int)(((xpos + B_SIZE) << 1) + px[3]); in MBMotionComp()
413 ((imv + (xpos >> 3)) >> 2); in MBMotionComp()
429 ((imv + (xpos >> 3)) >> 2); in MBMotionComp()
[all …]
Dconceal.cpp148 int xpos, ypos, MB_in_width; in CopyVopMB() local
153 xpos = mbnum - ypos * MB_in_width; in CopyVopMB()
154 lumstart = (ypos << 4) * (int32)width_Y + (xpos << 4); in CopyVopMB()
155 chrstart = (ypos << 3) * (int32)width_C + (xpos << 3); in CopyVopMB()
Dmp4dec_lib.h157 int xpos, /* i */
207 int xpos,
248 int xpos,
/frameworks/base/core/java/android/gesture/
DGestureUtils.java137 float xpos; in spatialSampling() local
163 xpos = (float) Math.ceil(segmentStartX); in spatialSampling()
166 while (xpos < segmentEndX) { in spatialSampling()
167 ypos = slope * (xpos - segmentStartX) + segmentStartY; in spatialSampling()
168 plot(xpos, ypos, sample, bitmapSize); in spatialSampling()
169 xpos++; in spatialSampling()
172 xpos = (float) Math.ceil(segmentEndX); in spatialSampling()
175 while (xpos < segmentStartX) { in spatialSampling()
176 ypos = slope * (xpos - segmentStartX) + segmentStartY; in spatialSampling()
177 plot(xpos, ypos, sample, bitmapSize); in spatialSampling()
[all …]
/frameworks/av/cmds/screenrecord/
DTextRenderer.cpp254 float xpos, float ypos, const String8& str) { in drawWrappedString() argument
255 ALOGV("drawWrappedString %.3f,%.3f '%s'", xpos, ypos, str.string()); in drawWrappedString()
265 if (xpos < mBorderWidth) { in drawWrappedString()
266 xpos = mBorderWidth; in drawWrappedString()
272 const size_t maxWidth = (mScreenWidth - mBorderWidth) - xpos; in drawWrappedString()
275 xpos, mBorderWidth, mScreenWidth); in drawWrappedString()
281 drawString(texRender, Program::kIdentity, xpos, ypos, str); in drawWrappedString()
289 float xposAdj = (start == mangle) ? xpos : xpos + indentWidth; in drawWrappedString()
DOverlay.cpp358 float xpos = 0; in doDrawInfoPage() local
360 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, in doDrawInfoPage()
372 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, header); in doDrawInfoPage()
384 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, str); in doDrawInfoPage()
395 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, glStr); in doDrawInfoPage()
DTextRenderer.h78 float drawWrappedString(const Program& texRender, float xpos, float ypos,
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dmotion_comp.cpp37 Int EncGetPredOutside(Int xpos, Int ypos, UChar *c_prev, UChar *rec,
104 Int ypos, xpos; in getMotionCompensatedMB() local
124 xpos = ind_x << 4 ; in getMotionCompensatedMB()
138 xpred = (xpos << 1) + dx ; in getMotionCompensatedMB()
151 xpred = xpos + dx; in getMotionCompensatedMB()
167 EncPrediction_INTER4V(xpos, ypos, mot, c_prev, c_rec, in getMotionCompensatedMB()
179 xpred = xpos + dx; in getMotionCompensatedMB()
240 Int xpos, /* i */ in EncPrediction_INTER4V() argument
251 xpred = (Int)((xpos << 1) + mot[1].x); in EncPrediction_INTER4V()
259 xpred = (Int)(((xpos + B_SIZE) << 1) + mot[2].x); in EncPrediction_INTER4V()
[all …]
Dfindhalfpel.cpp66 Int xpos, Int ypos, Int *xhmin, Int *yhmin, Int hp_guess) in FindHalfPelMB() argument
93 imin = xpos + (mot[0].x >> 1); in FindHalfPelMB()
95 ilow = xpos - range; in FindHalfPelMB()
185 UChar *mode, Int xpos, Int ypos, Int *xhmin, Int *yhmin, UChar *hp_mem) in FindHalfPelBlk() argument
215 imin = xpos + ((comp & 1) << 3) + (mot[comp+1].x >> 1); in FindHalfPelBlk()
217 ilow = xpos + ((comp & 1) << 3) - range; in FindHalfPelBlk()
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/native/include/input/
DVelocityTracker.h215 float xpos, xvel, xaccel; member
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/
DVelocityTracker.cpp744 nsecs_t eventTime, float xpos, float ypos) const { in initState() argument
748 state.xpos = xpos; in initState()
757 nsecs_t eventTime, float xpos, float ypos) const { in updateState() argument
768 float xvel = (xpos - state.xpos) / dt; in updateState()
794 state.xpos = xpos; in updateState()
803 outEstimator->xCoeff[0] = state.xpos; in populateEstimator()
/frameworks/base/libs/hwui/
DSkiaCanvasProxy.h80 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[],
DSkiaCanvasProxy.cpp338 void SkiaCanvasProxy::onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], in onDrawPosTextH() argument
343 pts[i].set(xpos[i], constY); in onDrawPosTextH()
/frameworks/native/services/surfaceflinger/
DTransform.cpp234 int xpos = floorf(tx() + 0.5f); in transform() local
236 out = reg.translate(xpos, ypos); in transform()
/frameworks/base/rs/java/android/renderscript/
DAllocation.java3156 Bitmap xpos, in createCubemapFromCubeFaces() argument
3164 int height = xpos.getHeight(); in createCubemapFromCubeFaces()
3165 if (xpos.getWidth() != height || in createCubemapFromCubeFaces()
3178 Element e = elementFromBitmap(rs, xpos); in createCubemapFromCubeFaces()
3189 adapter.copyFrom(xpos); in createCubemapFromCubeFaces()
3222 Bitmap xpos, in createCubemapFromCubeFaces() argument
3228 return createCubemapFromCubeFaces(rs, xpos, xneg, ypos, yneg, in createCubemapFromCubeFaces()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java1210 int xpos = 0; in onLayout() local
1213 xpos = ((mRight - mLeft) - navWidth) / 2; in onLayout()
1216 xpos = isLayoutRtl ? menuStart : x; in onLayout()
1219 xpos = isLayoutRtl ? x - navWidth : menuStart - navWidth; in onLayout()
1245 customView.layout(xpos, ypos, xpos + customWidth, in onLayout()
DViewPager.java1495 final int xpos = getScrollX();
1496 final float pageOffset = (float) xpos / oldWidthWithMargin;
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dfindhalfpel.cpp42 int xpos, int ypos, int hp_guess, int cmvx, int cmvy) in AVCFindHalfPelMB() argument
61 OSCL_UNUSED_ARG(xpos); in AVCFindHalfPelMB()
Davcenc_lib.h622 int xpos, int ypos, int hp_guess, int cmvx, int cmvy);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DAllocation.java2840 Bitmap xpos, in createCubemapFromCubeFaces() argument
2909 Bitmap xpos, in createCubemapFromCubeFaces() argument
2915 return createCubemapFromCubeFaces(rs, xpos, xneg, ypos, yneg, in createCubemapFromCubeFaces()
/frameworks/base/core/java/android/view/
DWindowManager.java1779 public LayoutParams(int w, int h, int xpos, int ypos, int _type, in LayoutParams() argument
1782 x = xpos; in LayoutParams()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java1648 final int xpos = getScrollX();
1649 final float pageOffset = (float) xpos / oldWidthWithMargin;
1801 private boolean pageScrolled(int xpos) {
1821 final float pageOffset = (((float) xpos / width) - ii.offset) /