Home
last modified time | relevance | path

Searched refs:ypos (Results 1 – 19 of 19) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dget_pred_outside.cpp243 int ypos, /* i */ in GetPredOutside() argument
267 if (ypos < -16) ypos = -16; in GetPredOutside()
268 if (ypos > ((height - 1) << 1)) ypos = (height - 1) << 1; in GetPredOutside()
272 if (ypos < 0) /* pad top left of frame */ 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()
301 else if ((ypos >> 1) < (height - B_SIZE)) /* pad left of frame */ in GetPredOutside()
305 prev = c_prev + (ypos >> 1) * width; 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()
[all …]
Dmb_motion_comp.cpp140 int ypos, xpos; in MBMotionComp() local
182 ypos = video->mbnum_row << 4 ; in MBMotionComp()
189 offset = (int32)ypos * width + xpos; in MBMotionComp()
266 ypred = (int)((ypos << 1) + py[0]); in MBMotionComp()
302 ypred = (int)((ypos << 1) + py[1]); in MBMotionComp()
338 ypred = (int)(((ypos + B_SIZE) << 1) + py[2]); in MBMotionComp()
375 ypred = (int)(((ypos + B_SIZE) << 1) + py[3]); in MBMotionComp()
470 ypred = ypos + dy; in MBMotionComp()
563 int ypos, xpos; in SkippedMBMotionComp() local
579 ypos = video->mbnum_row << 4 ; in SkippedMBMotionComp()
[all …]
Dconceal.cpp152 int xpos, ypos, MB_in_width; in CopyVopMB() local
156 ypos = PV_GET_ROW(mbnum, MB_in_width); in CopyVopMB()
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.h158 int ypos, /* i */
208 int ypos,
249 int ypos,
/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()
261 return ypos; in drawWrappedString()
268 if (ypos < mBorderWidth) { in drawWrappedString()
269 ypos = mBorderWidth; in drawWrappedString()
276 return ypos; in drawWrappedString()
281 drawString(texRender, Program::kIdentity, xpos, ypos, str); in drawWrappedString()
282 ypos += getScaledGlyphHeight(); in drawWrappedString()
294 drawString(texRender, Program::kIdentity, xposAdj, ypos, in drawWrappedString()
301 drawString(texRender, Program::kIdentity, xposAdj, ypos, in drawWrappedString()
[all …]
DOverlay.cpp362 float ypos = 0; in doDrawInfoPage() local
363 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, in doDrawInfoPage()
375 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, header); in doDrawInfoPage()
376 ypos += 8 * textRenderer.getScale(); // slight padding in doDrawInfoPage()
387 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, str); in doDrawInfoPage()
389 ypos += 8 * textRenderer.getScale(); // slight padding in doDrawInfoPage()
398 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, glStr); in doDrawInfoPage()
DTextRenderer.h78 float drawWrappedString(const Program& texRender, float xpos, float ypos,
/frameworks/base/core/java/android/gesture/
DGestureUtils.java138 float ypos; in spatialSampling() local
167 ypos = slope * (xpos - segmentStartX) + segmentStartY; in spatialSampling()
168 plot(xpos, ypos, sample, bitmapSize); in spatialSampling()
176 ypos = slope * (xpos - segmentStartX) + segmentStartY; in spatialSampling()
177 plot(xpos, ypos, sample, bitmapSize); in spatialSampling()
183 ypos = (float) Math.ceil(segmentStartY); in spatialSampling()
186 while (ypos < segmentEndY) { in spatialSampling()
187 xpos = invertSlope * (ypos - segmentStartY) + segmentStartX; in spatialSampling()
188 plot(xpos, ypos, sample, bitmapSize); in spatialSampling()
189 ypos++; in spatialSampling()
[all …]
/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
123 ypos = ind_y << 4 ; in getMotionCompensatedMB()
139 ypred = (ypos << 1) + dy ; in getMotionCompensatedMB()
152 ypred = ypos + dy; in getMotionCompensatedMB()
167 EncPrediction_INTER4V(xpos, ypos, mot, c_prev, c_rec, in getMotionCompensatedMB()
178 ypred = ypos + dy; in getMotionCompensatedMB()
241 Int ypos, /* i */ in EncPrediction_INTER4V() argument
252 ypred = (Int)((ypos << 1) + mot[1].y); in EncPrediction_INTER4V()
260 ypred = (Int)((ypos << 1) + mot[2].y); in EncPrediction_INTER4V()
[all …]
Dfindhalfpel.cpp66 Int xpos, Int ypos, Int *xhmin, Int *yhmin, Int hp_guess) in FindHalfPelMB() argument
94 jmin = ypos + (mot[0].y >> 1); in FindHalfPelMB()
96 jlow = ypos - range; in FindHalfPelMB()
185 UChar *mode, Int xpos, Int ypos, Int *xhmin, Int *yhmin, UChar *hp_mem) in FindHalfPelBlk() argument
216 jmin = ypos + ((comp & 2) << 2) + (mot[comp+1].y >> 1); in FindHalfPelBlk()
218 jlow = ypos + ((comp & 2) << 2) - 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.h216 float ypos, yvel, yaccel; 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.cpp743 nsecs_t eventTime, float xpos, float ypos) const { in initState()
750 state.ypos = ypos; in initState()
756 nsecs_t eventTime, float xpos, float ypos) const { in updateState()
768 float yvel = (ypos - state.ypos) / dt; in updateState()
794 state.ypos = ypos; in updateState()
805 outEstimator->yCoeff[0] = state.ypos; in populateEstimator()
/frameworks/native/services/surfaceflinger/
DTransform.cpp242 int ypos = floorf(ty() + 0.5f); in transform() local
243 out = reg.translate(xpos, ypos); in transform()
/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java808 int ypos = mTopOffset;
824 int top = ypos + lp.topMargin;
837 ypos = bottom + lp.bottomMargin;
DActionBarView.java1229 int ypos = 0; in onLayout() local
1234 ypos = ((paddedBottom - paddedTop) - customView.getMeasuredHeight()) / 2; in onLayout()
1237 ypos = getPaddingTop() + topMargin; in onLayout()
1240 ypos = getHeight() - getPaddingBottom() - customView.getMeasuredHeight() in onLayout()
1245 customView.layout(xpos, ypos, xpos + customWidth, in onLayout()
1246 ypos + customView.getMeasuredHeight()); in onLayout()
/frameworks/base/rs/java/android/renderscript/
DAllocation.java3159 Bitmap ypos, in createCubemapFromCubeFaces() argument
3168 ypos.getWidth() != height || ypos.getHeight() != height || in createCubemapFromCubeFaces()
3194 adapter.copyFrom(ypos); in createCubemapFromCubeFaces()
3225 Bitmap ypos, in createCubemapFromCubeFaces() argument
3229 return createCubemapFromCubeFaces(rs, xpos, xneg, ypos, yneg, in createCubemapFromCubeFaces()
/frameworks/rs/support/java/src/android/support/v8/renderscript/
DAllocation.java2842 Bitmap ypos, in createCubemapFromCubeFaces() argument
2911 Bitmap ypos, in createCubemapFromCubeFaces() argument
2915 return createCubemapFromCubeFaces(rs, xpos, xneg, ypos, yneg, in createCubemapFromCubeFaces()
/frameworks/base/core/java/android/view/
DWindowManager.java2014 public LayoutParams(int w, int h, int xpos, int ypos, int _type, in LayoutParams() argument
2018 y = ypos; in LayoutParams()