Searched defs:dx (Results 1 - 25 of 132) sorted by path

123456

/frameworks/av/media/libeffects/loudness/dsp/core/
H A Dinterpolator_linear.h67 T dx = x - x_data_[cached_index_]; local
68 return y_data_[cached_index_] + (dY * dx) / dX;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmb_motion_comp.cpp150 /* Motion vector (dx,dy) in half-pel resolution */
151 int dx, dy; local
199 dx = px[0] = px[1] = px[2] = px[3] = video->motX[imv];
201 if ((dx & 3) == 0)
203 dx = dx >> 1;
208 dx = (dx >> 1) | 1;
230 dx = PV_SIGN(xsum) * (roundtab16[(PV_ABS(xsum)) & 0xF] +
425 video->pstprcTypPrv, dx, d
[all...]
H A Dpp_semaphore_chroma_inter.cpp29 dx = horizontal component of the motion vector (int)
116 int dx, /* i */
188 if (((dx&0xF) != 0) && (mmvx + 1 < (mvwidth >> 1) - 1))
189 { /* dx is not a multiple of 16 */
199 { /* dx is a multiple of 16 */
111 pp_semaphore_chroma_inter( int xpred, int ypred, uint8 *pp_dec_u, uint8 *pstprcTypPrv, int dx, int dy, int mvwidth, int height, int32 size, int mv_loc, uint8 msk_deblock ) argument
H A Dpp_semaphore_luma.cpp33 dx = horizontal component of the motion vector (int)
119 int dx, /* i */
165 if ((dx&0xF) != 0)
166 { /* dx is not a multiple of 16 */
190 { /* dx is a multiple of 16 */
289 if (((dx&0xF) != 0) && (mmvx + 1 < mvwidth - 1))
290 { /* dx is not a multiple of 16 and the block */
324 { /* dx is a multiple of 16 or the block x */
112 pp_semaphore_luma( int xpred, int ypred, uint8 *pp_dec_y, uint8 *pstprcTypPrv, int *ll, int *mv_loc, int dx, int dy, int mvwidth, int width, int height ) argument
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmotion_comp.cpp109 Int dx, dy; local
133 dx = mot[0].x;
138 xpred = (xpos << 1) + dx ;
145 if ((dx & 3) == 0) dx = dx >> 1;
146 else dx = (dx >> 1) | 1;
151 xpred = xpos + dx;
173 dx
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/api/
H A DomxVC.h47 OMX_S16 dx; member in struct:__anon626
2585 * dx - Fractional part of horizontal motion vector component in 1/4 pixel
2605 * dx or dy is out of range [0,3].
2617 OMX_S32 dx,
2636 * dx -Fractional part of horizontal motion vector component in 1/8 pixel
2656 * dx or dy is out of range [0-7].
2669 OMX_S32 dx,
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
H A DarmVCM4P10_Interpolate_Chroma_s.s43 dx RN 6 label
119 M_LDR dx, Dx
122 ;// EightMinusdx = 8 - dx
126 ;// BCoeff = dx * EightMinusdy
128 ;// DCoeff = dx * dy
132 RSB EightMinusdx, dx, #8
134 CMN dx,dy
135 ADD dxEightMinusdx, EightMinusdx, dx, LSL #16
144 ;// Checking either of dx and dy being non-zero
H A DomxVCM4P10_InterpolateChroma.c51 * [in] dx Fractional part of horizontal motion vector component
67 * dx or dy is out of range [0-7].
81 OMX_S32 dx,
87 ((OMX_U8*)pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy);
76 omxVCM4P10_InterpolateChroma( const OMX_U8* pSrc, OMX_S32 srcStep, OMX_U8* pDst, OMX_S32 dstStep, OMX_S32 dx, OMX_S32 dy, OMXSize roi ) argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/api/
H A DomxVC.h47 OMX_S16 dx; member in struct:__anon670
2585 * dx - Fractional part of horizontal motion vector component in 1/4 pixel
2605 * dx or dy is out of range [0,3].
2617 OMX_S32 dx,
2636 * dx -Fractional part of horizontal motion vector component in 1/8 pixel
2656 * dx or dy is out of range [0-7].
2669 OMX_S32 dx,
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/
H A DarmVCM4P10_Interpolate_Chroma_s.s57 dx RN 6 label
147 M_LDRD dx, dy, Dx
150 ;// EightMinusdx = 8 - dx
154 ;// BCoeff = dx * EightMinusdy
156 ;// DCoeff = dx * dy
158 RSB EightMinusdx, dx, #8
160 CMN dx,dy
169 SMULBB BCoeff, dx, EightMinusdy
172 SMULBB DCoeff, dx, dy
H A DomxVCM4P10_InterpolateChroma.c51 * [in] dx Fractional part of horizontal motion vector component
67 * dx or dy is out of range [0-7].
81 OMX_S32 dx,
87 ((OMX_U8*)pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy);
76 omxVCM4P10_InterpolateChroma( const OMX_U8* pSrc, OMX_S32 srcStep, OMX_U8* pDst, OMX_S32 dstStep, OMX_S32 dx, OMX_S32 dy, OMXSize roi ) argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/api/
H A DomxVC.h47 OMX_S16 dx; member in struct:__anon714
2585 * dx - Fractional part of horizontal motion vector component in 1/4 pixel
2605 * dx or dy is out of range [0,3].
2617 OMX_S32 dx,
2636 * dx -Fractional part of horizontal motion vector component in 1/8 pixel
2656 * dx or dy is out of range [0-7].
2669 OMX_S32 dx,
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DarmVCM4P10_Interpolate_Chroma.c50 * [in] dx Fractional part of horizontal motion vector
67 OMX_U32 dx,
71 OMX_U32 EightMinusdx = 8 - dx;
79 armRetArgErrIf(dx > 7, OMX_Sts_BadArgErr)
87 if (dx != 0 || dy != 0)
90 BCoeff = dx * EightMinusdy;
92 DCoeff = dx * dy;
60 armVCM4P10_Interpolate_Chroma( OMX_U8 *pSrc, OMX_U32 iSrcStep, OMX_U8 *pDst, OMX_U32 iDstStep, OMX_U32 iWidth, OMX_U32 iHeight, OMX_U32 dx, OMX_U32 dy ) argument
H A DarmVCM4P10_Interpolate_Luma.c93 * [in] dx Fractional part of horizontal motion vector
111 OMX_U32 dx,
122 armRetArgErrIf(dx > 3, OMX_Sts_BadArgErr)
126 if (dx == 3)
138 if (dx == 0 && dy == 0)
149 if (dx == 1 || dx == 3)
155 else if (dx == 0)
167 else if (dx == 2 || dy == 2)
173 if (dx
104 armVCM4P10_Interpolate_Luma( const OMX_U8 *pSrc, OMX_U32 iSrcStep, OMX_U8 *pDst, OMX_U32 iDstStep, OMX_U32 iWidth, OMX_U32 iHeight, OMX_U32 dx, OMX_U32 dy ) argument
[all...]
H A DomxVCM4P10_InterpolateChroma.c51 * dx -Fractional part of horizontal motion vector component in 1/8 pixel
70 * dx or dy is out of range [0-7].
84 OMX_S32 dx,
94 armRetArgErrIf(dx < 0, OMX_Sts_BadArgErr)
95 armRetArgErrIf(dx > 7, OMX_Sts_BadArgErr)
107 ((OMX_U8*)pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy);
79 omxVCM4P10_InterpolateChroma( const OMX_U8* pSrc, OMX_S32 srcStep, OMX_U8* pDst, OMX_S32 dstStep, OMX_S32 dx, OMX_S32 dy, OMXSize roi ) argument
H A DomxVCM4P10_InterpolateLuma.c51 * dx -Fractional part of horizontal motion vector component in 1/4 pixel
70 * dx or dy is out of range [0,3].
83 OMX_S32 dx,
93 armRetArgErrIf(dx < 0, OMX_Sts_BadArgErr)
94 armRetArgErrIf(dx > 3, OMX_Sts_BadArgErr)
106 (pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy);
78 omxVCM4P10_InterpolateLuma( const OMX_U8* pSrc, OMX_S32 srcStep, OMX_U8* pDst, OMX_S32 dstStep, OMX_S32 dx, OMX_S32 dy, OMXSize roi ) argument
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java262 * @param dx change in x coordinate due to move
265 private void sendMove(int inputSource, float dx, float dy) { argument
267 injectMotionEvent(inputSource, MotionEvent.ACTION_MOVE, now, dx, dy, 0.0f);
339 System.err.println(" roll <dx> <dy> (Default: trackball)");
/frameworks/base/core/java/android/gesture/
H A DGestureUtils.java380 float dx = points[i + 2] - points[i];
382 sum += Math.hypot(dx, dy);
389 float dx = points[2] - points[0];
391 return (float) Math.hypot(dx, dy) / totalLen;
395 float dx = points[2] - points[0];
397 return (float) Math.hypot(dx, dy) / totalLen;
576 static float[] translate(float[] points, float dx, float dy) { argument
579 points[i] += dx;
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java2133 int dx = 0, dy = 0;
2136 dx = -count;
2139 dx = count;
2148 onExtractedCursorMovement(dx, dy);
2379 * @param dx The amount of cursor movement in the x dimension.
2382 public void onExtractedCursorMovement(int dx, int dy) { argument
/frameworks/base/core/java/android/view/
H A DView.java14975 * @param globalOffset If true is returned, globalOffset holds the dx,dy
23484 * @param dx Horizontal scroll distance in pixels
23486 * @param consumed Output. If not null, consumed[0] will contain the consumed component of dx
23495 public boolean dispatchNestedPreScroll(int dx, int dy, argument
23498 if (dx != 0 || dy != 0) {
23515 mNestedScrollingParent.onNestedPreScroll(this, dx, dy, consumed);
H A DViewGroup.java3838 private static void drawCorner(Canvas c, Paint paint, int x1, int y1, int dx, int dy, int lw) { argument
3839 fillRect(c, paint, x1, y1, x1 + dx, y1 + lw * sign(dy));
3840 fillRect(c, paint, x1, y1, x1 + lw * sign(dx), y1 + dy);
5992 final int dx = child.mLeft - mScrollX;
5995 rect.offset(dx, dy);
6007 offset.x += dx;
7310 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument
7312 dispatchNestedPreScroll(dx, dy, consumed, null);
H A DViewParent.java590 * report how any pixels of the scroll reported by dx, dy were consumed in the
591 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy.
596 * @param dx Horizontal scroll distance in pixels
600 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed); argument
H A DViewRootImpl.java7339 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument
/frameworks/base/core/java/android/widget/
H A DHorizontalScrollView.java1192 * @param dx the number of pixels to scroll by on the X axis
1195 public final void smoothScrollBy(int dx, int dy) { argument
1206 dx = Math.max(0, Math.min(scrollX + dx, maxX)) - scrollX;
1208 mScroller.startScroll(scrollX, mScrollY, dx, 0);
1214 scrollBy(dx, dy);
H A DOverScroller.java352 * @param dx Horizontal distance to travel. Positive numbers will scroll the
357 public void startScroll(int startX, int startY, int dx, int dy) { argument
358 startScroll(startX, startY, dx, dy, DEFAULT_DURATION);
368 * @param dx Horizontal distance to travel. Positive numbers will scroll the
374 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument
376 mScrollerX.startScroll(startX, dx, duration);
534 final int dx = mScrollerX.mFinal - mScrollerX.mStart;
536 return !isFinished() && Math.signum(xvel) == Math.signum(dx) &&

Completed in 374 milliseconds

123456