Home
last modified time | relevance | path

Searched refs:xpos (Results 1 – 19 of 19) 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.cpp140 int ypos, xpos; in MBMotionComp() local
176 xpos = video->mbnum_col << 4 ; in MBMotionComp()
181 offset = (int32)ypos * width + xpos; in MBMotionComp()
188 imv = (offset >> 6) - (xpos >> 6) + (xpos >> 3); in MBMotionComp()
257 xpred = (int)((xpos << 1) + px[0]); in MBMotionComp()
293 xpred = (int)(((xpos + B_SIZE) << 1) + px[1]); in MBMotionComp()
329 xpred = (int)((xpos << 1) + px[2]); in MBMotionComp()
366 xpred = (int)(((xpos + B_SIZE) << 1) + px[3]); in MBMotionComp()
420 xpred = xpos + dx; in MBMotionComp()
427 cu_comp = video->currVop->uChan + (offset >> 2) + (xpos >> 2); in MBMotionComp()
[all …]
Dconceal.cpp152 int xpos, ypos, MB_in_width; in CopyVopMB() local
157 xpos = mbnum - ypos * MB_in_width; in CopyVopMB()
158 lumstart = (ypos << 4) * (int32)width_Y + (xpos << 4); in CopyVopMB()
159 chrstart = (ypos << 3) * (int32)width_C + (xpos << 3); in CopyVopMB()
Dmp4dec_lib.h157 int xpos, /* i */
176 int xpos,
217 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.cpp361 float xpos = 0; in doDrawInfoPage() local
363 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, in doDrawInfoPage()
375 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, header); in doDrawInfoPage()
387 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, str); in doDrawInfoPage()
398 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.cpp826 nsecs_t eventTime, float xpos, float ypos) const { in initState() argument
830 state.xpos = xpos; in initState()
839 nsecs_t eventTime, float xpos, float ypos) const { in updateState() argument
850 float xvel = (xpos - state.xpos) / dt; in updateState()
876 state.xpos = xpos; in updateState()
885 outEstimator->xCoeff[0] = state.xpos; in populateEstimator()
/frameworks/base/rs/java/android/renderscript/
DAllocation.java3157 Bitmap xpos, in createCubemapFromCubeFaces() argument
3165 int height = xpos.getHeight(); in createCubemapFromCubeFaces()
3166 if (xpos.getWidth() != height || in createCubemapFromCubeFaces()
3179 Element e = elementFromBitmap(rs, xpos); in createCubemapFromCubeFaces()
3190 adapter.copyFrom(xpos); in createCubemapFromCubeFaces()
3223 Bitmap xpos, in createCubemapFromCubeFaces() argument
3229 return createCubemapFromCubeFaces(rs, xpos, xneg, ypos, yneg, in createCubemapFromCubeFaces()
/frameworks/native/libs/ui/
DTransform.cpp271 int xpos = static_cast<int>(floorf(tx() + 0.5f)); in transform() local
273 out = reg.translate(xpos, ypos); in transform()
/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.java1476 final int xpos = getScrollX();
1477 final float pageOffset = (float) xpos / oldWidthWithMargin;
/frameworks/rs/support/java/src/androidx/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.java2656 public LayoutParams(int w, int h, int xpos, int ypos, int _type, in LayoutParams() argument
2659 x = xpos; in LayoutParams()