Searched refs:fx (Results 26 - 50 of 185) sorted by relevance

12345678

/external/skia/src/core/
H A DSkBitmapProcState_shaderproc.h30 SkFixed fx; local
50 // now initialize fx
51 fx = SkScalarToFixed(pt.fX) - (oneX >> 1);
59 unsigned subX = TILEX_LOW_BITS(fx, maxX);
60 unsigned x0 = TILEX_PROCF(fx, maxX);
61 unsigned x1 = TILEX_PROCF((fx + oneX), maxX);
71 fx += dx;
H A DSkBitmapProcState_matrix.h61 SkFractionalInt fx; local
71 // now initialize fx
72 fx = SkScalarToFractionalInt(pt.fX) - (SkFixedToFractionalInt(one) >> 1);
76 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) {
77 decal_filter_scale(xy, SkFractionalIntToFixed(fx),
83 SkFixed fixedFx = SkFractionalIntToFixed(fx);
85 fx += dx;
105 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1); local
115 *xy++ = PACK_FILTER_X_NAME(fx, maxX, oneX PREAMBLE_ARG_X);
116 fx
[all...]
/external/chromium_org/third_party/skia/src/effects/gradients/
H A DSkLinearGradient.cpp115 unsigned fi = fx >> SkGradientShaderBase::kCache32Shift; \
117 fx += dx; \
124 typedef void (*LinearShadeProc)(TileProc proc, SkFixed dx, SkFixed fx,
131 void shadeSpan_linear_vertical_lerp(TileProc proc, SkFixed dx, SkFixed fx, argument
138 unsigned fullIndex = proc(fx);
154 void shadeSpan_linear_clamp(TileProc proc, SkFixed dx, SkFixed fx, argument
159 range.init(fx, dx, count, 0, SkGradientShaderBase::kCache32Count - 1);
170 fx = range.fFx1;
191 void shadeSpan_linear_mirror(TileProc proc, SkFixed dx, SkFixed fx, argument
196 unsigned fi = mirror_8bits(fx >>
204 shadeSpan_linear_repeat(TileProc proc, SkFixed dx, SkFixed fx, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument
234 SkFixed dx, fx = SkScalarToFixed(srcPt.fX); local
325 shadeSpan16_linear_vertical(TileProc proc, SkFixed dx, SkFixed fx, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument
373 shadeSpan16_linear_mirror(TileProc proc, SkFixed dx, SkFixed fx, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument
421 SkFixed dx, fx = SkScalarToFixed(srcPt.fX); local
[all...]
H A DSkRadialGradient.cpp84 SkFixed fx = SkScalarToFixed(sfx) >> 1; local
94 unsigned xx = SkPin32(fx, -0xFFFF >> 1, 0xFFFF >> 1);
97 fx += dx;
104 unsigned xx = SkPin32(fx, -0xFFFF >> 1, 0xFFFF >> 1);
108 fx += dx;
118 void shadeSpan16_radial(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, argument
122 const SkFixed dist = SkFloatToFixed(sk_float_sqrt(fx*fx + fy*fy));
127 fx += dx;
132 void shadeSpan16_radial_mirror(SkScalar fx, SkScala argument
138 shadeSpan16_radial_repeat(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument
282 radial_completely_pinned(int fx, int dx, int fy, int dy) argument
296 no_need_for_radial_pin(int fx, int dx, int fy, int dy, int count) argument
334 SkFixed fx = SkScalarToFixed(sfx) >> 1; local
390 shadeSpan_radial(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument
404 shadeSpan_radial_mirror(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument
410 shadeSpan_radial_repeat(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument
[all...]
/external/skia/src/effects/gradients/
H A DSkLinearGradient.cpp101 unsigned fi = fx >> SkGradientShaderBase::kCache32Shift; \
103 fx += dx; \
110 typedef void (*LinearShadeProc)(TileProc proc, SkFixed dx, SkFixed fx,
117 void shadeSpan_linear_vertical_lerp(TileProc proc, SkFixed dx, SkFixed fx, argument
124 unsigned fullIndex = proc(fx);
140 void shadeSpan_linear_clamp(TileProc proc, SkFixed dx, SkFixed fx, argument
145 range.init(fx, dx, count, 0, SkGradientShaderBase::kCache32Count - 1);
156 fx = range.fFx1;
177 void shadeSpan_linear_mirror(TileProc proc, SkFixed dx, SkFixed fx, argument
182 unsigned fi = mirror_8bits(fx >>
190 shadeSpan_linear_repeat(TileProc proc, SkFixed dx, SkFixed fx, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument
220 SkFixed dx, fx = SkScalarToFixed(srcPt.fX); local
311 shadeSpan16_linear_vertical(TileProc proc, SkFixed dx, SkFixed fx, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument
359 shadeSpan16_linear_mirror(TileProc proc, SkFixed dx, SkFixed fx, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument
407 SkFixed dx, fx = SkScalarToFixed(srcPt.fX); local
[all...]
/external/libedit/src/
H A Drefresh.c452 * the line. fx and sx is the number of characters inserted or deleted
457 re_clear_eol(EditLine *el, int fx, int sx, int diff) argument
460 ELRE_DEBUG(1, (__F, "re_clear_eol sx %d, fx %d, diff %d\n",
461 sx, fx, diff));
463 if (fx < 0)
464 fx = -fx;
467 if (fx > diff)
468 diff = fx;
506 int fx, s local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_state_framebuffer.c184 float fx = viewport->scale[0] * -1.0 + viewport->translate[0]; local
197 "\ninitial %f,%f %fx%f\n",
198 fx,
219 fx = viewport->scale[0] * 1.0 + viewport->translate[0];
230 if (fx < 0) {
231 prescale.translate[0] += fx;
232 prescale.scale[0] *= fw / (fw + fx);
233 fw += fx;
234 fx = 0;
249 if (fx
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state_framebuffer.c184 float fx = viewport->scale[0] * -1.0 + viewport->translate[0]; local
197 "\ninitial %f,%f %fx%f\n",
198 fx,
219 fx = viewport->scale[0] * 1.0 + viewport->translate[0];
230 if (fx < 0) {
231 prescale.translate[0] += fx;
232 prescale.scale[0] *= fw / (fw + fx);
233 fw += fx;
234 fx = 0;
249 if (fx
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkBitmapProcState_matrix.h61 SkFractionalInt fx; local
71 // now initialize fx
72 fx = SkScalarToFractionalInt(pt.fX) - (SkFixedToFractionalInt(one) >> 1);
76 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) {
77 decal_filter_scale(xy, SkFractionalIntToFixed(fx),
83 SkFixed fixedFx = SkFractionalIntToFixed(fx);
85 fx += dx;
105 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1); local
115 *xy++ = PACK_FILTER_X_NAME(fx, maxX, oneX PREAMBLE_ARG_X);
116 fx
[all...]
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-176.js49 "foo".match(/(?:(?=(f)o)fx)?./),
/external/pdfium/core/src/fxcrt/
H A Dfx_basic_coords.cpp430 FX_FLOAT fx = a * dx, fy = b * dx;
431 return FXSYS_sqrt(fx * fx + fy * fy);
435 FX_FLOAT fx = a * dx, fy = b * dx;
436 return FXSYS_round(FXSYS_sqrt(fx * fx + fy * fy));
440 FX_FLOAT fx = c * dy, fy = d * dy;
441 return FXSYS_sqrt(fx * fx + fy * fy);
445 FX_FLOAT fx
[all...]
/external/eigen/Eigen/src/Core/arch/SSE/
H A DMathFunctions.h129 Packet4f tmp = _mm_setzero_ps(), fx; local
136 fx = pmadd(x, p4f_cephes_LOG2EF, p4f_half);
139 fx = _mm_floor_ps(fx);
141 emm0 = _mm_cvttps_epi32(fx);
144 Packet4f mask = _mm_cmpgt_ps(tmp, fx);
146 fx = psub(tmp, mask);
149 tmp = pmul(fx, p4f_cephes_exp_C1);
150 Packet4f z = pmul(fx, p4f_cephes_exp_C2);
166 emm0 = _mm_cvttps_epi32(fx);
198 Packet2d tmp = _mm_setzero_pd(), fx; local
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_aalinetemp.h40 const GLfloat fx = (GLfloat) ix; local
60 line->span.array->z[i] = (GLuint) solve_plane(fx, fy, line->zPlane);
62 line->span.array->rgba[i][RCOMP] = solve_plane_chan(fx, fy, line->rPlane);
63 line->span.array->rgba[i][GCOMP] = solve_plane_chan(fx, fy, line->gPlane);
64 line->span.array->rgba[i][BCOMP] = solve_plane_chan(fx, fy, line->bPlane);
65 line->span.array->rgba[i][ACOMP] = solve_plane_chan(fx, fy, line->aPlane);
73 const GLfloat invQ = solve_plane_recip(fx, fy, line->attrPlane[attr][3]);
76 attribArray[i][c] = solve_plane(fx, fy, line->attrPlane[attr][c]) * invQ;
85 const GLfloat invW = solve_plane_recip(fx, fy, line->wPlane);
88 attribArray[i][c] = solve_plane(fx, f
[all...]
/external/mesa3d/src/mesa/swrast/
H A Ds_aalinetemp.h40 const GLfloat fx = (GLfloat) ix; local
60 line->span.array->z[i] = (GLuint) solve_plane(fx, fy, line->zPlane);
62 line->span.array->rgba[i][RCOMP] = solve_plane_chan(fx, fy, line->rPlane);
63 line->span.array->rgba[i][GCOMP] = solve_plane_chan(fx, fy, line->gPlane);
64 line->span.array->rgba[i][BCOMP] = solve_plane_chan(fx, fy, line->bPlane);
65 line->span.array->rgba[i][ACOMP] = solve_plane_chan(fx, fy, line->aPlane);
73 const GLfloat invQ = solve_plane_recip(fx, fy, line->attrPlane[attr][3]);
76 attribArray[i][c] = solve_plane(fx, fy, line->attrPlane[attr][c]) * invQ;
85 const GLfloat invW = solve_plane_recip(fx, fy, line->wPlane);
88 attribArray[i][c] = solve_plane(fx, f
[all...]
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGRadialGradientElement.h42 SVGAnimatedLength* fx() const { return m_fx.get(); } function in class:blink::FINAL
/external/chromium_org/third_party/skia/src/svg/
H A DSkSVGRadialGradient.cpp16 SVG_ATTRIBUTE(fx),
/external/chromium_org/third_party/skia/tests/
H A DPathOpsSimplifyDegenerateThreadedTest.cpp31 int fx = f & 0x03; local
34 != (ey - dy) * (fx - dx)) {
45 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy));
55 str += sprintf(str, " path.lineTo(%d, %d);\n", fx, fy);
H A DPathOpsSimplifyTrianglesThreadedTest.cpp35 int fx = f & 0x03; local
37 if ((ex - dx) * (fy - dy) == (ey - dy) * (fx - dx)) {
48 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy));
58 str += sprintf(str, " path.lineTo(%d, %d);\n", fx, fy);
/external/skia/src/svg/
H A DSkSVGRadialGradient.cpp16 SVG_ATTRIBUTE(fx),
/external/skia/tests/
H A DPathOpsSimplifyDegenerateThreadedTest.cpp31 int fx = f & 0x03; local
34 != (ey - dy) * (fx - dx)) {
45 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy));
55 str += sprintf(str, " path.lineTo(%d, %d);\n", fx, fy);
H A DPathOpsSimplifyTrianglesThreadedTest.cpp35 int fx = f & 0x03; local
37 if ((ex - dx) * (fy - dy) == (ey - dy) * (fx - dx)) {
48 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy));
58 str += sprintf(str, " path.lineTo(%d, %d);\n", fx, fy);
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DEdgeWalkerPolygon4x4_Test.cpp29 int fx = f & 0x03; local
45 path.lineTo(fx, fy);
57 str += sprintf(str, " path.lineTo(%d, %d);\n", fx, fy);
127 int fx = f & 0x03; local
129 if ((ex - dx) * (fy - dy) == (ey - dy) * (fx - dx)) {
140 path.lineTo(fx, fy);
150 str += sprintf(str, " path.lineTo(%d, %d);\n", fx, fy);
221 int fx = f & 0x03; local
224 != (ey - dy) * (fx - dx)) {
235 path.lineTo(fx, f
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
H A Dpitch_estimator.c59 static __inline void Intrp1DQ8(int32_t *x, int32_t *fx, int32_t *y, int32_t *fy) { argument
65 if ((fx[0]>0) && (fx[2]>0)) {
66 r32=fx[1]-fx[2];
67 q32=fx[0]-fx[1];
75 /* t = (q32+r32)/(2*(q32-r32)) = (fx[0]-fx[1] + fx[
[all...]
/external/skia/experimental/Intersection/
H A DEdgeWalkerPolygon4x4_Test.cpp29 int fx = f & 0x03; local
45 path.lineTo(fx, fy);
57 str += sprintf(str, " path.lineTo(%d, %d);\n", fx, fy);
127 int fx = f & 0x03; local
129 if ((ex - dx) * (fy - dy) == (ey - dy) * (fx - dx)) {
140 path.lineTo(fx, fy);
150 str += sprintf(str, " path.lineTo(%d, %d);\n", fx, fy);
221 int fx = f & 0x03; local
224 != (ey - dy) * (fx - dx)) {
235 path.lineTo(fx, f
[all...]
/external/chromium_org/skia/ext/
H A Dconvolver_mips_dspr2.cc41 " li %[fx], 0 \n"
44 "addu $t4, %[filter_val], %[fx] \n"
45 "sll $t5, %[fx], 1 \n"
75 " addiu %[fx], %[fx], 8 \n"
83 "sll $t1, %[fx], 1 \n"
84 "addu $t2, %[filter_val], %[fx] \n"
86 "lh $t6, 0($t2) \n" // t6 = filter_val[fx]
87 "lbu $t1, 0($t0) \n" // t1 = row[fx * 4 + 0]
88 "lbu $t2, 1($t0) \n" // t2 = row[fx *
[all...]

Completed in 431 milliseconds

12345678