/frameworks/base/graphics/java/android/graphics/ |
H A D | LayerRasterizer.java | 30 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 D | omxVCM4P2_FindMVpred.c | 107 CandMV.dx = CandMV.dy = 0; 183 pDstMVPred->dx = armMedianOf3 (pCandMV1->dx, pCandMV2->dx, pCandMV3->dx); 190 pDstMVPredME[0].dx = pCandMV1->dx; 192 pDstMVPredME[1].dx = pCandMV2->dx; 194 pDstMVPredME[2].dx [all...] |
H A D | omxVCM4P2_EncodeMV.c | 124 dstMVPredME[i].dx = 0; 157 diffMV.dx = pMVCurMB[iBlk].dx - dstMVPred.dx; 161 if (diffMV.dx == 0) 168 mvHorResidual = ( armAbs(diffMV.dx) - 1) % scaleFactor; 169 mvHorData = (armAbs(diffMV.dx) - mvHorResidual + (scaleFactor - 1)) 171 if (diffMV.dx < 0) 203 if ((fcodeForward > 1) && (diffMV.dx != 0))
|
H A D | omxVCM4P2_DecodePadMV_PVOP.c | 131 pDstMVCurMB[i].dx = 0; 185 diffMV.dx = mvHorData; 189 diffMV.dx = ((armAbs(mvHorData) - 1) * fcodeForward) 193 diffMV.dx = -diffMV.dx; 222 pDstMVCurMB[iBlk].dx += diffMV.dx; 226 if ( pDstMVCurMB[iBlk].dx < low ) 228 pDstMVCurMB[iBlk].dx += range; 230 if (pDstMVCurMB[iBlk].dx > hig [all...] |
H A D | omxVCM4P2_MotionEstimationMB.c | 384 pSrcDstMBCurr->pMV0[0][0].dx = 0; 413 pSrcDstMBCurr->pMV0[0][0].dx = dstMV16x16.dx; 415 pSrcDstMBCurr->pMV0[0][1].dx = dstMV16x16.dx; 417 pSrcDstMBCurr->pMV0[1][0].dx = dstMV16x16.dx; 419 pSrcDstMBCurr->pMV0[1][1].dx = dstMV16x16.dx; 500 (pSrcDstMBCurr->pMV0[0][0].dx ! [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
H A D | omxVCM4P10_InterpolateChroma.c | 51 * [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/m4p10/src/ |
H A D | omxVCM4P10_InterpolateChroma.c | 51 * [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/base/media/mca/filterpacks/native/base/ |
H A D | geometry.cpp | 78 const float dx = width * (ratio / current_ratio - 1.0f); local 79 x -= dx / 2.0f; 80 width += dx; 96 const float dx = width * (length / current_length - 1.0f); local 97 x -= dx / 2.0f; 98 width += dx; 121 const float dx = width * (f - 1.0f); local 122 x -= dx / 2.0f; 123 width += dx; 144 Point dx [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
H A D | armVCM4P10_Interpolate_Chroma.c | 50 * [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 D | armVCM4P10_Interpolate_Luma.c | 93 * [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 D | omxVCM4P10_BlockMatch_Quarter.c | 141 initialMV.dx = pSrcDstBestMV->dx; 151 pTempSrcRefY = pSrcRefY + (nSrcRefStep * (initialMV.dy/4)) + (initialMV.dx/4); 154 pelPosX = (initialMV.dx % 4) + x; 170 candMV.dx = initialMV.dx + x; 194 diffMV.dx = candMV.dx - pMVPred->dx; 199 candMV.dx, [all...] |
H A D | omxVCM4P10_BlockMatch_Half.c | 140 integerMV.dx = pSrcDstBestMV->dx; 150 pTempSrcRefY = pSrcRefY + (nSrcRefStep * (integerMV.dy/4)) + (integerMV.dx/4); 162 candMV.dx = integerMV.dx + x * 2; 186 diffMV.dx = candMV.dx - pMVPred->dx; 191 candMV.dx,
|
H A D | armVCM4P10_CompareMotionCostToMV.c | 118 sizeCodeNum = armVCM4P10_ExpGolBitsUsed (diffMV.dx); 128 bestMV->dx = mvX; 137 if ( (mvX * mvX + mvY * mvY) < ((bestMV->dx * bestMV->dx) + (bestMV->dy * bestMV->dy)) ) 140 bestMV->dx = mvX;
|
H A D | omxVCM4P10_InterpolateChroma.c | 51 * 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 D | omxVCM4P10_InterpolateLuma.c | 51 * 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/media/mca/filterfw/native/core/ |
H A D | geometry.cpp | 79 const float dx = width * (ratio / current_ratio - 1.0f); local 80 x -= dx / 2.0f; 81 width += dx; 97 const float dx = width * (length / current_length - 1.0f); local 98 x -= dx / 2.0f; 99 width += dx; 122 const float dx = width * (f - 1.0f); local 123 x -= dx / 2.0f; 124 width += dx;
|
/frameworks/base/core/java/android/view/animation/ |
H A D | TranslateXAnimation.java | 52 float dx = mFromXDelta + ((mToXDelta - mFromXDelta) * interpolatedTime); 53 t.getMatrix().setTranslate(dx, mTmpValues[Matrix.MTRANS_Y]);
|
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/ |
H A D | HorizontalGridViewEx.java | 23 public void smoothScrollBy(int dx, int dy) { argument 25 super.smoothScrollBy(dx, dy);
|
H A D | VerticalGridViewEx.java | 23 public void smoothScrollBy(int dx, int dy) { argument 25 super.smoothScrollBy(dx, dy);
|
/frameworks/native/include/ui/ |
H A D | Region.h | 89 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, in [all...] |
/frameworks/base/core/java/android/transition/ |
H A D | PatternPathMotion.java | 118 float dx = endX - startX; 120 float distance = (float) Math.hypot(dx, dy); 123 double angle = Math.atan2(dy, dx); 131 double dx = endX - startX; 133 float length = (float) Math.hypot(dx, dy); 134 double angle = Math.atan2(dy, dx);
|
/frameworks/native/include/private/ui/ |
H A D | RegionHelper.h | 52 TYPE dx; member in struct:android::region_operator::region 55 : rects(rhs.rects), count(rhs.count), dx(rhs.dx), dy(rhs.dy) { } 57 : rects(r), count(c), dx(), dy() { } 58 inline region(RECT const* r, size_t c, TYPE dx, TYPE dy) argument 59 : rects(r), count(c), dx(dx), dy(dy) { } 234 SpannerBase::lhs_head = lhs.rects->left + lhs.dx; 235 SpannerBase::lhs_tail = lhs.rects->right + lhs.dx; 243 SpannerBase::rhs_head = rhs.rects->left + rhs.dx; [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/ |
H A D | omxVCCOMM_LimitMVToRect.c | 87 pDstMV->dx = armMin (armMax (pSrcMV->dx, 2*pRectVOPRef->x - Xcoord),
|
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | focus_peak.rs | 30 int dx = x + ((x == 0) ? 1 : -1); 34 tmp = rsGetElementAtYuv_uchar_Y(gCurrentFrame, dx, y) - curPixel.r; 36 tmp = rsGetElementAtYuv_uchar_U(gCurrentFrame, dx, y) - curPixel.g; 38 tmp = rsGetElementAtYuv_uchar_V(gCurrentFrame, dx, y) - curPixel.b;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | LayerRasterizer_Delegate.java | 64 /*package*/ static void nativeAddLayer(long native_layer, long native_paint, float dx, float dy) { argument
|