Home
last modified time | relevance | path

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

/frameworks/base/media/libstagefright/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.cpp136 int ypos, xpos; in MBMotionComp() local
178 ypos = video->mbnum_row << 4 ; in MBMotionComp()
185 offset = (int32)ypos * width + xpos; in MBMotionComp()
257 ypred = (int)((ypos << 1) + py[0]); in MBMotionComp()
293 ypred = (int)((ypos << 1) + py[1]); in MBMotionComp()
329 ypred = (int)(((ypos + B_SIZE) << 1) + py[2]); in MBMotionComp()
366 ypred = (int)(((ypos + B_SIZE) << 1) + py[3]); in MBMotionComp()
461 ypred = ypos + dy; in MBMotionComp()
554 int ypos, xpos; in SkippedMBMotionComp() local
570 ypos = video->mbnum_row << 4 ; in SkippedMBMotionComp()
[all …]
Dconceal.cpp143 int xpos, ypos, MB_in_width; in CopyVopMB() local
147 ypos = PV_GET_ROW(mbnum, MB_in_width); in CopyVopMB()
148 xpos = mbnum - ypos * MB_in_width; in CopyVopMB()
149 lumstart = (ypos << 4) * (int32)width_Y + (xpos << 4); in CopyVopMB()
150 chrstart = (ypos << 3) * (int32)width_C + (xpos << 3); in CopyVopMB()
Dmp4dec_lib.h158 int ypos, /* i */
208 int ypos,
249 int 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/base/media/libstagefright/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/graphics/java/android/renderscript/
DAllocation.java1105 Bitmap ypos, in createCubemapFromCubeFaces() argument
1114 ypos.getWidth() != height || ypos.getHeight() != height || in createCubemapFromCubeFaces()
1140 adapter.copyFrom(ypos); in createCubemapFromCubeFaces()
1171 Bitmap ypos, in createCubemapFromCubeFaces() argument
1175 return createCubemapFromCubeFaces(rs, xpos, xneg, ypos, yneg, in createCubemapFromCubeFaces()
/frameworks/base/services/surfaceflinger/
DTransform.cpp243 int ypos = floorf(ty() + 0.5f); in transform() local
244 out = reg.translate(xpos, ypos); in transform()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java1081 int ypos = 0; in onLayout() local
1086 ypos = ((paddedBottom - paddedTop) - customView.getMeasuredHeight()) / 2; in onLayout()
1089 ypos = getPaddingTop() + topMargin; in onLayout()
1092 ypos = getHeight() - getPaddingBottom() - customView.getMeasuredHeight() in onLayout()
1097 customView.layout(xpos, ypos, xpos + customWidth, in onLayout()
1098 ypos + customView.getMeasuredHeight()); in onLayout()
/frameworks/base/media/libstagefright/codecs/avc/enc/src/
Dfindhalfpel.cpp55 int xpos, int ypos, int hp_guess, int cmvx, int cmvy) in AVCFindHalfPelMB() argument
75 OSCL_UNUSED_ARG(ypos); in AVCFindHalfPelMB()
Davcenc_lib.h622 int xpos, int ypos, int hp_guess, int cmvx, int cmvy);
/frameworks/base/core/java/android/view/
DWindowManager.java1153 public LayoutParams(int w, int h, int xpos, int ypos, int _type, in LayoutParams() argument
1157 y = ypos; in LayoutParams()