Searched refs:xpos (Results 1 - 24 of 24) 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.cpp148 int xpos, ypos, MB_in_width; local
153 xpos = mbnum - ypos * MB_in_width;
154 lumstart = (ypos << 4) * (int32)width_Y + (xpos << 4);
155 chrstart = (ypos << 3) * (int32)width_C + (xpos << 3);
H A Dmp4dec_lib.h157 int xpos, /* i */
207 int xpos,
248 int xpos,
/frameworks/av/cmds/screenrecord/
H A DTextRenderer.cpp254 float xpos, float ypos, const String8& str) {
255 ALOGV("drawWrappedString %.3f,%.3f '%s'", xpos, ypos, str.string());
265 if (xpos < mBorderWidth) {
266 xpos = mBorderWidth;
272 const size_t maxWidth = (mScreenWidth - mBorderWidth) - xpos;
274 ALOGE("Unable to render text: xpos=%.3f border=%.3f width=%u",
275 xpos, mBorderWidth, mScreenWidth);
281 drawString(texRender, Program::kIdentity, xpos, ypos, str);
289 float xposAdj = (start == mangle) ? xpos : xpos
[all...]
H A DTextRenderer.h78 float drawWrappedString(const Program& texRender, float xpos, float ypos,
H A DOverlay.cpp358 float xpos = 0; local
360 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos,
372 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, header);
384 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, str);
395 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, glStr);
/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/native/include/input/
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/native/libs/input/
H A DVelocityTracker.cpp744 nsecs_t eventTime, float xpos, float ypos) const {
748 state.xpos = xpos;
757 nsecs_t eventTime, float xpos, float ypos) const {
768 float xvel = (xpos - state.xpos) / dt;
794 state.xpos = xpos;
803 outEstimator->xCoeff[0] = state.xpos;
743 initState(State& state, nsecs_t eventTime, float xpos, float ypos) const argument
756 updateState(State& state, nsecs_t eventTime, float xpos, float ypos) const argument
/frameworks/base/libs/hwui/
H A DSkiaCanvasProxy.h80 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[],
H A DSkiaCanvasProxy.cpp338 void SkiaCanvasProxy::onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], argument
343 pts[i].set(xpos[i], constY);
/frameworks/native/services/surfaceflinger/
H A DTransform.cpp241 int xpos = floorf(tx() + 0.5f); local
243 out = reg.translate(xpos, ypos);
/frameworks/base/rs/java/android/renderscript/
H A DAllocation.java3143 * @param xpos cubemap face in the positive x direction
3156 Bitmap xpos,
3164 int height = xpos.getHeight();
3165 if (xpos.getWidth() != height ||
3178 Element e = elementFromBitmap(rs, xpos);
3189 adapter.copyFrom(xpos);
3211 * @param xpos cubemap face in the positive x direction
3222 Bitmap xpos,
3228 return createCubemapFromCubeFaces(rs, xpos, xneg, ypos, yneg,
3155 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
3221 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg) argument
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarView.java1210 int xpos = 0;
1213 xpos = ((mRight - mLeft) - navWidth) / 2;
1216 xpos = isLayoutRtl ? menuStart : x;
1219 xpos = isLayoutRtl ? x - navWidth : menuStart - navWidth;
1245 customView.layout(xpos, ypos, xpos + customWidth,
H A DViewPager.java1468 final int xpos = getScrollX();
1469 final float pageOffset = (float) xpos / oldWidthWithMargin;
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dfindhalfpel.cpp42 int xpos, int ypos, int hp_guess, int cmvx, int cmvy)
61 OSCL_UNUSED_ARG(xpos);
41 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/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocation.java2827 * @param xpos cubemap face in the positive x direction
2840 Bitmap xpos,
2849 int height = xpos.getHeight();
2850 if (xpos.getWidth() != height ||
2863 Element e = elementFromBitmap(rs, xpos);
2874 adapter.copyFrom(xpos);
2898 * @param xpos cubemap face in the positive x direction
2909 Bitmap xpos,
2915 return createCubemapFromCubeFaces(rs, xpos, xneg, ypos, yneg,
2839 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
2908 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.java1801 public LayoutParams(int w, int h, int xpos, int ypos, int _type, argument
1804 x = xpos;
/frameworks/support/core-ui/java/android/support/v4/view/
H A DViewPager.java1686 final int xpos = getScrollX();
1687 final float pageOffset = (float) xpos / oldWidthWithMargin;
1841 private boolean pageScrolled(int xpos) { argument
1861 final float pageOffset = (((float) xpos / width) - ii.offset)

Completed in 592 milliseconds