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

12345

/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/avc/enc/src/
H A Dmotion_comp.cpp25 /* (blkwidth << 2) + (dy << 1) + dx */
128 int dx, dy; local
132 dx = x_pos & 3;
138 if (dx == 0 && dy == 0)
151 eHorzInterp1MC(ref, picpitch, pred, pred_pitch, blkwidth, blkheight, dx);
153 else if (dx == 0)
167 eHorzInterp2MC(&temp2[0][2], 21, pred, pred_pitch, blkwidth, blkheight, dx);
169 else if (dx == 2)
182 ref += (y_pos * picpitch) + x_pos + (dx / 2);
269 int blkwidth, int blkheight, int dx)
268 eHorzInterp1MC(uint8 *in, int inpitch, uint8 *out, int outpitch, int blkwidth, int blkheight, int dx) argument
558 eHorzInterp2MC(int *in, int inpitch, uint8 *out, int outpitch, int blkwidth, int blkheight, int dx) argument
1810 int dx, dy; local
1833 eChromaDiagonalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument
1925 eChromaHorizontalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument
1974 eChromaVerticalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument
2017 eChromaDiagonalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument
2060 eChromaHorizontalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument
2082 eChromaVerticalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument
2108 eChromaFullMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmb_motion_comp.cpp146 /* Motion vector (dx,dy) in half-pel resolution */
147 int dx, dy; local
195 dx = px[0] = px[1] = px[2] = px[3] = video->motX[imv];
197 if ((dx & 3) == 0)
199 dx = dx >> 1;
204 dx = (dx >> 1) | 1;
226 dx = PV_SIGN(xsum) * (roundtab16[(PV_ABS(xsum)) & 0xF] +
416 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:__anon528
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:__anon572
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:__anon616
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.java223 * @param dx change in x coordinate due to move
226 private void sendMove(int inputSource, float dx, float dy) { argument
228 injectMotionEvent(inputSource, MotionEvent.ACTION_MOVE, now, dx, dy, 0.0f);
298 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.java2098 int dx = 0, dy = 0;
2101 dx = -count;
2104 dx = count;
2113 onExtractedCursorMovement(dx, dy);
2344 * @param dx The amount of cursor movement in the x dimension.
2347 public void onExtractedCursorMovement(int dx, int dy) { argument
/frameworks/base/core/java/android/view/
H A DView.java13076 * @param globalOffset If true is returned, globalOffset holds the dx,dy
21158 * @param dx Horizontal scroll distance in pixels
21160 * @param consumed Output. If not null, consumed[0] will contain the consumed component of dx
21169 public boolean dispatchNestedPreScroll(int dx, int dy, argument
21172 if (dx != 0 || dy != 0) {
21189 mNestedScrollingParent.onNestedPreScroll(this, dx, dy, consumed);
H A DViewGroup.java3383 private static void drawCorner(Canvas c, Paint paint, int x1, int y1, int dx, int dy, int lw) { argument
3384 fillRect(c, paint, x1, y1, x1 + dx, y1 + lw * sign(dy));
3385 fillRect(c, paint, x1, y1, x1 + lw * sign(dx), y1 + dy);
5551 final int dx = child.mLeft - mScrollX;
5554 rect.offset(dx, dy);
5566 offset.x += dx;
6838 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument
6840 dispatchNestedPreScroll(dx, dy, consumed, null);
H A DViewParent.java548 * report how any pixels of the scroll reported by dx, dy were consumed in the
549 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy.
554 * @param dx Horizontal scroll distance in pixels
558 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed); argument
H A DViewRootImpl.java6908 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument
/frameworks/base/core/java/android/widget/
H A DHorizontalScrollView.java1179 * @param dx the number of pixels to scroll by on the X axis
1182 public final void smoothScrollBy(int dx, int dy) { argument
1193 dx = Math.max(0, Math.min(scrollX + dx, maxX)) - scrollX;
1195 mScroller.startScroll(scrollX, mScrollY, dx, 0);
1201 scrollBy(dx, dy);

Completed in 1675 milliseconds

12345