Searched refs:dy (Results 1 - 25 of 202) sorted by relevance

123456789

/frameworks/base/graphics/java/android/graphics/
H A DLayerRasterizer.java30 public void addLayer(Paint paint, float dx, float dy) { argument
31 nativeAddLayer(native_instance, paint.getNativeInstance(), dx, dy);
39 private static native void nativeAddLayer(long native_layer, long native_paint, float dx, float dy); argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DomxVCM4P2_FindMVpred.c107 CandMV.dx = CandMV.dy = 0;
184 pDstMVPred->dy = armMedianOf3 (pCandMV1->dy, pCandMV2->dy, pCandMV3->dy);
191 pDstMVPredME[0].dy = pCandMV1->dy;
193 pDstMVPredME[1].dy = pCandMV2->dy;
195 pDstMVPredME[2].dy
[all...]
H A DomxVCM4P2_EncodeMV.c125 dstMVPredME[i].dy = 0;
158 diffMV.dy = pMVCurMB[iBlk].dy - dstMVPred.dy;
178 if (diffMV.dy == 0)
185 mvVerResidual = ( armAbs(diffMV.dy) - 1) % scaleFactor;
186 mvVerData = (armAbs(diffMV.dy) - mvVerResidual + (scaleFactor - 1))
188 if (diffMV.dy < 0)
215 if ((fcodeForward > 1) && (diffMV.dy != 0))
H A DomxVCM4P2_DecodePadMV_PVOP.c132 pDstMVCurMB[i].dy = 0;
199 diffMV.dy = mvVerData;
203 diffMV.dy = ((armAbs(mvVerData) - 1) * fcodeForward)
207 diffMV.dy = -diffMV.dy;
223 pDstMVCurMB[iBlk].dy += diffMV.dy;
235 if ( pDstMVCurMB[iBlk].dy < low )
237 pDstMVCurMB[iBlk].dy += range;
239 if (pDstMVCurMB[iBlk].dy > hig
[all...]
H A DomxVCM4P2_MotionEstimationMB.c385 pSrcDstMBCurr->pMV0[0][0].dy = 0;
414 pSrcDstMBCurr->pMV0[0][0].dy = dstMV16x16.dy;
416 pSrcDstMBCurr->pMV0[0][1].dy = dstMV16x16.dy;
418 pSrcDstMBCurr->pMV0[1][0].dy = dstMV16x16.dy;
420 pSrcDstMBCurr->pMV0[1][1].dy = dstMV16x16.dy;
501 (pSrcDstMBCurr->pMV0[0][0].dy !
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
H A DomxVCM4P10_InterpolateChroma.c53 * [in] dy Fractional part of vertical motion vector component
67 * dx or dy is out of range [0-7].
82 OMX_S32 dy,
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/m4p10/src/
H A DomxVCM4P10_InterpolateChroma.c53 * [in] dy Fractional part of vertical motion vector component
67 * dx or dy is out of range [0-7].
82 OMX_S32 dy,
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/base/media/mca/filterpacks/native/base/
H A Dgeometry.cpp82 const float dy = height * (current_ratio / ratio - 1.0f); local
83 y -= dy / 2.0f;
84 height += dy;
99 const float dy = height * (length / current_length - 1.0f); local
100 y -= dy / 2.0f;
101 height += dy;
124 const float dy = height * (f - 1.0f); local
125 y -= dy / 2.0f;
126 height += dy;
138 Point dy
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DarmVCM4P10_Interpolate_Chroma.c52 * [in] dy Fractional part of vertical motion vector
68 OMX_U32 dy
72 OMX_U32 EightMinusdy = 8 - dy;
80 armRetArgErrIf(dy > 7, OMX_Sts_BadArgErr)
87 if (dx != 0 || dy != 0)
91 CCoeff = EightMinusdx * dy;
92 DCoeff = dx * dy;
H A DarmVCM4P10_Interpolate_Luma.c95 * [in] dy Fractional part of vertical motion vector
112 OMX_U32 dy
123 armRetArgErrIf(dy > 3, OMX_Sts_BadArgErr)
130 if (dy == 3)
138 if (dx == 0 && dy == 0)
143 else if (dy == 0)
161 if (dy == 1 || dy == 3)
167 else if (dx == 2 || dy == 2)
182 if (dy
[all...]
H A DomxVCM4P10_BlockMatch_Quarter.c142 initialMV.dy = pSrcDstBestMV->dy;
151 pTempSrcRefY = pSrcRefY + (nSrcRefStep * (initialMV.dy/4)) + (initialMV.dx/4);
160 pelPosY = (initialMV.dy % 4) + y;
171 candMV.dy = initialMV.dy + y;
195 diffMV.dy = candMV.dy - pMVPred->dy;
200 candMV.dy,
[all...]
H A DomxVCM4P10_BlockMatch_Half.c141 integerMV.dy = pSrcDstBestMV->dy;
150 pTempSrcRefY = pSrcRefY + (nSrcRefStep * (integerMV.dy/4)) + (integerMV.dx/4);
163 candMV.dy = integerMV.dy + y * 2;
187 diffMV.dy = candMV.dy - pMVPred->dy;
192 candMV.dy,
H A DarmVCM4P10_CompareMotionCostToMV.c119 sizeCodeNum += armVCM4P10_ExpGolBitsUsed (diffMV.dy);
129 bestMV->dy = mvY;
137 if ( (mvX * mvX + mvY * mvY) < ((bestMV->dx * bestMV->dx) + (bestMV->dy * bestMV->dy)) )
141 bestMV->dy = mvY;
H A DomxVCM4P10_InterpolateChroma.c53 * dy -Fractional part of vertical motion vector component in 1/8 pixel
70 * dx or dy is out of range [0-7].
85 OMX_S32 dy,
96 armRetArgErrIf(dy < 0, OMX_Sts_BadArgErr)
97 armRetArgErrIf(dy > 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.c53 * dy -Fractional part of vertical motion vector y component in 1/4 pixel
70 * dx or dy is out of range [0,3].
84 OMX_S32 dy,
95 armRetArgErrIf(dy < 0, OMX_Sts_BadArgErr)
96 armRetArgErrIf(dy > 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/media/mca/filterfw/native/core/
H A Dgeometry.cpp83 const float dy = height * (current_ratio / ratio - 1.0f); local
84 y -= dy / 2.0f;
85 height += dy;
100 const float dy = height * (length / current_length - 1.0f); local
101 y -= dy / 2.0f;
102 height += dy;
125 const float dy = height * (f - 1.0f); local
126 y -= dy / 2.0f;
127 height += dy;
/frameworks/base/core/java/android/view/animation/
H A DTranslateYAnimation.java52 float dy = mFromYDelta + ((mToYDelta - mFromYDelta) * interpolatedTime);
53 t.getMatrix().setTranslate(mTmpValues[Matrix.MTRANS_X], dy);
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
H A DHorizontalGridViewEx.java23 public void smoothScrollBy(int dx, int dy) { argument
25 super.smoothScrollBy(dx, dy);
H A DVerticalGridViewEx.java23 public void smoothScrollBy(int dx, int dy) { argument
25 super.smoothScrollBy(dx, dy);
/frameworks/native/include/ui/
H A DRegion.h89 Region& translateSelf(int dx, int dy);
90 Region& orSelf(const Region& rhs, int dx, int dy);
91 Region& xorSelf(const Region& rhs, int dx, int dy);
92 Region& andSelf(const Region& rhs, int dx, int dy);
93 Region& subtractSelf(const Region& rhs, int dx, int dy);
96 const Region translate(int dx, int dy) const;
97 const Region merge(const Region& rhs, int dx, int dy) const;
98 const Region mergeExclusive(const Region& rhs, int dx, int dy) const;
99 const Region intersect(const Region& rhs, int dx, int dy) const;
100 const Region subtract(const Region& rhs, int dx, int dy) cons
[all...]
/frameworks/base/core/java/android/transition/
H A DPatternPathMotion.java119 float dy = endY - startY;
120 float distance = (float) Math.hypot(dx, dy);
123 double angle = Math.atan2(dy, dx);
132 double dy = endY - startY;
133 float length = (float) Math.hypot(dx, dy);
134 double angle = Math.atan2(dy, dx);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/
H A DomxVCCOMM_LimitMVToRect.c89 pDstMV->dy = armMin (armMax (pSrcMV->dy, 2*pRectVOPRef->y - Ycoord),
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
H A Dfocus_peak.rs42 int dy = y + ((y == 0) ? 1 : -1);
43 tmp = rsGetElementAtYuv_uchar_Y(gCurrentFrame, x, dy) - curPixel.r;
45 tmp = rsGetElementAtYuv_uchar_U(gCurrentFrame, x, dy) - curPixel.g;
47 tmp = rsGetElementAtYuv_uchar_V(gCurrentFrame, x, dy) - curPixel.b;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DLayerRasterizer_Delegate.java64 /*package*/ static void nativeAddLayer(long native_layer, long native_paint, float dx, float dy) { argument
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpp_semaphore_luma.cpp34 dy = vertical component of the motion vector (int)
120 int dy, /* i */
172 if ((dy&0xF) != 0)
173 { /* dy is not a multiple of 16 */
180 { /* dy is a multiple of 16 */
194 if ((dy&0xF) != 0)
195 { /* dy is not a multiple of 16 */
202 { /* dy is a multiple of 16 */
300 if (((dy&0xF) != 0) && (mmvy + 1 < (height >> 3) - 1))
301 { /* dy i
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
[all...]

Completed in 881 milliseconds

123456789