Home
last modified time | relevance | path

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

/frameworks/av/media/module/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
174 ypos = video->mbnum_row << 4 ; in MBMotionComp()
181 offset = (int32)ypos * width + xpos; in MBMotionComp()
258 ypred = (int)((ypos << 1) + py[0]); in MBMotionComp()
294 ypred = (int)((ypos << 1) + py[1]); in MBMotionComp()
330 ypred = (int)(((ypos + B_SIZE) << 1) + py[2]); in MBMotionComp()
367 ypred = (int)(((ypos + B_SIZE) << 1) + py[3]); in MBMotionComp()
425 ypred = ypos + dy; in MBMotionComp()
518 int ypos, xpos; in SkippedMBMotionComp() local
527 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 */
177 int ypos,
218 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.c_str()); 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.cpp365 float ypos = 0; in doDrawInfoPage() local
366 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, in doDrawInfoPage()
378 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, header); in doDrawInfoPage()
379 ypos += 8 * textRenderer.getScale(); // slight padding in doDrawInfoPage()
390 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, str); in doDrawInfoPage()
392 ypos += 8 * textRenderer.getScale(); // slight padding in doDrawInfoPage()
401 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/module/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/base/core/java/com/android/internal/widget/
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()
DResolverDrawerLayout.java1068 int ypos = mTopOffset;
1094 int top = ypos + lp.topMargin;
1114 ypos = bottom + lp.bottomMargin;
/frameworks/base/rs/java/android/renderscript/
DAllocation.java3163 Bitmap ypos, in createCubemapFromCubeFaces() argument
3172 ypos.getWidth() != height || ypos.getHeight() != height || in createCubemapFromCubeFaces()
3198 adapter.copyFrom(ypos); in createCubemapFromCubeFaces()
3229 Bitmap ypos, in createCubemapFromCubeFaces() argument
3233 return createCubemapFromCubeFaces(rs, xpos, xneg, ypos, yneg, in createCubemapFromCubeFaces()
/frameworks/native/libs/ui/
DTransform.cpp315 int ypos = static_cast<int>(floorf(ty() + 0.5f)); in transform() local
316 out = reg.translate(xpos, ypos); in transform()
/frameworks/rs/support/java/src/androidx/renderscript/
DAllocation.java2847 Bitmap ypos, in createCubemapFromCubeFaces() argument
2916 Bitmap ypos, in createCubemapFromCubeFaces() argument
2920 return createCubemapFromCubeFaces(rs, xpos, xneg, ypos, yneg, in createCubemapFromCubeFaces()
/frameworks/base/core/java/android/view/
DWindowManager.java4838 public LayoutParams(int w, int h, int xpos, int ypos, int _type, in LayoutParams() argument
4842 y = ypos; in LayoutParams()