Searched refs:ypos (Results 1 - 22 of 22) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dget_pred_outside.cpp25 ypos = y half-pixel of (x,y) coordinates within a VOP; motion
79 right boundaries; ypos is compared to the top and bottom boundaries. The number
243 int ypos, /* i */
264 /* saturate xpos and ypos */
267 if (ypos < -16) ypos = -16;
268 if (ypos > ((height - 1) << 1)) ypos = (height - 1) << 1;
272 if (ypos < 0) /* pad top left of frame */
295 ptr = pred + (((ypos >>
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 Dconceal.cpp143 int xpos, ypos, MB_in_width; local
147 ypos = PV_GET_ROW(mbnum, MB_in_width);
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 Dmb_motion_comp.cpp136 int ypos, xpos; local
178 ypos = video->mbnum_row << 4 ;
184 /* ypos*width -> row, +x -> column */
185 offset = (int32)ypos * width + xpos;
191 /* imv = (xpos/8) + ((ypos/8) * mvwidth) */
250 /* luminance_pred_mode_inter4v(xpos, ypos, px, py, c_prev,
257 ypred = (int)((ypos << 1) + py[0]);
293 ypred = (int)((ypos << 1) + py[1]);
329 ypred = (int)(((ypos + B_SIZE) << 1) + py[2]);
366 ypred = (int)(((ypos
554 int ypos, xpos; local
[all...]
H A Dmp4dec_lib.h158 int ypos, /* i */
208 int ypos,
249 int ypos,
/frameworks/av/cmds/screenrecord/
H A DTextRenderer.cpp252 float xpos, float ypos, const String8& str) {
253 ALOGV("drawWrappedString %.3f,%.3f '%s'", xpos, ypos, str.string());
259 return ypos;
266 if (ypos < mBorderWidth) {
267 ypos = mBorderWidth;
274 return ypos;
279 drawString(texRender, Program::kIdentity, xpos, ypos, str);
280 ypos += getScaledGlyphHeight();
292 drawString(texRender, Program::kIdentity, xposAdj, ypos,
299 drawString(texRender, Program::kIdentity, xposAdj, ypos,
[all...]
H A DOverlay.cpp359 float ypos = 0; local
360 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos,
372 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, header);
373 ypos += 8 * textRenderer.getScale(); // slight padding
384 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, str);
386 ypos += 8 * textRenderer.getScale(); // slight padding
395 ypos
[all...]
H A DTextRenderer.h78 float drawWrappedString(const Program& texRender, float xpos, float ypos,
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfindhalfpel.cpp66 Int xpos, Int ypos, Int *xhmin, Int *yhmin, Int hp_guess)
94 jmin = ypos + (mot[0].y >> 1);
96 jlow = ypos - range;
185 UChar *mode, Int xpos, Int ypos, Int *xhmin, Int *yhmin, UChar *hp_mem)
216 jmin = ypos + ((comp & 2) << 2) + (mot[comp+1].y >> 1);
218 jlow = ypos + ((comp & 2) << 2) - 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
123 ypos = ind_y << 4 ;
139 ypred = (ypos << 1) + dy ;
152 ypred = ypos + dy;
167 EncPrediction_INTER4V(xpos, ypos, mot, c_prev, c_rec,
178 ypred = ypos + dy;
241 Int ypos, /* i */
252 ypred = (Int)((ypos << 1) + mot[1].y);
260 ypred = (Int)((ypos <<
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.java138 float ypos;
167 ypos = slope * (xpos - segmentStartX) + segmentStartY;
168 plot(xpos, ypos, sample, bitmapSize);
176 ypos = slope * (xpos - segmentStartX) + segmentStartY;
177 plot(xpos, ypos, sample, bitmapSize);
183 ypos = (float) Math.ceil(segmentStartY);
186 while (ypos < segmentEndY) {
187 xpos = invertSlope * (ypos - segmentStartY) + segmentStartX;
188 plot(xpos, ypos, sample, bitmapSize);
189 ypos
[all...]
/frameworks/native/include/input/
H A DVelocityTracker.h216 float ypos, yvel, yaccel; 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 {
748 state.ypos = ypos;
754 nsecs_t eventTime, float xpos, float ypos) const {
766 float yvel = (ypos - state.ypos) / dt;
792 state.ypos = ypos;
803 outEstimator->yCoeff[0] = state.ypos;
/frameworks/base/rs/java/android/renderscript/
H A DAllocation.java1679 * @param ypos cubemap face in the positive y direction
1692 Bitmap ypos,
1701 ypos.getWidth() != height || ypos.getHeight() != height ||
1727 adapter.copyFrom(ypos);
1747 * @param ypos cubemap face in the positive y direction
1758 Bitmap ypos,
1762 return createCubemapFromCubeFaces(rs, xpos, xneg, ypos, yneg,
1689 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
1755 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg) argument
/frameworks/native/services/surfaceflinger/
H A DTransform.cpp239 int ypos = floorf(ty() + 0.5f); local
240 out = reg.translate(xpos, ypos);
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarView.java1236 int ypos = 0;
1241 ypos = ((paddedBottom - paddedTop) - customView.getMeasuredHeight()) / 2;
1244 ypos = getPaddingTop() + topMargin;
1247 ypos = getHeight() - getPaddingBottom() - customView.getMeasuredHeight()
1252 customView.layout(xpos, ypos, xpos + customWidth,
1253 ypos + customView.getMeasuredHeight());
H A DResolverDrawerLayout.java692 int ypos = mTopOffset;
705 int top = ypos + lp.topMargin;
718 ypos = bottom + lp.bottomMargin;
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dfindhalfpel.cpp55 int xpos, int ypos, int hp_guess, int cmvx, int cmvy)
75 OSCL_UNUSED_ARG(ypos);
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.h616 \param "ypos" "The current MB position in y."
622 int xpos, int ypos, int hp_guess, int cmvx, int cmvy);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocationThunker.java445 Bitmap ypos,
455 rst.mN, xpos, xneg, ypos, yneg, zpos, zneg,
442 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
H A DAllocation.java1473 * @param ypos cubemap face in the positive y direction
1486 Bitmap ypos,
1496 ypos.getWidth() != height || ypos.getHeight() != height ||
1522 adapter.copyFrom(ypos);
1544 * @param ypos cubemap face in the positive y direction
1555 Bitmap ypos,
1559 return createCubemapFromCubeFaces(rs, xpos, xneg, ypos, yneg,
1483 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
1552 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg) argument
/frameworks/base/core/java/android/view/
H A DWindowManager.java1573 public LayoutParams(int w, int h, int xpos, int ypos, int _type, argument
1577 y = ypos;

Completed in 417 milliseconds