/frameworks/base/media/mca/filterpacks/native/base/ |
D | geometry.cpp | 82 const float dy = height * (current_ratio / ratio - 1.0f); in ExpandToAspectRatio() local 83 y -= dy / 2.0f; in ExpandToAspectRatio() 84 height += dy; in ExpandToAspectRatio() 99 const float dy = height * (length / current_length - 1.0f); in ExpandToMinLength() local 100 y -= dy / 2.0f; in ExpandToMinLength() 101 height += dy; in ExpandToMinLength() 124 const float dy = height * (f - 1.0f); in ScaleWithLengthLimit() local 125 y -= dy / 2.0f; in ScaleWithLengthLimit() 126 height += dy; in ScaleWithLengthLimit() 138 Point dy = vert_axis; in FromCenterAxisAndLengths() local [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
D | omxVCM4P2_FindMVpred.c | 107 CandMV.dx = CandMV.dy = 0; in omxVCM4P2_FindMVpred() 184 pDstMVPred->dy = armMedianOf3 (pCandMV1->dy, pCandMV2->dy, pCandMV3->dy); in omxVCM4P2_FindMVpred() 191 pDstMVPredME[0].dy = pCandMV1->dy; in omxVCM4P2_FindMVpred() 193 pDstMVPredME[1].dy = pCandMV2->dy; in omxVCM4P2_FindMVpred() 195 pDstMVPredME[2].dy = pCandMV3->dy; in omxVCM4P2_FindMVpred()
|
D | omxVCM4P2_MotionEstimationMB.c | 385 pSrcDstMBCurr->pMV0[0][0].dy = 0; in omxVCM4P2_MotionEstimationMB() 414 pSrcDstMBCurr->pMV0[0][0].dy = dstMV16x16.dy; in omxVCM4P2_MotionEstimationMB() 416 pSrcDstMBCurr->pMV0[0][1].dy = dstMV16x16.dy; in omxVCM4P2_MotionEstimationMB() 418 pSrcDstMBCurr->pMV0[1][0].dy = dstMV16x16.dy; in omxVCM4P2_MotionEstimationMB() 420 pSrcDstMBCurr->pMV0[1][1].dy = dstMV16x16.dy; in omxVCM4P2_MotionEstimationMB() 501 (pSrcDstMBCurr->pMV0[0][0].dy != dstMV16x16.dy) || in omxVCM4P2_MotionEstimationMB() 503 (pSrcDstMBCurr->pMV0[0][1].dy != dstMV16x16.dy) || in omxVCM4P2_MotionEstimationMB() 505 (pSrcDstMBCurr->pMV0[1][0].dy != dstMV16x16.dy) || in omxVCM4P2_MotionEstimationMB() 507 (pSrcDstMBCurr->pMV0[1][1].dy != dstMV16x16.dy) in omxVCM4P2_MotionEstimationMB() 538 pSrcDstMBCurr->pMV0[0][0].dy = 0; in omxVCM4P2_MotionEstimationMB() [all …]
|
D | omxVCM4P2_DecodePadMV_PVOP.c | 132 pDstMVCurMB[i].dy = 0; in omxVCM4P2_DecodePadMV_PVOP() 199 diffMV.dy = mvVerData; in omxVCM4P2_DecodePadMV_PVOP() 203 diffMV.dy = ((armAbs(mvVerData) - 1) * fcodeForward) in omxVCM4P2_DecodePadMV_PVOP() 207 diffMV.dy = -diffMV.dy; in omxVCM4P2_DecodePadMV_PVOP() 223 pDstMVCurMB[iBlk].dy += diffMV.dy; in omxVCM4P2_DecodePadMV_PVOP() 235 if ( pDstMVCurMB[iBlk].dy < low ) in omxVCM4P2_DecodePadMV_PVOP() 237 pDstMVCurMB[iBlk].dy += range; in omxVCM4P2_DecodePadMV_PVOP() 239 if (pDstMVCurMB[iBlk].dy > high) in omxVCM4P2_DecodePadMV_PVOP() 241 pDstMVCurMB[iBlk].dy -= range; in omxVCM4P2_DecodePadMV_PVOP()
|
D | omxVCM4P2_EncodeMV.c | 125 dstMVPredME[i].dy = 0; in omxVCM4P2_EncodeMV() 158 diffMV.dy = pMVCurMB[iBlk].dy - dstMVPred.dy; in omxVCM4P2_EncodeMV() 178 if (diffMV.dy == 0) in omxVCM4P2_EncodeMV() 185 mvVerResidual = ( armAbs(diffMV.dy) - 1) % scaleFactor; in omxVCM4P2_EncodeMV() 186 mvVerData = (armAbs(diffMV.dy) - mvVerResidual + (scaleFactor - 1)) in omxVCM4P2_EncodeMV() 188 if (diffMV.dy < 0) in omxVCM4P2_EncodeMV() 215 if ((fcodeForward > 1) && (diffMV.dy != 0)) in omxVCM4P2_EncodeMV()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
D | armVCM4P10_Interpolate_Luma.c | 112 OMX_U32 dy in armVCM4P10_Interpolate_Luma() argument 123 armRetArgErrIf(dy > 3, OMX_Sts_BadArgErr) in armVCM4P10_Interpolate_Luma() 130 if (dy == 3) in armVCM4P10_Interpolate_Luma() 138 if (dx == 0 && dy == 0) in armVCM4P10_Interpolate_Luma() 143 else if (dy == 0) in armVCM4P10_Interpolate_Luma() 161 if (dy == 1 || dy == 3) in armVCM4P10_Interpolate_Luma() 167 else if (dx == 2 || dy == 2) in armVCM4P10_Interpolate_Luma() 182 if (dy == 1 || dy == 3) in armVCM4P10_Interpolate_Luma()
|
D | omxVCM4P10_BlockMatch_Quarter.c | 142 initialMV.dy = pSrcDstBestMV->dy; in omxVCM4P10_BlockMatch_Quarter() 151 pTempSrcRefY = pSrcRefY + (nSrcRefStep * (initialMV.dy/4)) + (initialMV.dx/4); in omxVCM4P10_BlockMatch_Quarter() 160 pelPosY = (initialMV.dy % 4) + y; in omxVCM4P10_BlockMatch_Quarter() 171 candMV.dy = initialMV.dy + y; in omxVCM4P10_BlockMatch_Quarter() 195 diffMV.dy = candMV.dy - pMVPred->dy; in omxVCM4P10_BlockMatch_Quarter() 200 candMV.dy, in omxVCM4P10_BlockMatch_Quarter()
|
D | omxVCM4P10_BlockMatch_Half.c | 141 integerMV.dy = pSrcDstBestMV->dy; in omxVCM4P10_BlockMatch_Half() 150 pTempSrcRefY = pSrcRefY + (nSrcRefStep * (integerMV.dy/4)) + (integerMV.dx/4); in omxVCM4P10_BlockMatch_Half() 163 candMV.dy = integerMV.dy + y * 2; in omxVCM4P10_BlockMatch_Half() 187 diffMV.dy = candMV.dy - pMVPred->dy; in omxVCM4P10_BlockMatch_Half() 192 candMV.dy, in omxVCM4P10_BlockMatch_Half()
|
D | omxVCM4P10_MotionEstimationMB.c | 380 mvy = pSrcMBInfo->pMV0 [2*PartY + SubPartY][2*PartX + SubPartX].dy; in armVCM4P10_CalculateBlockSAD() 398 mvy = pSrcMBInfo->pMV0 [2*PartY][2*PartX].dy; in armVCM4P10_CalculateBlockSAD() 718 pMVPred->dy = pMVArr [BlockY][BlockX - 1].dy; in armVCM4P10_SetMotionVectorPredictor() 726 pMVPred->dy = in armVCM4P10_SetMotionVectorPredictor() 727 ARM_VCM4P10_MEDIAN(pMVArr [BlockY][BlockX - 1].dy, in armVCM4P10_SetMotionVectorPredictor() 728 pMVArr [BlockY - 1][BlockX].dy, in armVCM4P10_SetMotionVectorPredictor() 729 pMVArr [BlockY - 1][BlockXPlusOff].dy); in armVCM4P10_SetMotionVectorPredictor() 735 pMVPred->dy = pMVArr [BlockY][BlockX - 1].dy; in armVCM4P10_SetMotionVectorPredictor() 739 pMVPred->dy = pMVArr [BlockY - 1][BlockX].dy; in armVCM4P10_SetMotionVectorPredictor() 745 pMVPred->dy = pMVArr [BlockY - 1][BlockXPlusOff].dy; in armVCM4P10_SetMotionVectorPredictor() [all …]
|
D | armVCM4P10_Interpolate_Chroma.c | 68 OMX_U32 dy in armVCM4P10_Interpolate_Chroma() argument 72 OMX_U32 EightMinusdy = 8 - dy; in armVCM4P10_Interpolate_Chroma() 80 armRetArgErrIf(dy > 7, OMX_Sts_BadArgErr) in armVCM4P10_Interpolate_Chroma() 87 if (dx != 0 || dy != 0) in armVCM4P10_Interpolate_Chroma() 91 CCoeff = EightMinusdx * dy; in armVCM4P10_Interpolate_Chroma() 92 DCoeff = dx * dy; in armVCM4P10_Interpolate_Chroma()
|
D | armVCM4P10_CompareMotionCostToMV.c | 119 sizeCodeNum += armVCM4P10_ExpGolBitsUsed (diffMV.dy); in armVCM4P10_CompareMotionCostToMV() 129 bestMV->dy = mvY; in armVCM4P10_CompareMotionCostToMV() 137 if ( (mvX * mvX + mvY * mvY) < ((bestMV->dx * bestMV->dx) + (bestMV->dy * bestMV->dy)) ) in armVCM4P10_CompareMotionCostToMV() 141 bestMV->dy = mvY; in armVCM4P10_CompareMotionCostToMV()
|
D | omxVCM4P10_InterpolateChroma.c | 85 OMX_S32 dy, in omxVCM4P10_InterpolateChroma() argument 96 armRetArgErrIf(dy < 0, OMX_Sts_BadArgErr) in omxVCM4P10_InterpolateChroma() 97 armRetArgErrIf(dy > 7, OMX_Sts_BadArgErr) in omxVCM4P10_InterpolateChroma() 107 ((OMX_U8*)pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy); in omxVCM4P10_InterpolateChroma()
|
/frameworks/native/include/ui/ |
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, int dy) const; [all …]
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | geometry.cpp | 83 const float dy = height * (current_ratio / ratio - 1.0f); in ExpandToAspectRatio() local 84 y -= dy / 2.0f; in ExpandToAspectRatio() 85 height += dy; in ExpandToAspectRatio() 100 const float dy = height * (length / current_length - 1.0f); in ExpandToMinLength() local 101 y -= dy / 2.0f; in ExpandToMinLength() 102 height += dy; in ExpandToMinLength() 125 const float dy = height * (f - 1.0f); in ScaleWithLengthLimit() local 126 y -= dy / 2.0f; in ScaleWithLengthLimit() 127 height += dy; in ScaleWithLengthLimit()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | ViewDragHelper.java | 171 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) {} in onViewPositionChanged() argument 319 public int clampViewPositionVertical(View child, int top, int dy) { in clampViewPositionVertical() argument 588 final int dy = finalTop - startTop; in forceSettleCapturedViewAt() local 590 if (dx == 0 && dy == 0) { in forceSettleCapturedViewAt() 597 final int duration = computeSettleDuration(mCapturedView, dx, dy, xvel, yvel); in forceSettleCapturedViewAt() 598 mScroller.startScroll(startLeft, startTop, dx, dy, duration); in forceSettleCapturedViewAt() 604 private int computeSettleDuration(View child, int dx, int dy, int xvel, int yvel) { in computeSettleDuration() argument 608 final int absDy = Math.abs(dy); in computeSettleDuration() 620 int yduration = computeAxisDuration(dy, yvel, mCallback.getViewVerticalDragRange(child)); in computeSettleDuration() 728 final int dy = y - mCapturedView.getTop(); in continueSettling() local [all …]
|
D | ScrollerCompat.java | 45 void startScroll(Object scroller, int startX, int startY, int dx, int dy); in startScroll() argument 46 void startScroll(Object scroller, int startX, int startY, int dx, int dy, int duration); in startScroll() argument 97 public void startScroll(Object scroller, int startX, int startY, int dx, int dy) { in startScroll() argument 98 ((Scroller) scroller).startScroll(startX, startY, dx, dy); in startScroll() 102 public void startScroll(Object scroller, int startX, int startY, int dx, int dy, in startScroll() argument 104 ((Scroller) scroller).startScroll(startX, startY, dx, dy, duration); in startScroll() 190 public void startScroll(Object scroller, int startX, int startY, int dx, int dy) { in startScroll() argument 191 ScrollerCompatGingerbread.startScroll(scroller, startX, startY, dx, dy); in startScroll() 195 public void startScroll(Object scroller, int startX, int startY, int dx, int dy, in startScroll() argument 197 ScrollerCompatGingerbread.startScroll(scroller, startX, startY, dx, dy, duration); in startScroll() [all …]
|
/frameworks/native/libs/ui/ |
D | Region.cpp | 376 Region& Region::orSelf(const Region& rhs, int dx, int dy) { in orSelf() argument 377 return operationSelf(rhs, dx, dy, op_or); in orSelf() 379 Region& Region::xorSelf(const Region& rhs, int dx, int dy) { in xorSelf() argument 380 return operationSelf(rhs, dx, dy, op_xor); in xorSelf() 382 Region& Region::andSelf(const Region& rhs, int dx, int dy) { in andSelf() argument 383 return operationSelf(rhs, dx, dy, op_and); in andSelf() 385 Region& Region::subtractSelf(const Region& rhs, int dx, int dy) { in subtractSelf() argument 386 return operationSelf(rhs, dx, dy, op_nand); in subtractSelf() 388 Region& Region::operationSelf(const Region& rhs, int dx, int dy, int op) { in operationSelf() argument 390 boolean_operation(op, *this, lhs, rhs, dx, dy); in operationSelf() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Path.java | 343 public void rMoveTo(float dx, float dy) { in rMoveTo() argument 344 native_rMoveTo(mNativePath, dx, dy); in rMoveTo() 370 public void rLineTo(float dx, float dy) { in rLineTo() argument 372 native_rLineTo(mNativePath, dx, dy); in rLineTo() 670 public void addPath(Path src, float dx, float dy) { in addPath() argument 672 native_addPath(mNativePath, src.mNativePath, dx, dy); in addPath() 703 public void offset(float dx, float dy, @Nullable Path dst) { in offset() argument 709 dst.offset(dx, dy); in offset() 718 public void offset(float dx, float dy) { in offset() argument 723 if (isSimplePath && dx == Math.rint(dx) && dy == Math.rint(dy)) { in offset() [all …]
|
/frameworks/native/include/private/ui/ |
D | RegionHelper.h | 53 TYPE dy; member 55 : rects(rhs.rects), count(rhs.count), dx(rhs.dx), dy(rhs.dy) { } in region() 57 : rects(r), count(c), dx(), dy() { } in region() 58 inline region(RECT const* r, size_t c, TYPE dx, TYPE dy) in region() 59 : rects(r), count(c), dx(dx), dy(dy) { } in region() 169 SpannerBase::lhs_head = lhs.rects->top + lhs.dy; in Spanner() 170 SpannerBase::lhs_tail = lhs.rects->bottom + lhs.dy; in Spanner() 173 SpannerBase::rhs_head = rhs.rects->top + rhs.dy; in Spanner() 174 SpannerBase::rhs_tail = rhs.rects->bottom + rhs.dy; in Spanner() 209 aTop = rects->top + reg.dy; in advance() [all …]
|
/frameworks/base/core/java/android/transition/ |
D | PatternPathMotion.java | 119 float dy = endY - startY; in setPatternPath() local 120 float distance = (float) Math.hypot(dx, dy); in setPatternPath() 123 double angle = Math.atan2(dy, dx); in setPatternPath() 132 double dy = endY - startY; in getPath() local 133 float length = (float) Math.hypot(dx, dy); in getPath() 134 double angle = Math.atan2(dy, dx); in getPath()
|
/frameworks/base/core/java/android/widget/ |
D | Scroller.java | 133 float y, dy; 137 dy = coef * ((1.0f - y) * START_TENSION + y) + y * y * y; 138 if (Math.abs(dy - alpha) < 1E-5) break; 139 if (dy > alpha) y_max = y; 368 public void startScroll(int startX, int startY, int dx, int dy) { in startScroll() argument 369 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); in startScroll() 386 public void startScroll(int startX, int startY, int dx, int dy, int duration) { in startScroll() argument 394 mFinalY = startY + dy; in startScroll() 396 mDeltaY = dy; in startScroll() 426 float dy = (float) (mFinalY - mStartY); in fling() local [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Path_Delegate.java | 233 /*package*/ static void native_rMoveTo(long nPath, float dx, float dy) { in native_rMoveTo() argument 239 pathDelegate.rMoveTo(dx, dy); in native_rMoveTo() 253 /*package*/ static void native_rLineTo(long nPath, float dx, float dy) { in native_rLineTo() argument 259 pathDelegate.rLineTo(dx, dy); in native_rLineTo() 406 /*package*/ static void native_addPath(long nPath, long src, float dx, float dy) { in native_addPath() argument 407 addPath(nPath, src, AffineTransform.getTranslateInstance(dx, dy)); in native_addPath() 426 /*package*/ static void native_offset(long nPath, float dx, float dy) { in native_offset() argument 432 pathDelegate.offset(dx, dy); in native_offset() 436 /*package*/ static void native_setLastPoint(long nPath, float dx, float dy) { in native_setLastPoint() argument 443 pathDelegate.mLastY = dy; in native_setLastPoint() [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | pp_semaphore_luma.cpp | 120 int dy, /* i */ in pp_semaphore_luma() argument 172 if ((dy&0xF) != 0) in pp_semaphore_luma() 194 if ((dy&0xF) != 0) in pp_semaphore_luma() 300 if (((dy&0xF) != 0) && (mmvy + 1 < (height >> 3) - 1)) in pp_semaphore_luma() 332 if (((dy&0xF) != 0) && (mmvy + 1 < (height >> 3) - 1)) in pp_semaphore_luma()
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
D | motion_comp.cpp | 128 int dx, dy; in eLumaMotionComp() local 133 dy = y_pos & 3; in eLumaMotionComp() 138 if (dx == 0 && dy == 0) in eLumaMotionComp() 146 else if (dy == 0) in eLumaMotionComp() 158 eVertInterp1MC(ref, picpitch, pred, pred_pitch, blkwidth, blkheight, dy); in eLumaMotionComp() 160 else if (dy == 2) in eLumaMotionComp() 175 eVertInterp3MC(&temp2[2][0], 21, pred, pred_pitch, blkwidth, blkheight, dy); in eLumaMotionComp() 180 ref2 = ref + (y_pos + (dy / 2)) * picpitch + x_pos; in eLumaMotionComp() 782 int blkwidth, int blkheight, int dy) in eVertInterp1MC() argument 803 if (dy&1) in eVertInterp1MC() [all …]
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
D | ViewMatrix.java | 264 int dy = ((dir >> 8) & 0xF); in look() local 269 if (dy > 1) { in look() 270 dy = -1; in look() 276 mLookPoint[1] + 2 * mScreenWidth * dy, in look() 278 double[] zv = new double[]{-dx, -dy, -dz}; in look() 355 double dy = (cy - y) / ballRadius; in ballToVec() local 356 double scale = dx * dx + dy * dy; in ballToVec() 360 dy = dy / scale; in ballToVec() 363 double dz = Math.sqrt(Math.abs(1 - (dx * dx + dy * dy))); in ballToVec() 365 v[1] = dy; in ballToVec()
|