Searched refs:ypos (Results 1 - 20 of 20) 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/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/graphics/java/android/renderscript/
H A DAllocation.java1670 * @param ypos cubemap face in the positive y direction
1683 Bitmap ypos,
1692 ypos.getWidth() != height || ypos.getHeight() != height ||
1718 adapter.copyFrom(ypos);
1738 * @param ypos cubemap face in the positive y direction
1749 Bitmap ypos,
1753 return createCubemapFromCubeFaces(rs, xpos, xneg, ypos, yneg,
1680 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
1746 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/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocationThunker.java262 Bitmap ypos,
271 rst.mN, xpos, xneg, ypos, yneg, zpos, zneg,
259 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
H A DAllocation.java1468 * @param ypos cubemap face in the positive y direction
1481 Bitmap ypos,
1491 ypos.getWidth() != height || ypos.getHeight() != height ||
1517 adapter.copyFrom(ypos);
1539 * @param ypos cubemap face in the positive y direction
1550 Bitmap ypos,
1554 return createCubemapFromCubeFaces(rs, xpos, xneg, ypos, yneg,
1478 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
1547 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg) argument
/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.cpp754 float ypos = yo; local
756 outPos->add(ypos);
761 outBounds->join(xpos + metrics.fLeft, ypos + metrics.fTop,
762 xpos + metrics.fLeft + metrics.fWidth, ypos + metrics.fTop + metrics.fHeight);
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarView.java1258 int ypos = 0;
1263 ypos = ((paddedBottom - paddedTop) - customView.getMeasuredHeight()) / 2;
1266 ypos = getPaddingTop() + topMargin;
1269 ypos = getHeight() - getPaddingBottom() - customView.getMeasuredHeight()
1274 customView.layout(xpos, ypos, xpos + customWidth,
1275 ypos + customView.getMeasuredHeight());
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActionBarView.java1128 int ypos = 0;
1133 ypos = ((paddedBottom - paddedTop) - customView.getMeasuredHeight()) / 2;
1136 ypos = getPaddingTop() + topMargin;
1139 ypos = getHeight() - getPaddingBottom() - customView.getMeasuredHeight()
1144 customView.layout(xpos, ypos, xpos + customWidth,
1145 ypos + customView.getMeasuredHeight());
/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/base/core/java/android/view/
H A DWindowManager.java1502 public LayoutParams(int w, int h, int xpos, int ypos, int _type, argument
1506 y = ypos;

Completed in 595 milliseconds