Searched refs:xpos (Results 1 - 18 of 18) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dget_pred_outside.cpp23 xpos = x half-pixel of (x,y) coordinates within a VOP; motion
78 is outside, i.e., left, right, top, bottom. xpos is compared to the left and
242 int xpos, /* i */
264 /* saturate xpos and ypos */
265 if (xpos < -16) xpos = -16;
266 if (xpos > ((width - 1) << 1)) xpos = (width - 1) << 1;
270 if (xpos < 0)
295 ptr = pred + (((ypos >> 1) + 8) << 4) + (xpos >>
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 Dmb_motion_comp.cpp136 int ypos, xpos; local
180 xpos = video->mbnum_col << 4 ;
185 offset = (int32)ypos * width + xpos;
191 /* imv = (xpos/8) + ((ypos/8) * mvwidth) */
192 imv = (offset >> 6) - (xpos >> 6) + (xpos >> 3);
250 /* luminance_pred_mode_inter4v(xpos, ypos, px, py, c_prev,
256 xpred = (int)((xpos << 1) + px[0]);
292 xpred = (int)(((xpos + B_SIZE) << 1) + px[1]);
328 xpred = (int)((xpos <<
554 int ypos, xpos; local
[all...]
H A Dconceal.cpp143 int xpos, ypos, MB_in_width; local
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 Dmp4dec_lib.h157 int xpos, /* i */
207 int xpos,
248 int xpos,
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfindhalfpel.cpp66 Int xpos, Int ypos, Int *xhmin, Int *yhmin, Int hp_guess)
93 imin = xpos + (mot[0].x >> 1);
95 ilow = xpos - range;
185 UChar *mode, Int xpos, Int ypos, Int *xhmin, Int *yhmin, UChar *hp_mem)
215 imin = xpos + ((comp & 1) << 3) + (mot[comp+1].x >> 1);
217 ilow = xpos + ((comp & 1) << 3) - 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
124 xpos = ind_x << 4 ;
138 xpred = (xpos << 1) + dx ;
151 xpred = xpos + dx;
167 EncPrediction_INTER4V(xpos, ypos, mot, c_prev, c_rec,
179 xpred = xpos + dx;
240 Int xpos, /* i */
251 xpred = (Int)((xpos << 1) + mot[1].x);
259 xpred = (Int)(((xpos
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.java137 float xpos;
163 xpos = (float) Math.ceil(segmentStartX);
166 while (xpos < segmentEndX) {
167 ypos = slope * (xpos - segmentStartX) + segmentStartY;
168 plot(xpos, ypos, sample, bitmapSize);
169 xpos++;
172 xpos = (float) Math.ceil(segmentEndX);
175 while (xpos < segmentStartX) {
176 ypos = slope * (xpos - segmentStartX) + segmentStartY;
177 plot(xpos, ypo
[all...]
/frameworks/base/include/androidfw/
H A DVelocityTracker.h215 float xpos, xvel, xaccel; 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/base/libs/androidfw/
H A DVelocityTracker.cpp742 nsecs_t eventTime, float xpos, float ypos) const {
746 state.xpos = xpos;
755 nsecs_t eventTime, float xpos, float ypos) const {
766 float xvel = (xpos - state.xpos) / dt;
792 state.xpos = xpos;
801 outEstimator->xCoeff[0] = state.xpos;
741 initState(State& state, nsecs_t eventTime, float xpos, float ypos) const argument
754 updateState(State& state, nsecs_t eventTime, float xpos, float ypos) const argument
/frameworks/base/graphics/java/android/renderscript/
H A DAllocation.java1292 * @param xpos cubemap face in the positive x direction
1305 Bitmap xpos,
1313 int height = xpos.getHeight();
1314 if (xpos.getWidth() != height ||
1327 Element e = elementFromBitmap(rs, xpos);
1338 adapter.copyFrom(xpos);
1360 * @param xpos cubemap face in the positive x direction
1371 Bitmap xpos,
1377 return createCubemapFromCubeFaces(rs, xpos, xneg, ypos, yneg,
1304 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
1370 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg) argument
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DAllocation.java1127 * @param xpos cubemap face in the positive x direction
1140 Bitmap xpos,
1148 int height = xpos.getHeight();
1149 if (xpos.getWidth() != height ||
1162 Element e = elementFromBitmap(rs, xpos);
1173 adapter.copyFrom(xpos);
1195 * @param xpos cubemap face in the positive x direction
1206 Bitmap xpos,
1212 return createCubemapFromCubeFaces(rs, xpos, xneg, ypos, yneg,
1139 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
1205 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg) argument
/frameworks/native/services/surfaceflinger/
H A DTransform.cpp241 int xpos = floorf(tx() + 0.5f); local
243 out = reg.translate(xpos, ypos);
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarView.java1140 int xpos = 0;
1143 xpos = ((mRight - mLeft) - navWidth) / 2;
1146 xpos = isLayoutRtl ? menuStart : x;
1149 xpos = isLayoutRtl ? x - navWidth : menuStart - navWidth;
1175 customView.layout(xpos, ypos, xpos + customWidth,
1177 homeSlop = Math.min(homeSlop, Math.max(xpos - homeRight, 0));
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dfindhalfpel.cpp55 int xpos, int ypos, int hp_guess, int cmvx, int cmvy)
74 OSCL_UNUSED_ARG(xpos);
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.h615 \param "xpos" "The current MB position in x."
622 int xpos, int ypos, int hp_guess, int cmvx, int cmvy);
/frameworks/base/core/java/android/view/
H A DWindowManager.java1314 public LayoutParams(int w, int h, int xpos, int ypos, int _type, argument
1317 x = xpos;
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java1401 final int xpos = getScrollX();
1402 final float pageOffset = (float) xpos / oldWidthWithMargin;
1557 private boolean pageScrolled(int xpos) { argument
1572 final float pageOffset = (((float) xpos / width) - ii.offset) /

Completed in 205 milliseconds