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

1 2 3 4 5 6 7 8

  /external/skia/tests/
ClampRangeTest.cpp 35 static int classify_value(SkFixed fx, int v0, int v1) {
36 if (fx <= 0) {
39 if (fx >= 0xFFFF) {
50 SkFixed fx, SkFixed dx, int count) {
55 fx = range.fFx1;
57 R_ASSERT(fx >= 0 && fx <= 0xFFFF);
58 fx += dx;
62 int v = classify_value(fx, V0, V1);
64 fx += dx
114 SkFixed fx = rand.nextS() >> 1; local
123 SkFixed fx = rand.nextS(); local
    [all...]
  /external/chromium_org/third_party/skia/src/opts/
SkBitmapProcState_matrixProcs_neon.cpp 15 static void decal_nofilter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
16 static void decal_filter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
23 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max)
25 #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF)
31 #define TILEX_PROCF(fx, max) SK_USHIFT16(((fx) & 0xFFFF) * ((max) + 1))
33 #define TILEX_LOW_BITS(fx, max) ((((fx) & 0xFFFF) * ((max) + 1) >> 12) & 0xF
    [all...]
SkBitmapProcState_opts_SSE2.cpp 256 SkFixed fx; local
265 // now initialize fx
266 fx = SkScalarToFixed(pt.fX) - (one >> 1);
269 if (dx > 0 && (unsigned)(fx >> 16) <= maxX &&
270 (unsigned)((fx + dx * (count - 1)) >> 16) < maxX) {
274 SkASSERT((fx >> (16 + 14)) == 0);
275 *xy++ = (fx >> 12 << 14) | ((fx >> 16) + 1);
276 fx += dx
378 SkFixed fx; local
500 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1); local
574 SkFixed fx = SkScalarToFixed(srcPt.fX); local
    [all...]
  /external/skia/src/opts/
SkBitmapProcState_matrixProcs_neon.cpp 15 static void decal_nofilter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
16 static void decal_filter_scale_neon(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
23 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max)
25 #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF)
31 #define TILEX_PROCF(fx, max) SK_USHIFT16(((fx) & 0xFFFF) * ((max) + 1))
33 #define TILEX_LOW_BITS(fx, max) ((((fx) & 0xFFFF) * ((max) + 1) >> 12) & 0xF
    [all...]
SkBitmapProcState_opts_SSE2.cpp 256 SkFixed fx; local
265 // now initialize fx
266 fx = SkScalarToFixed(pt.fX) - (one >> 1);
269 if (dx > 0 && (unsigned)(fx >> 16) <= maxX &&
270 (unsigned)((fx + dx * (count - 1)) >> 16) < maxX) {
274 SkASSERT((fx >> (16 + 14)) == 0);
275 *xy++ = (fx >> 12 << 14) | ((fx >> 16) + 1);
276 fx += dx
378 SkFixed fx; local
500 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1); local
574 SkFixed fx = SkScalarToFixed(srcPt.fX); local
    [all...]
  /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/effects/gradients/
SkClampRange.cpp 36 void SkClampRange::initFor1(SkFixed fx) {
38 if (fx <= 0) {
40 } else if (fx < 0xFFFF) {
42 fFx1 = fx;
62 int64_t fx = fx0; local
65 int64_t ex = fx + (count - 1) * dx;
68 if ((uint64_t)(fx | ex) <= 0xFFFF) {
74 if (fx <= 0 && ex <= 0) {
79 if (fx >= 0xFFFF && ex >= 0xFFFF) {
97 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.
32 void init(SkFixed fx, SkFixed dx, int count, int v0, int v1);
35 void initFor1(SkFixed fx);
SkLinearGradient.cpp 49 matrix->setSinCos(-vec.fY, vec.fX, pts[0].fX, pts[0].fY);
50 matrix->postTranslate(-pts[0].fX, -pts[0].fY);
96 unsigned fi = fx >> SkGradientShaderBase::kCache32Shift; \
98 fx += dx; \
105 typedef void (*LinearShadeProc)(TileProc proc, SkFixed dx, SkFixed fx,
112 void shadeSpan_linear_vertical_lerp(TileProc proc, SkFixed dx, SkFixed fx,
119 unsigned fullIndex = proc(fx);
135 void shadeSpan_linear_clamp(TileProc proc, SkFixed dx, SkFixed fx,
140 range.init(fx, dx, count, 0, SkGradientShaderBase::kCache32Count - 1)
213 SkFixed dx, fx = SkScalarToFixed(srcPt.fX); local
394 SkFixed dx, fx = SkScalarToFixed(srcPt.fX); local
    [all...]
  /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;
62 int64_t fx = fx0; local
65 int64_t ex = fx + (count - 1) * dx;
68 if ((uint64_t)(fx | ex) <= 0xFFFF) {
74 if (fx <= 0 && ex <= 0) {
79 if (fx >= 0xFFFF && ex >= 0xFFFF) {
97 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.
32 void init(SkFixed fx, SkFixed dx, int count, int v0, int v1);
35 void initFor1(SkFixed fx);
  /external/chromium_org/third_party/skia/src/core/
SkBitmapShaderTemplate.h 68 SkFixed fx, fy, dx, dy; local
83 fx >>= level;
91 fx = *srcXY++;
93 unsigned x = NOFILTER_BITMAP_SHADER_TILEPROC(fx, srcMaxX);
102 fx = *srcXY++;
104 unsigned x = NOFILTER_BITMAP_SHADER_TILEPROC(fx, srcMaxX);
114 // now init fx, fy, dx, dy
120 fx = SkScalarToFixed(srcPt.fX);
134 fx >>= level
212 SkFixed fx, fy, dx, dy; local
    [all...]
SkBitmapProcState_matrixProcs.cpp 42 * 2. [fx, fx+dx, fx+2dx, fx+3dx, ... fx+(count-1)dx] are all <= maxX
63 SkFixed fx = SkFractionalIntToFixed(frX); local
64 return (unsigned)SkFixedFloorToInt(fx) <= max &&
65 (unsigned)SkFixedFloorToInt(fx + dx * (count - 1)) < max;
68 void decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
69 void decal_filter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count)
    [all...]
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,
24 int ix = fx >> 16;
43 SkFilterPtrProc proc = SkGetBilinearFilterPtrProc(proc_table, fx, fy);
47 static inline SkPMColor sample_bilerpx(SkFixed fx, unsigned srcMaxX, const SkPMColor* srcPixels,
50 int ix = fx >> 16;
61 SkFilterPtrProc proc = SkGetBilinearFilterPtrXProc(proc_table, fx);
92 SkFixed fx = *srcXY++ - SK_FixedHalf; local
94 *dstC++ = sample_bilerp(fx, fy, srcMaxX, srcMaxY, srcPixels, srcRB, proc_table);
105 SkFixed fx = *srcXY++ - SK_FixedHalf local
115 SkFixed fx, fy, dx, dy; local
    [all...]
SkBitmapShader16BilerpTemplate.h 47 SkFixed fx = *srcXY++ - SK_FixedHalf; local
49 int ix = fx >> 16;
67 SkFilterProc proc = SkGetBilinearFilterProc(proc_table, fx, fy);
79 SkFixed fx, fy, dx, dy; local
81 // now init fx, fy, dx, dy
87 fx = SkScalarToFixed(srcPt.fX) - SK_FixedHalf;
100 int ix = fx >> 16;
118 SkFilterProc proc = SkGetBilinearFilterProc(proc_table, fx, fy);
125 fx += dx
156 SkFixed fx = *srcXY++ - SK_FixedHalf; local
187 SkFixed fx, fy, dx, dy; local
    [all...]
SkBitmapProcState_matrix.h 55 SkFractionalInt fx; local
60 fx = SkScalarToFractionalInt(pt.fY);
62 *xy++ = TILEY_PROCF(SkFractionalIntToFixed(fx), maxY);
63 fx = SkScalarToFractionalInt(pt.fX);
75 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) {
76 decal_nofilter_scale(xy, SkFractionalIntToFixed(fx),
84 a = TILEX_PROCF(SkFractionalIntToFixed(fx), maxX); fx += dx;
85 b = TILEX_PROCF(SkFractionalIntToFixed(fx), maxX); fx += dx
123 SkFractionalInt fx = SkScalarToFractionalInt(srcPt.fX); local
187 SkFractionalInt fx; local
231 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1); local
    [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/
SkBitmapShaderTemplate.h 68 SkFixed fx, fy, dx, dy; local
83 fx >>= level;
91 fx = *srcXY++;
93 unsigned x = NOFILTER_BITMAP_SHADER_TILEPROC(fx, srcMaxX);
102 fx = *srcXY++;
104 unsigned x = NOFILTER_BITMAP_SHADER_TILEPROC(fx, srcMaxX);
114 // now init fx, fy, dx, dy
120 fx = SkScalarToFixed(srcPt.fX);
134 fx >>= level
212 SkFixed fx, fy, dx, dy; local
    [all...]
SkBitmapProcState_matrixProcs.cpp 42 * 2. [fx, fx+dx, fx+2dx, fx+3dx, ... fx+(count-1)dx] are all <= maxX
63 SkFixed fx = SkFractionalIntToFixed(frX); local
64 return (unsigned)SkFixedFloorToInt(fx) <= max &&
65 (unsigned)SkFixedFloorToInt(fx + dx * (count - 1)) < max;
68 void decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
69 void decal_filter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count)
    [all...]
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,
24 int ix = fx >> 16;
43 SkFilterPtrProc proc = SkGetBilinearFilterPtrProc(proc_table, fx, fy);
47 static inline SkPMColor sample_bilerpx(SkFixed fx, unsigned srcMaxX, const SkPMColor* srcPixels,
50 int ix = fx >> 16;
61 SkFilterPtrProc proc = SkGetBilinearFilterPtrXProc(proc_table, fx);
92 SkFixed fx = *srcXY++ - SK_FixedHalf; local
94 *dstC++ = sample_bilerp(fx, fy, srcMaxX, srcMaxY, srcPixels, srcRB, proc_table);
105 SkFixed fx = *srcXY++ - SK_FixedHalf local
115 SkFixed fx, fy, dx, dy; local
    [all...]
SkBitmapShader16BilerpTemplate.h 47 SkFixed fx = *srcXY++ - SK_FixedHalf; local
49 int ix = fx >> 16;
67 SkFilterProc proc = SkGetBilinearFilterProc(proc_table, fx, fy);
79 SkFixed fx, fy, dx, dy; local
81 // now init fx, fy, dx, dy
87 fx = SkScalarToFixed(srcPt.fX) - SK_FixedHalf;
100 int ix = fx >> 16;
118 SkFilterProc proc = SkGetBilinearFilterProc(proc_table, fx, fy);
125 fx += dx
156 SkFixed fx = *srcXY++ - SK_FixedHalf; local
187 SkFixed fx, fy, dx, dy; local
    [all...]
SkBitmapProcState_matrix.h 55 SkFractionalInt fx; local
60 fx = SkScalarToFractionalInt(pt.fY);
62 *xy++ = TILEY_PROCF(SkFractionalIntToFixed(fx), maxY);
63 fx = SkScalarToFractionalInt(pt.fX);
75 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) {
76 decal_nofilter_scale(xy, SkFractionalIntToFixed(fx),
84 a = TILEX_PROCF(SkFractionalIntToFixed(fx), maxX); fx += dx;
85 b = TILEX_PROCF(SkFractionalIntToFixed(fx), maxX); fx += dx
123 SkFractionalInt fx = SkScalarToFractionalInt(srcPt.fX); local
187 SkFractionalInt fx; local
231 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1); local
    [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/WebKit/Source/core/svg/
SVGRadialGradientElement.idl 30 readonly attribute SVGAnimatedLength fx;
  /external/skia/bench/
InterpBench.cpp 51 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
52 SkFixed curr = SkFloatToFixed(fx);
70 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
71 int64_t curr = (int64_t)(fx * 65536 * 655536);
101 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
102 int64_t curr = (int64_t)(fx * 65536 * 655536 * 65536);
121 virtual void performTest(int16_t dst[], float fx, float dx, int count) SK_OVERRIDE {
124 tmp = SkFloatToFixed(fx); dst[i + 0] = TILE(tmp, count); fx += dx;
125 tmp = SkFloatToFixed(fx); dst[i + 1] = TILE(tmp, count); fx += dx
    [all...]

Completed in 1036 milliseconds

1 2 3 4 5 6 7 8