HomeSort by relevance Sort by last modified time
    Searched refs:fx (Results 1 - 25 of 231) sorted by null

1 2 3 4 5 6 7 8 910

  /external/clang/test/CodeGenCXX/
debug-info-fn-template.cpp 9 T fx(XF<T> xi) { function
15 template int fx(XF<int>);
  /external/chromium_org/third_party/skia/src/core/
SkBitmapProcState_utils.h 14 * 2. [fx, fx+dx, fx+2dx, fx+3dx, ... fx+(count-1)dx] are all <= maxX
35 SkFixed fx = SkFractionalIntToFixed(frX); local
36 return (unsigned)SkFixedFloorToInt(fx) <= max &&
37 (unsigned)SkFixedFloorToInt(fx + dx * (count - 1)) < max;
SkBitmapProcState_matrix_template.h 23 SkFractionalInt fx; local
28 fx = SkScalarToFractionalInt(pt.fY);
30 *xy++ = TileProc::Y(s, SkFractionalIntToFixed(fx), maxY);
31 fx = SkScalarToFractionalInt(pt.fX);
42 if (tryDecal && can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) {
43 decal_nofilter_scale(xy, SkFractionalIntToFixed(fx),
49 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
50 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx
88 SkFractionalInt fx = SkScalarToFractionalInt(srcPt.fX); local
    [all...]
SkBitmapProcState_matrixProcs.cpp 33 void decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
34 void decal_filter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
52 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max)
54 #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF)
60 static unsigned X(const SkBitmapProcState&, SkFixed fx, int max) {
61 return SkClampMax(fx >> 16, max);
89 #define TILEX_PROCF(fx, max) SK_USHIFT16(((fx) & 0xFFFF) * ((max) + 1)
    [all...]
SkBitmapProcState_shaderproc.h 30 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;
  /external/skia/src/core/
SkBitmapProcState_utils.h 14 * 2. [fx, fx+dx, fx+2dx, fx+3dx, ... fx+(count-1)dx] are all <= maxX
35 SkFixed fx = SkFractionalIntToFixed(frX); local
36 return (unsigned)SkFixedFloorToInt(fx) <= max &&
37 (unsigned)SkFixedFloorToInt(fx + dx * (count - 1)) < max;
SkBitmapProcState_matrix_template.h 23 SkFractionalInt fx; local
28 fx = SkScalarToFractionalInt(pt.fY);
30 *xy++ = TileProc::Y(s, SkFractionalIntToFixed(fx), maxY);
31 fx = SkScalarToFractionalInt(pt.fX);
42 if (tryDecal && can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) {
43 decal_nofilter_scale(xy, SkFractionalIntToFixed(fx),
49 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
50 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx
88 SkFractionalInt fx = SkScalarToFractionalInt(srcPt.fX); local
    [all...]
SkBitmapProcState_matrixProcs.cpp 33 void decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
34 void decal_filter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
52 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max)
54 #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF)
60 static unsigned X(const SkBitmapProcState&, SkFixed fx, int max) {
61 return SkClampMax(fx >> 16, max);
89 #define TILEX_PROCF(fx, max) SK_USHIFT16(((fx) & 0xFFFF) * ((max) + 1)
    [all...]
SkBitmapProcState_shaderproc.h 30 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;
  /external/chromium_org/third_party/skia/src/opts/
SkBitmapProcState_matrixProcs_neon.cpp 18 static void decal_nofilter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
19 static void decal_filter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
21 // TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max)
35 // TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max)
50 static inline int32x4_t sbpsm_clamp_tile4_low_bits(int32x4_t fx) {
53 ret = vshrq_n_s32(fx, 12);
63 // TILEX_PROCF(fx, max) (((fx)&0xFFFF)*((max)+1)>> 16
    [all...]
SkBitmapProcState_opts_SSE2.cpp 255 SkFixed fx; local
264 // now initialize fx
265 fx = SkScalarToFixed(pt.fX) - (one >> 1);
268 if (dx > 0 && (unsigned)(fx >> 16) <= maxX &&
269 (unsigned)((fx + dx * (count - 1)) >> 16) < maxX) {
273 SkASSERT((fx >> (16 + 14)) == 0);
274 *xy++ = (fx >> 12 << 14) | ((fx >> 16) + 1);
275 fx += dx
377 SkFixed fx; local
499 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1); local
573 SkFixed fx = SkScalarToFixed(srcPt.fX); local
    [all...]
SkBitmapProcState_matrix_neon.h 34 SkFractionalInt fx; local
39 fx = SkScalarToFractionalInt(pt.fY);
41 *xy++ = TILEY_PROCF(SkFractionalIntToFixed(fx), maxY);
42 fx = SkScalarToFractionalInt(pt.fX);
55 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) {
56 decal_nofilter_scale_neon(xy, SkFractionalIntToFixed(fx),
67 // now build fx/fx+dx/fx+2dx/fx+3d
121 SkFractionalInt fx = SkScalarToFractionalInt(srcPt.fX); local
299 SkFractionalInt fx; local
368 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1); local
    [all...]
  /external/skia/src/opts/
SkBitmapProcState_matrixProcs_neon.cpp 18 static void decal_nofilter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
19 static void decal_filter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
21 // TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max)
35 // TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max)
50 static inline int32x4_t sbpsm_clamp_tile4_low_bits(int32x4_t fx) {
53 ret = vshrq_n_s32(fx, 12);
63 // TILEX_PROCF(fx, max) (((fx)&0xFFFF)*((max)+1)>> 16
    [all...]
SkBitmapProcState_opts_SSE2.cpp 255 SkFixed fx; local
264 // now initialize fx
265 fx = SkScalarToFixed(pt.fX) - (one >> 1);
268 if (dx > 0 && (unsigned)(fx >> 16) <= maxX &&
269 (unsigned)((fx + dx * (count - 1)) >> 16) < maxX) {
273 SkASSERT((fx >> (16 + 14)) == 0);
274 *xy++ = (fx >> 12 << 14) | ((fx >> 16) + 1);
275 fx += dx
377 SkFixed fx; local
499 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1); local
573 SkFixed fx = SkScalarToFixed(srcPt.fX); local
    [all...]
SkBitmapProcState_matrix_neon.h 34 SkFractionalInt fx; local
39 fx = SkScalarToFractionalInt(pt.fY);
41 *xy++ = TILEY_PROCF(SkFractionalIntToFixed(fx), maxY);
42 fx = SkScalarToFractionalInt(pt.fX);
55 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) {
56 decal_nofilter_scale_neon(xy, SkFractionalIntToFixed(fx),
67 // now build fx/fx+dx/fx+2dx/fx+3d
121 SkFractionalInt fx = SkScalarToFractionalInt(srcPt.fX); local
299 SkFractionalInt fx; local
368 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1); local
    [all...]
  /external/chromium_org/third_party/skia/src/effects/gradients/
SkClampRange.cpp 36 void SkClampRange::initFor1(SkFixed fx) {
38 if (fx <= 0) {
40 } else if (fx < 0xFFFF) {
42 fFx1 = fx;
61 int64_t fx = fx0; local
64 int64_t ex = fx + (count - 1) * dx;
66 if ((uint64_t)(fx | ex) <= 0xFFFF) {
72 if (fx <= 0 && ex <= 0) {
77 if (fx >= 0xFFFF && ex >= 0xFFFF) {
94 fx = -fx
    [all...]
SkClampRange.h 16 * Iteration fixed fx by dx, clamping as you go to [0..0xFFFF], this class
20 * range1: iterate as usual fx += dx
27 SkFixed fFx1; // initial fx value for the fCount1 range.
31 void init(SkFixed fx, SkFixed dx, int count, int v0, int v1);
34 void initFor1(SkFixed fx);
  /external/skia/src/effects/gradients/
SkClampRange.cpp 36 void SkClampRange::initFor1(SkFixed fx) {
38 if (fx <= 0) {
40 } else if (fx < 0xFFFF) {
42 fFx1 = fx;
61 int64_t fx = fx0; local
64 int64_t ex = fx + (count - 1) * dx;
66 if ((uint64_t)(fx | ex) <= 0xFFFF) {
72 if (fx <= 0 && ex <= 0) {
77 if (fx >= 0xFFFF && ex >= 0xFFFF) {
94 fx = -fx
    [all...]
SkClampRange.h 16 * Iteration fixed fx by dx, clamping as you go to [0..0xFFFF], this class
20 * range1: iterate as usual fx += dx
27 SkFixed fFx1; // initial fx value for the fCount1 range.
31 void init(SkFixed fx, SkFixed dx, int count, int v0, int v1);
34 void initFor1(SkFixed fx);
SkRadialGradient.cpp 62 matrix->setTranslate(-center.fX, -center.fY);
84 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,
122 const SkFixed dist = SkFloatToFixed(sk_float_sqrt(fx*fx + fy*fy));
127 fx += dx
322 SkFixed fx = SkScalarToFixed(sfx) >> 1; local
    [all...]
  /external/chromium_org/third_party/skia/tests/
ClampRangeTest.cpp 35 const SkFixed fx, SkFixed dx, int count) {
38 // If dx is large, fx will overflow if updated naively. So we use more bits.
39 int64_t bigfx = fx;
58 static void test_range(SkFixed fx, SkFixed dx, int count) {
60 range.init(fx, dx, count, kV0, kV1);
61 slow_check(range, fx, dx, count);
89 SkFixed fx = rand.nextS() >> 1; local
92 SkFixed dx = (sx - fx) / count;
93 test_range(fx, dx, count);
100 SkFixed fx = rand.nextS()
    [all...]
  /external/skia/tests/
ClampRangeTest.cpp 35 const SkFixed fx, SkFixed dx, int count) {
38 // If dx is large, fx will overflow if updated naively. So we use more bits.
39 int64_t bigfx = fx;
58 static void test_range(SkFixed fx, SkFixed dx, int count) {
60 range.init(fx, dx, count, kV0, kV1);
61 slow_check(range, fx, dx, count);
89 SkFixed fx = rand.nextS() >> 1; local
92 SkFixed dx = (sx - fx) / count;
93 test_range(fx, dx, count);
100 SkFixed fx = rand.nextS()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGRadialGradientElement.idl 30 readonly attribute SVGAnimatedLength fx;
  /external/chromium_org/third_party/skia/bench/
InterpBench.cpp 54 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
55 SkFixed curr = SkFloatToFixed(fx);
73 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
74 int64_t curr = (int64_t)(fx * 65536 * 655536);
104 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
105 int64_t curr = (int64_t)(fx * 65536 * 655536 * 65536);
124 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
127 tmp = SkFloatToFixed(fx); dst[i + 0] = TILE(tmp, count); fx += dx;
128 tmp = SkFloatToFixed(fx); dst[i + 1] = TILE(tmp, count); fx += dx
    [all...]
  /external/skia/bench/
InterpBench.cpp 54 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
55 SkFixed curr = SkFloatToFixed(fx);
73 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
74 int64_t curr = (int64_t)(fx * 65536 * 655536);
104 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
105 int64_t curr = (int64_t)(fx * 65536 * 655536 * 65536);
124 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
127 tmp = SkFloatToFixed(fx); dst[i + 0] = TILE(tmp, count); fx += dx;
128 tmp = SkFloatToFixed(fx); dst[i + 1] = TILE(tmp, count); fx += dx
    [all...]

Completed in 973 milliseconds

1 2 3 4 5 6 7 8 910