/external/skia/src/core/ |
D | SkClampRange.cpp | 36 void SkClampRange::initFor1(SkFixed fx) { in initFor1() argument 38 if (fx <= 0) { in initFor1() 40 } else if (fx < 0xFFFF) { in initFor1() 42 fFx1 = fx; in initFor1() 62 int64_t fx = fx0; in init() local 65 int64_t ex = fx + (count - 1) * dx; in init() 68 if ((uint64_t)(fx | ex) <= 0xFFFF) { in init() 74 if (fx <= 0 && ex <= 0) { in init() 79 if (fx >= 0xFFFF && ex >= 0xFFFF) { in init() 97 fx = -fx; in init() [all …]
|
D | SkBitmapProcState_matrixProcs.cpp | 31 void decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count); 32 void decal_filter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count); 35 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) argument 37 #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF) argument 47 #define TILEX_PROCF(fx, max) (((fx) & 0xFFFF) * ((max) + 1) >> 16) argument 49 #define TILEX_LOW_BITS(fx, max) ((((fx) & 0xFFFF) * ((max) + 1) >> 12) & 0xF) argument 64 #define TILEX_PROCF(fx, max) (tileProcX(fx) * ((max) + 1) >> 16) argument 66 #define TILEX_LOW_BITS(fx, max) ((tileProcX(fx) * ((max) + 1) >> 12) & 0xF) argument 160 void decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count) in decal_nofilter_scale() argument 177 fx1 = fx+dx; in decal_nofilter_scale() [all …]
|
D | ARGB32_Clamp_Bilinear_BitmapShader.h | 19 SkPMColor sample_bilerp(SkFixed fx, SkFixed fy, unsigned srcMaxX, unsigned srcMaxY, 21 SkPMColor sample_bilerp(SkFixed fx, SkFixed fy, unsigned srcMaxX, unsigned srcMaxY, in sample_bilerp() argument 24 int ix = fx >> 16; in sample_bilerp() 43 SkFilterPtrProc proc = SkGetBilinearFilterPtrProc(proc_table, fx, fy); in sample_bilerp() 47 static inline SkPMColor sample_bilerpx(SkFixed fx, unsigned srcMaxX, const SkPMColor* srcPixels, in sample_bilerpx() argument 50 int ix = fx >> 16; in sample_bilerpx() 61 SkFilterPtrProc proc = SkGetBilinearFilterPtrXProc(proc_table, fx); in sample_bilerpx() 92 SkFixed fx = *srcXY++ - SK_FixedHalf; in shadeSpan() local 94 *dstC++ = sample_bilerp(fx, fy, srcMaxX, srcMaxY, srcPixels, srcRB, proc_table); in shadeSpan() 105 SkFixed fx = *srcXY++ - SK_FixedHalf; in shadeSpan() local [all …]
|
D | SkBitmapProcState_matrix.h | 39 SkFixed fx; in SCALE_NOFILTER_NAME() local 44 fx = SkScalarToFixed(pt.fY); in SCALE_NOFILTER_NAME() 46 *xy++ = TILEY_PROCF(fx, maxY); in SCALE_NOFILTER_NAME() 47 fx = SkScalarToFixed(pt.fX); in SCALE_NOFILTER_NAME() 60 if ((unsigned)(fx >> 16) <= maxX && in SCALE_NOFILTER_NAME() 61 (unsigned)((fx + dx * (count - 1)) >> 16) <= maxX) { in SCALE_NOFILTER_NAME() 62 decal_nofilter_scale(xy, fx, dx, count); in SCALE_NOFILTER_NAME() 69 a = TILEX_PROCF(fx, maxX); fx += dx; in SCALE_NOFILTER_NAME() 70 b = TILEX_PROCF(fx, maxX); fx += dx; in SCALE_NOFILTER_NAME() 76 a = TILEX_PROCF(fx, maxX); fx += dx; in SCALE_NOFILTER_NAME() [all …]
|
D | SkBitmapProcState_matrix_repeat.h | 69 SkFixed fx; in SCALE_NOFILTER_NAME() local 74 fx = SkScalarToFixed(pt.fY); in SCALE_NOFILTER_NAME() 76 *xy++ = TILEY_PROCF(fx, maxY); in SCALE_NOFILTER_NAME() 77 fx = SkScalarToFixed(pt.fX); in SCALE_NOFILTER_NAME() 90 if ((unsigned)(fx >> 16) <= maxX && in SCALE_NOFILTER_NAME() 91 (unsigned)((fx + dx * (count - 1)) >> 16) <= maxX) { in SCALE_NOFILTER_NAME() 92 decal_nofilter_scale(xy, fx, dx, count); in SCALE_NOFILTER_NAME() 115 fx1 = fx+dx; in SCALE_NOFILTER_NAME() 119 lbase = vdupq_n_s32(fx); in SCALE_NOFILTER_NAME() 151 fx += dx8; in SCALE_NOFILTER_NAME() [all …]
|
D | SkBitmapShaderTemplate.h | 68 SkFixed fx, fy, dx, dy; in shadeSpan() local 91 fx = *srcXY++; in shadeSpan() 93 unsigned x = NOFILTER_BITMAP_SHADER_TILEPROC(fx, srcMaxX); in shadeSpan() 102 fx = *srcXY++; in shadeSpan() 104 unsigned x = NOFILTER_BITMAP_SHADER_TILEPROC(fx, srcMaxX); in shadeSpan() 120 fx = SkScalarToFixed(srcPt.fX); in shadeSpan() 134 fx >>= level; in shadeSpan() 149 unsigned x = NOFILTER_BITMAP_SHADER_TILEPROC(fx, srcMaxX); in shadeSpan() 150 fx += dx; in shadeSpan() 156 unsigned x = NOFILTER_BITMAP_SHADER_TILEPROC(fx, srcMaxX); in shadeSpan() [all …]
|
D | SkBitmapProcState_matrix_clamp.h | 71 SkFixed fx; in SCALE_NOFILTER_NAME() local 76 fx = SkScalarToFixed(pt.fY); in SCALE_NOFILTER_NAME() 78 *xy++ = TILEY_PROCF(fx, maxY); in SCALE_NOFILTER_NAME() 79 fx = SkScalarToFixed(pt.fX); in SCALE_NOFILTER_NAME() 92 if ((unsigned)(fx >> 16) <= maxX && in SCALE_NOFILTER_NAME() 93 (unsigned)((fx + dx * (count - 1)) >> 16) <= maxX) { in SCALE_NOFILTER_NAME() 94 decal_nofilter_scale(xy, fx, dx, count); in SCALE_NOFILTER_NAME() 117 fx1 = fx+dx; in SCALE_NOFILTER_NAME() 123 lbase = vdupq_n_s32(fx); in SCALE_NOFILTER_NAME() 153 fx += dx8; in SCALE_NOFILTER_NAME() [all …]
|
D | SkBitmapShader16BilerpTemplate.h | 47 SkFixed fx = *srcXY++ - SK_FixedHalf; in shadeSpan() local 49 int ix = fx >> 16; in shadeSpan() 67 SkFilterProc proc = SkGetBilinearFilterProc(proc_table, fx, fy); in shadeSpan() 79 SkFixed fx, fy, dx, dy; in shadeSpan() local 87 fx = SkScalarToFixed(srcPt.fX) - SK_FixedHalf; in shadeSpan() 100 int ix = fx >> 16; in shadeSpan() 118 SkFilterProc proc = SkGetBilinearFilterProc(proc_table, fx, fy); in shadeSpan() 125 fx += dx; in shadeSpan() 156 SkFixed fx = *srcXY++ - SK_FixedHalf; in shadeSpan16() local 158 int ix = fx >> 16; in shadeSpan16() [all …]
|
D | SkBitmapProcState_shaderproc.h | 25 SkFixed fx; in SCALE_FILTER_NAME() local 46 fx = SkScalarToFixed(pt.fX) - (oneX >> 1); in SCALE_FILTER_NAME() 54 unsigned subX = TILEX_LOW_BITS(fx, maxX); in SCALE_FILTER_NAME() 55 unsigned x0 = TILEX_PROCF(fx, maxX); in SCALE_FILTER_NAME() 56 unsigned x1 = TILEX_PROCF((fx + oneX), maxX); in SCALE_FILTER_NAME() 66 fx += dx; in SCALE_FILTER_NAME()
|
D | SkPoint.cpp | 156 float fx = (float)x; in fixlen() local 159 return (int)floorf(sqrtf(fx*fx + fy*fy) + 0.5f); in fixlen() 353 float fx = SkAbs32(ox)/65536.0f; in setLength() local 355 float mag = sqrtf(fx*fx + fy*fy); in setLength() 356 fx /= mag; in setLength() 358 SkFixed xx = (int)floorf(fx * 65536 + 0.5f); in setLength()
|
D | SkBitmapProcState.cpp | 301 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) argument 303 #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF) argument 314 #define TILEX_PROCF(fx, max) (((fx) & 0xFFFF) * ((max) + 1) >> 16) argument 316 #define TILEX_LOW_BITS(fx, max) ((((fx) & 0xFFFF) * ((max) + 1) >> 12) & 0xF) argument 327 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) argument 329 #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF) argument
|
D | SkScan_Antihair.cpp | 152 static SkFixed vline(int y, int stopy, SkFixed fx, SkFixed /*slope*/, in vline() argument 155 fx += SK_Fixed1/2; in vline() 157 int x = fx >> 16; in vline() 158 int a = (uint8_t)(fx >> 8); in vline() 169 return fx - SK_Fixed1/2; in vline() 172 static SkFixed vertish(int y, int stopy, SkFixed fx, SkFixed dx, in vertish() argument 184 fx += SK_Fixed1/2; in vertish() 186 int x = fx >> 16; in vertish() 187 uint8_t a = (uint8_t)(fx >> 8); in vertish() 197 fx += dx; in vertish() [all …]
|
D | SkDraw.cpp | 1341 SkFixed fx, SkFixed fy, in D1G_NoBounder_RectClip() argument 1343 int left = SkFixedFloor(fx); in D1G_NoBounder_RectClip() 1385 SkFixed fx, SkFixed fy, in D1G_NoBounder_RgnClip() argument 1387 int left = SkFixedFloor(fx); in D1G_NoBounder_RgnClip() 1422 SkFixed fx, SkFixed fy, in D1G_Bounder() argument 1424 int left = SkFixedFloor(fx); in D1G_Bounder() 1463 SkFixed fx, SkFixed fy, in D1G_Bounder_AAClip() argument 1465 int left = SkFixedFloor(fx); in D1G_Bounder_AAClip() 1471 D1G_NoBounder_RectClip(state, fx, fy, glyph); in D1G_Bounder_AAClip() 1580 SkFixed fx = SkScalarToFixed(x); in drawText() local [all …]
|
/external/skia/tests/ |
D | ClampRangeTest.cpp | 35 static int classify_value(SkFixed fx, int v0, int v1) { in classify_value() argument 36 if (fx <= 0) { in classify_value() 39 if (fx >= 0xFFFF) { in classify_value() 50 SkFixed fx, SkFixed dx, int count) { in slow_check() argument 55 fx = range.fFx1; in slow_check() 57 R_ASSERT(fx >= 0 && fx <= 0xFFFF); in slow_check() 58 fx += dx; in slow_check() 62 int v = classify_value(fx, V0, V1); in slow_check() 64 fx += dx; in slow_check() 66 if (range.fCount1 > 0 && fx != range.fFx1) { in slow_check() [all …]
|
/external/skia/src/opts/ |
D | SkBitmapProcState_opts_SSE2.cpp | 255 SkFixed fx; in ClampX_ClampY_filter_scale_SSE2() local 265 fx = SkScalarToFixed(pt.fX) - (one >> 1); in ClampX_ClampY_filter_scale_SSE2() 268 if (dx > 0 && (unsigned)(fx >> 16) <= maxX && in ClampX_ClampY_filter_scale_SSE2() 269 (unsigned)((fx + dx * (count - 1)) >> 16) < maxX) { in ClampX_ClampY_filter_scale_SSE2() 273 SkASSERT((fx >> (16 + 14)) == 0); in ClampX_ClampY_filter_scale_SSE2() 274 *xy++ = (fx >> 12 << 14) | ((fx >> 16) + 1); in ClampX_ClampY_filter_scale_SSE2() 275 fx += dx; in ClampX_ClampY_filter_scale_SSE2() 281 __m128i wide_fx = _mm_set_epi32(fx + dx * 3, fx + dx * 2, in ClampX_ClampY_filter_scale_SSE2() 282 fx + dx, fx); in ClampX_ClampY_filter_scale_SSE2() 294 fx += dx * 4; in ClampX_ClampY_filter_scale_SSE2() [all …]
|
/external/skia/src/effects/ |
D | SkGradientShader.cpp | 901 unsigned fi = fx >> Gradient_Shader::kCache32Shift; \ 903 fx += dx; \ 910 typedef void (*LinearShadeProc)(TileProc proc, SkFixed dx, SkFixed fx, 916 void shadeSpan_linear_vertical(TileProc proc, SkFixed dx, SkFixed fx, in shadeSpan_linear_vertical() argument 923 unsigned fullIndex = proc(fx); in shadeSpan_linear_vertical() 934 void shadeSpan_linear_vertical_lerp(TileProc proc, SkFixed dx, SkFixed fx, in shadeSpan_linear_vertical_lerp() argument 941 unsigned fullIndex = proc(fx); in shadeSpan_linear_vertical_lerp() 955 void shadeSpan_linear_clamp(TileProc proc, SkFixed dx, SkFixed fx, in shadeSpan_linear_clamp() argument 960 range.init(fx, dx, count, 0, Gradient_Shader::kGradient32Length); in shadeSpan_linear_clamp() 971 fx = range.fFx1; in shadeSpan_linear_clamp() [all …]
|
/external/opencv/cv/src/ |
D | cvundistort.cpp | 53 float fx = intrinsic_matrix[0], fy = intrinsic_matrix[4]; in icvUnDistort_8u_CnR() local 54 float ifx = 1.f/fx, ify = 1.f/fy; in icvUnDistort_8u_CnR() 69 float _x = fx*(x*kr + p1*_2xy + p2*(r2 + 2*x2)) + x0; in icvUnDistort_8u_CnR() 106 float fx, float fy, float cx, float cy, float k1, float k2, uchar *pBuffer ); 193 float u0, v0, fx, fy, ifx, ify, x0, y0, k1, k2, k3, p1, p2; in cvInitUndistortMap() local 231 fx = a[0]; fy = a[4]; in cvInitUndistortMap() 232 ifx = 1.f/fx; ify = 1.f/fy; in cvInitUndistortMap() 248 double _x = fx*(x*kr + p1*_2xy + p2*(r2 + 2*x2)) + x0; in cvInitUndistortMap() 277 double fx, fy, u0, v0, k1, k2, k3, p1, p2; in cvInitUndistortRectifyMap() local 341 fx = a[0]; fy = a[4]; in cvInitUndistortRectifyMap() [all …]
|
D | cvderiv.cpp | 644 int fx = kx[k], fy = ky[k]; in icvLaplaceCol_32s16s() local 645 s0 += fx*(src1[0] + src2[0]) + fy*(src1[width] + src2[width]); in icvLaplaceCol_32s16s() 646 s1 += fx*(src1[1] + src2[1]) + fy*(src1[width+1] + src2[width+1]); in icvLaplaceCol_32s16s() 660 int fx = kx[k], fy = ky[k]; in icvLaplaceCol_32s16s() local 661 s0 += fx*(src1[0] + src2[0]) + fy*(src1[width] + src2[width]); in icvLaplaceCol_32s16s() 662 s1 += fx*(src1[1] + src2[1]) + fy*(src1[width+1] + src2[width+1]); in icvLaplaceCol_32s16s() 773 float fx = kx[k], fy = ky[k]; in icvLaplaceCol_32f() local 774 s0 += fx*(src1[0] + src2[0]) + fy*(src1[width] + src2[width]); in icvLaplaceCol_32f() 775 s1 += fx*(src1[1] + src2[1]) + fy*(src1[width+1] + src2[width+1]); in icvLaplaceCol_32f()
|
/external/clang/test/CodeGenCXX/ |
D | debug-info-fn-template.cpp | 9 T fx(XF<T> xi) { in fx() function 15 template int fx(XF<int>);
|
/external/eigen/Eigen/src/Core/arch/SSE/ |
D | MathFunctions.h | 125 Packet4f tmp = _mm_setzero_ps(), fx; variable 132 fx = pmadd(x, p4f_cephes_LOG2EF, p4f_half); 135 emm0 = _mm_cvttps_epi32(fx); 138 Packet4f mask = _mm_cmpgt_ps(tmp, fx); 140 fx = psub(tmp, mask); 142 tmp = pmul(fx, p4f_cephes_exp_C1); 143 Packet4f z = pmul(fx, p4f_cephes_exp_C2); 159 emm0 = _mm_cvttps_epi32(fx);
|
/external/skia/include/core/ |
D | SkClampRange.h | 32 void init(SkFixed fx, SkFixed dx, int count, int v0, int v1); 35 void initFor1(SkFixed fx);
|
/external/webkit/Source/WebCore/svg/ |
D | SVGRadialGradientElement.cpp | 46 DEFINE_ANIMATED_LENGTH(SVGRadialGradientElement, SVGNames::fxAttr, Fx, fx) in DEFINE_ANIMATED_LENGTH() 189 attributes.setFx(radial->fx()); in collectGradientAttributes() 225 … focalPoint = FloatPoint(attributes.fx().valueAsPercentage(), attributes.fy().valueAsPercentage()); in calculateFocalCenterPointsAndRadius() 229 focalPoint = FloatPoint(attributes.fx().value(this), attributes.fy().value(this)); in calculateFocalCenterPointsAndRadius() 256 || fx().isRelative() in selfHasRelativeLengths()
|
/external/freetype/src/autofit/ |
D | afhints.c | 187 point->fx, in af_glyph_hints_dump_points() 666 point->fx = (FT_Short)vec->x; in af_glyph_hints_reload() 731 in_x = first->fx - prev->fx; in af_glyph_hints_reload() 740 out_x = next->fx - point->fx; in af_glyph_hints_reload() 934 u = point->fx; in af_glyph_hints_align_strong_points() 1288 point->x = FT_MulFix( point->fx, scale ) + delta; in af_glyph_hints_scale_dim()
|
/external/skia/samplecode/ |
D | SamplePath.cpp | 62 int fx = (int)(x * 65536); in test_cubic2() local 64 printf("%g %x %x %x\n", x, ix, fx, ffx); in test_cubic2()
|
/external/webkit/PerformanceTests/SunSpider/tests/parse-only/ |
D | jquery-1.3.2.js | 3893 var e = new jQuery.fx( self, opt, name ); 3976 opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration : 3977 jQuery.fx.speeds[opt.duration] || jQuery.fx.speeds._default; 4002 fx: function( elem, options, prop ){ method 4013 jQuery.fx.prototype = { class in jQuery 4020 (jQuery.fx.step[this.prop] || jQuery.fx.step._default)( this ); 4151 jQuery.extend( jQuery.fx, { 4160 opacity: function(fx){ argument 4161 jQuery.attr(fx.elem.style, "opacity", fx.now); 4164 _default: function(fx){ argument [all …]
|