/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 | 92 CandMV.dx = CandMV.dy = 0; in omxVCM4P2_FindMVpred() 169 pDstMVPred->dy = armMedianOf3 (pCandMV1->dy, pCandMV2->dy, pCandMV3->dy); in omxVCM4P2_FindMVpred() 176 pDstMVPredME[0].dy = pCandMV1->dy; in omxVCM4P2_FindMVpred() 178 pDstMVPredME[1].dy = pCandMV2->dy; in omxVCM4P2_FindMVpred() 180 pDstMVPredME[2].dy = pCandMV3->dy; in omxVCM4P2_FindMVpred()
|
D | omxVCM4P2_MotionEstimationMB.c | 370 pSrcDstMBCurr->pMV0[0][0].dy = 0; in omxVCM4P2_MotionEstimationMB() 399 pSrcDstMBCurr->pMV0[0][0].dy = dstMV16x16.dy; in omxVCM4P2_MotionEstimationMB() 401 pSrcDstMBCurr->pMV0[0][1].dy = dstMV16x16.dy; in omxVCM4P2_MotionEstimationMB() 403 pSrcDstMBCurr->pMV0[1][0].dy = dstMV16x16.dy; in omxVCM4P2_MotionEstimationMB() 405 pSrcDstMBCurr->pMV0[1][1].dy = dstMV16x16.dy; in omxVCM4P2_MotionEstimationMB() 486 (pSrcDstMBCurr->pMV0[0][0].dy != dstMV16x16.dy) || in omxVCM4P2_MotionEstimationMB() 488 (pSrcDstMBCurr->pMV0[0][1].dy != dstMV16x16.dy) || in omxVCM4P2_MotionEstimationMB() 490 (pSrcDstMBCurr->pMV0[1][0].dy != dstMV16x16.dy) || in omxVCM4P2_MotionEstimationMB() 492 (pSrcDstMBCurr->pMV0[1][1].dy != dstMV16x16.dy) in omxVCM4P2_MotionEstimationMB() 523 pSrcDstMBCurr->pMV0[0][0].dy = 0; in omxVCM4P2_MotionEstimationMB() [all …]
|
D | omxVCM4P2_DecodePadMV_PVOP.c | 117 pDstMVCurMB[i].dy = 0; in omxVCM4P2_DecodePadMV_PVOP() 184 diffMV.dy = mvVerData; in omxVCM4P2_DecodePadMV_PVOP() 188 diffMV.dy = ((armAbs(mvVerData) - 1) * fcodeForward) in omxVCM4P2_DecodePadMV_PVOP() 192 diffMV.dy = -diffMV.dy; in omxVCM4P2_DecodePadMV_PVOP() 208 pDstMVCurMB[iBlk].dy += diffMV.dy; in omxVCM4P2_DecodePadMV_PVOP() 220 if ( pDstMVCurMB[iBlk].dy < low ) in omxVCM4P2_DecodePadMV_PVOP() 222 pDstMVCurMB[iBlk].dy += range; in omxVCM4P2_DecodePadMV_PVOP() 224 if (pDstMVCurMB[iBlk].dy > high) in omxVCM4P2_DecodePadMV_PVOP() 226 pDstMVCurMB[iBlk].dy -= range; in omxVCM4P2_DecodePadMV_PVOP()
|
D | omxVCM4P2_EncodeMV.c | 110 dstMVPredME[i].dy = 0; in omxVCM4P2_EncodeMV() 143 diffMV.dy = pMVCurMB[iBlk].dy - dstMVPred.dy; in omxVCM4P2_EncodeMV() 163 if (diffMV.dy == 0) in omxVCM4P2_EncodeMV() 170 mvVerResidual = ( armAbs(diffMV.dy) - 1) % scaleFactor; in omxVCM4P2_EncodeMV() 171 mvVerData = (armAbs(diffMV.dy) - mvVerResidual + (scaleFactor - 1)) in omxVCM4P2_EncodeMV() 173 if (diffMV.dy < 0) in omxVCM4P2_EncodeMV() 200 if ((fcodeForward > 1) && (diffMV.dy != 0)) in omxVCM4P2_EncodeMV()
|
/frameworks/native/include/ui/ |
D | Region.h | 82 Region& translateSelf(int dx, int dy); 83 Region& orSelf(const Region& rhs, int dx, int dy); 84 Region& xorSelf(const Region& rhs, int dx, int dy); 85 Region& andSelf(const Region& rhs, int dx, int dy); 86 Region& subtractSelf(const Region& rhs, int dx, int dy); 89 const Region translate(int dx, int dy) const; 90 const Region merge(const Region& rhs, int dx, int dy) const; 91 const Region mergeExclusive(const Region& rhs, int dx, int dy) const; 92 const Region intersect(const Region& rhs, int dx, int dy) const; 93 const Region subtract(const Region& rhs, int dx, int dy) const; [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
D | armVCM4P10_Interpolate_Luma.c | 97 OMX_U32 dy in armVCM4P10_Interpolate_Luma() argument 108 armRetArgErrIf(dy > 3, OMX_Sts_BadArgErr) in armVCM4P10_Interpolate_Luma() 115 if (dy == 3) in armVCM4P10_Interpolate_Luma() 123 if (dx == 0 && dy == 0) in armVCM4P10_Interpolate_Luma() 128 else if (dy == 0) in armVCM4P10_Interpolate_Luma() 146 if (dy == 1 || dy == 3) in armVCM4P10_Interpolate_Luma() 152 else if (dx == 2 || dy == 2) in armVCM4P10_Interpolate_Luma() 167 if (dy == 1 || dy == 3) in armVCM4P10_Interpolate_Luma()
|
D | omxVCM4P10_BlockMatch_Quarter.c | 127 initialMV.dy = pSrcDstBestMV->dy; in omxVCM4P10_BlockMatch_Quarter() 136 pTempSrcRefY = pSrcRefY + (nSrcRefStep * (initialMV.dy/4)) + (initialMV.dx/4); in omxVCM4P10_BlockMatch_Quarter() 145 pelPosY = (initialMV.dy % 4) + y; in omxVCM4P10_BlockMatch_Quarter() 156 candMV.dy = initialMV.dy + y; in omxVCM4P10_BlockMatch_Quarter() 180 diffMV.dy = candMV.dy - pMVPred->dy; in omxVCM4P10_BlockMatch_Quarter() 185 candMV.dy, in omxVCM4P10_BlockMatch_Quarter()
|
D | omxVCM4P10_BlockMatch_Half.c | 126 integerMV.dy = pSrcDstBestMV->dy; in omxVCM4P10_BlockMatch_Half() 135 pTempSrcRefY = pSrcRefY + (nSrcRefStep * (integerMV.dy/4)) + (integerMV.dx/4); in omxVCM4P10_BlockMatch_Half() 148 candMV.dy = integerMV.dy + y * 2; in omxVCM4P10_BlockMatch_Half() 172 diffMV.dy = candMV.dy - pMVPred->dy; in omxVCM4P10_BlockMatch_Half() 177 candMV.dy, in omxVCM4P10_BlockMatch_Half()
|
D | omxVCM4P10_MotionEstimationMB.c | 365 mvy = pSrcMBInfo->pMV0 [2*PartY + SubPartY][2*PartX + SubPartX].dy; in armVCM4P10_CalculateBlockSAD() 383 mvy = pSrcMBInfo->pMV0 [2*PartY][2*PartX].dy; in armVCM4P10_CalculateBlockSAD() 703 pMVPred->dy = pMVArr [BlockY][BlockX - 1].dy; in armVCM4P10_SetMotionVectorPredictor() 711 pMVPred->dy = in armVCM4P10_SetMotionVectorPredictor() 712 ARM_VCM4P10_MEDIAN(pMVArr [BlockY][BlockX - 1].dy, in armVCM4P10_SetMotionVectorPredictor() 713 pMVArr [BlockY - 1][BlockX].dy, in armVCM4P10_SetMotionVectorPredictor() 714 pMVArr [BlockY - 1][BlockXPlusOff].dy); in armVCM4P10_SetMotionVectorPredictor() 720 pMVPred->dy = pMVArr [BlockY][BlockX - 1].dy; in armVCM4P10_SetMotionVectorPredictor() 724 pMVPred->dy = pMVArr [BlockY - 1][BlockX].dy; in armVCM4P10_SetMotionVectorPredictor() 730 pMVPred->dy = pMVArr [BlockY - 1][BlockXPlusOff].dy; in armVCM4P10_SetMotionVectorPredictor() [all …]
|
D | armVCM4P10_Interpolate_Chroma.c | 53 OMX_U32 dy in armVCM4P10_Interpolate_Chroma() argument 57 OMX_U32 EightMinusdy = 8 - dy; in armVCM4P10_Interpolate_Chroma() 65 armRetArgErrIf(dy > 7, OMX_Sts_BadArgErr) in armVCM4P10_Interpolate_Chroma() 72 if (dx != 0 || dy != 0) in armVCM4P10_Interpolate_Chroma() 76 CCoeff = EightMinusdx * dy; in armVCM4P10_Interpolate_Chroma() 77 DCoeff = dx * dy; in armVCM4P10_Interpolate_Chroma()
|
D | armVCM4P10_CompareMotionCostToMV.c | 104 sizeCodeNum += armVCM4P10_ExpGolBitsUsed (diffMV.dy); in armVCM4P10_CompareMotionCostToMV() 114 bestMV->dy = mvY; in armVCM4P10_CompareMotionCostToMV() 122 if ( (mvX * mvX + mvY * mvY) < ((bestMV->dx * bestMV->dx) + (bestMV->dy * bestMV->dy)) ) in armVCM4P10_CompareMotionCostToMV() 126 bestMV->dy = mvY; in armVCM4P10_CompareMotionCostToMV()
|
D | omxVCM4P10_InterpolateChroma.c | 70 OMX_S32 dy, in omxVCM4P10_InterpolateChroma() argument 81 armRetArgErrIf(dy < 0, OMX_Sts_BadArgErr) in omxVCM4P10_InterpolateChroma() 82 armRetArgErrIf(dy > 7, OMX_Sts_BadArgErr) in omxVCM4P10_InterpolateChroma() 92 ((OMX_U8*)pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy); in omxVCM4P10_InterpolateChroma()
|
D | omxVCM4P10_InterpolateLuma.c | 69 OMX_S32 dy, in omxVCM4P10_InterpolateLuma() argument 80 armRetArgErrIf(dy < 0, OMX_Sts_BadArgErr) in omxVCM4P10_InterpolateLuma() 81 armRetArgErrIf(dy > 3, OMX_Sts_BadArgErr) in omxVCM4P10_InterpolateLuma() 91 (pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy); in omxVCM4P10_InterpolateLuma()
|
/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/native/libs/ui/ |
D | Region.cpp | 212 Region& Region::orSelf(const Region& rhs, int dx, int dy) { in orSelf() argument 213 return operationSelf(rhs, dx, dy, op_or); in orSelf() 215 Region& Region::xorSelf(const Region& rhs, int dx, int dy) { in xorSelf() argument 216 return operationSelf(rhs, dx, dy, op_xor); in xorSelf() 218 Region& Region::andSelf(const Region& rhs, int dx, int dy) { in andSelf() argument 219 return operationSelf(rhs, dx, dy, op_and); in andSelf() 221 Region& Region::subtractSelf(const Region& rhs, int dx, int dy) { in subtractSelf() argument 222 return operationSelf(rhs, dx, dy, op_nand); in subtractSelf() 224 Region& Region::operationSelf(const Region& rhs, int dx, int dy, int op) { in operationSelf() argument 226 boolean_operation(op, *this, lhs, rhs, dx, dy); in operationSelf() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Path.java | 233 public void rMoveTo(float dx, float dy) { in rMoveTo() argument 234 native_rMoveTo(mNativePath, dx, dy); in rMoveTo() 260 public void rLineTo(float dx, float dy) { in rLineTo() argument 262 native_rLineTo(mNativePath, dx, dy); in rLineTo() 514 public void addPath(Path src, float dx, float dy) { in addPath() argument 516 native_addPath(mNativePath, src.mNativePath, dx, dy); in addPath() 547 public void offset(float dx, float dy, Path dst) { in offset() argument 553 native_offset(mNativePath, dx, dy, dstNative); in offset() 562 public void offset(float dx, float dy) { in offset() argument 564 native_offset(mNativePath, dx, dy); in offset() [all …]
|
D | LayerRasterizer.java | 29 public void addLayer(Paint paint, float dx, float dy) { in addLayer() argument 30 nativeAddLayer(native_instance, paint.mNativePaint, dx, dy); in addLayer() 38 … private static native void nativeAddLayer(int native_layer, int native_paint, float dx, float dy); in nativeAddLayer() argument
|
/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/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; 380 public void startScroll(int startX, int startY, int dx, int dy) { in startScroll() argument 381 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); in startScroll() 398 public void startScroll(int startX, int startY, int dx, int dy, int duration) { in startScroll() argument 406 mFinalY = startY + dy; in startScroll() 408 mDeltaY = dy; in startScroll() 438 float dy = (float) (mFinalY - mStartY); in fling() local [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Path_Delegate.java | 221 /*package*/ static void native_rMoveTo(int nPath, float dx, float dy) { in native_rMoveTo() argument 227 pathDelegate.rMoveTo(dx, dy); in native_rMoveTo() 241 /*package*/ static void native_rLineTo(int nPath, float dx, float dy) { in native_rLineTo() argument 247 pathDelegate.rLineTo(dx, dy); in native_rLineTo() 404 /*package*/ static void native_addPath(int nPath, int src, float dx, float dy) { in native_addPath() argument 405 addPath(nPath, src, AffineTransform.getTranslateInstance(dx, dy)); in native_addPath() 424 /*package*/ static void native_offset(int nPath, float dx, float dy, int dst_path) { in native_offset() argument 433 pathDelegate.offset(dx, dy, dstDelegate); in native_offset() 437 /*package*/ static void native_offset(int nPath, float dx, float dy) { in native_offset() argument 438 native_offset(nPath, dx, dy, 0); in native_offset() [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | QuadF.java | 38 public void offset(float dx, float dy) { in offset() argument 39 p1.offset(dx, dy); in offset() 40 p2.offset(dx, dy); in offset() 41 p3.offset(dx, dy); in offset() 42 p4.offset(dx, dy); in offset()
|
/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/support/v4/java/android/support/v4/widget/ |
D | ScrollerCompat.java | 128 public void startScroll(int startX, int startY, int dx, int dy) { in startScroll() argument 129 mScroller.startScroll(startX, startY, dx, dy); in startScroll() 145 public void startScroll(int startX, int startY, int dx, int dy, int duration) { in startScroll() argument 146 mScroller.startScroll(startX, startY, dx, dy, duration); in startScroll()
|