/external/skia/src/core/ |
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/skia/src/core/ |
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/effects/gradients/ |
SkLinearGradient.cpp | 48 matrix->setSinCos(-vec.fY, vec.fX, pts[0].fX, pts[0].fY); 49 matrix->postTranslate(-pts[0].fX, -pts[0].fY); 95 unsigned fi = fx >> SkGradientShaderBase::kCache32Shift; \ 97 fx += dx; \ 104 typedef void (*LinearShadeProc)(TileProc proc, SkFixed dx, SkFixed fx, 111 void shadeSpan_linear_vertical_lerp(TileProc proc, SkFixed dx, SkFixed fx, 118 unsigned fullIndex = proc(fx); 134 void shadeSpan_linear_clamp(TileProc proc, SkFixed dx, SkFixed fx, 139 range.init(fx, dx, count, 0, SkGradientShaderBase::kCache32Count - 1) 212 SkFixed dx, fx = SkScalarToFixed(srcPt.fX); local 393 SkFixed dx, fx = SkScalarToFixed(srcPt.fX); local [all...] |
SkTwoPointRadialGradient.cpp | 85 inline SkFixed two_point_radial(SkScalar b, SkScalar fx, SkScalar fy, 88 SkScalar c = SkScalarSquare(fx) + SkScalarSquare(fy) - sr2d2; 107 typedef void (* TwoPointRadialShadeProc)(SkScalar fx, SkScalar dx, 114 void shadeSpan_twopoint_clamp(SkScalar fx, SkScalar dx, 121 SkFixed t = two_point_radial(b, fx, fy, fSr2D2, foura, 126 fx += dx; 131 void shadeSpan_twopoint_mirror(SkScalar fx, SkScalar dx, 138 SkFixed t = two_point_radial(b, fx, fy, fSr2D2, foura, 143 fx += dx; 149 void shadeSpan_twopoint_repeat(SkScalar fx, SkScalar dx 279 SkScalar fx = srcPt.fX; local [all...] |
/external/skia/src/effects/gradients/ |
SkLinearGradient.cpp | 48 matrix->setSinCos(-vec.fY, vec.fX, pts[0].fX, pts[0].fY); 49 matrix->postTranslate(-pts[0].fX, -pts[0].fY); 95 unsigned fi = fx >> SkGradientShaderBase::kCache32Shift; \ 97 fx += dx; \ 104 typedef void (*LinearShadeProc)(TileProc proc, SkFixed dx, SkFixed fx, 111 void shadeSpan_linear_vertical_lerp(TileProc proc, SkFixed dx, SkFixed fx, 118 unsigned fullIndex = proc(fx); 134 void shadeSpan_linear_clamp(TileProc proc, SkFixed dx, SkFixed fx, 139 range.init(fx, dx, count, 0, SkGradientShaderBase::kCache32Count - 1) 212 SkFixed dx, fx = SkScalarToFixed(srcPt.fX); local 393 SkFixed dx, fx = SkScalarToFixed(srcPt.fX); local [all...] |
SkTwoPointRadialGradient.cpp | 85 inline SkFixed two_point_radial(SkScalar b, SkScalar fx, SkScalar fy, 88 SkScalar c = SkScalarSquare(fx) + SkScalarSquare(fy) - sr2d2; 107 typedef void (* TwoPointRadialShadeProc)(SkScalar fx, SkScalar dx, 114 void shadeSpan_twopoint_clamp(SkScalar fx, SkScalar dx, 121 SkFixed t = two_point_radial(b, fx, fy, fSr2D2, foura, 126 fx += dx; 131 void shadeSpan_twopoint_mirror(SkScalar fx, SkScalar dx, 138 SkFixed t = two_point_radial(b, fx, fy, fSr2D2, foura, 143 fx += dx; 149 void shadeSpan_twopoint_repeat(SkScalar fx, SkScalar dx 279 SkScalar fx = srcPt.fX; local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
FilterFxRepresentation.java | 75 FilterFxRepresentation fx = (FilterFxRepresentation) representation; local 76 if (fx.mNameResource == mNameResource 77 && fx.mBitmapResource == mBitmapResource) {
|
/external/chromium_org/third_party/skia/src/opts/ |
SkBitmapProcState_matrix_repeat_neon.h | 30 * #define TILEX_PROCF(fx, max) (((fx) & 0xFFFF) * ((max) + 1) >> 16) 32 * #define TILEX_LOW_BITS(fx, max) ((((fx) & 0xFFFF) * ((max) + 1) >> 12) & 0xF) 65 SkFixed fx; local 70 fx = SkScalarToFixed(pt.fY); 72 *xy++ = TILEY_PROCF(fx, maxY); 73 fx = SkScalarToFixed(pt.fX); 86 if ((unsigned)(fx >> 16) <= maxX & 174 SkFixed fx = SkScalarToFixed(srcPt.fX); local 421 SkFractionalInt fx; local 466 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1); local [all...] |
SkBitmapProcState_matrix_clamp_neon.h | 31 * #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) 33 * #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF) 67 SkFixed fx; local 72 fx = SkScalarToFixed(pt.fY); 74 *xy++ = TILEY_PROCF(fx, maxY); 75 fx = SkScalarToFixed(pt.fX); 88 if ((unsigned)(fx >> 16) <= maxX & 176 SkFixed fx = SkScalarToFixed(srcPt.fX); local 491 SkFixed fx; local 605 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1); local [all...] |
/external/skia/src/opts/ |
SkBitmapProcState_matrix_repeat_neon.h | 30 * #define TILEX_PROCF(fx, max) (((fx) & 0xFFFF) * ((max) + 1) >> 16) 32 * #define TILEX_LOW_BITS(fx, max) ((((fx) & 0xFFFF) * ((max) + 1) >> 12) & 0xF) 65 SkFixed fx; local 70 fx = SkScalarToFixed(pt.fY); 72 *xy++ = TILEY_PROCF(fx, maxY); 73 fx = SkScalarToFixed(pt.fX); 86 if ((unsigned)(fx >> 16) <= maxX & 174 SkFixed fx = SkScalarToFixed(srcPt.fX); local 421 SkFractionalInt fx; local 466 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1); local [all...] |
SkBitmapProcState_matrix_clamp_neon.h | 31 * #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) 33 * #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF) 67 SkFixed fx; local 72 fx = SkScalarToFixed(pt.fY); 74 *xy++ = TILEY_PROCF(fx, maxY); 75 fx = SkScalarToFixed(pt.fX); 88 if ((unsigned)(fx >> 16) <= maxX & 176 SkFixed fx = SkScalarToFixed(srcPt.fX); local 491 SkFixed fx; local 605 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1); local [all...] |
/frameworks/av/media/libeffects/factory/ |
EffectsFactory.c | 83 effect_entry_t *fx = (effect_entry_t *)self; local 85 if (fx->lib == NULL) { 89 pthread_mutex_lock(&fx->lib->lock); 92 ret = (*fx->subItfe)->process(fx->subItfe, inBuffer, outBuffer); 93 pthread_mutex_unlock(&fx->lib->lock); 108 effect_entry_t *fx = (effect_entry_t *)self; local 110 if (fx->lib == NULL) { 114 pthread_mutex_lock(&fx->lib->lock); 117 ret = (*fx->subItfe)->command(fx->subItfe, cmdCode, cmdSize, pCmdData, replySize, pReplyData) 129 effect_entry_t *fx = (effect_entry_t *)self; local 149 effect_entry_t *fx = (effect_entry_t *)self; local 275 effect_entry_t *fx; local 342 effect_entry_t *fx; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_state_framebuffer.c | 184 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 + fw > fb_width) [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
svga_state_framebuffer.c | 184 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 + fw > fb_width) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGRadialGradientElement.h | 53 DECLARE_ANIMATED_LENGTH(Fx, fx)
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
gl_code.cpp | 31 float fx = centerX - eyeX; local 36 float rlf = 1.0f / sqrtf(fx*fx + fy*fy + fz*fz); 37 fx *= rlf; 50 float sy = fz * upX - fx * upZ; 51 float sz = fx * upY - fy * upX; 55 float uy = sz * fx - sx * fz; 56 float uz = sx * fy - sy * fx; 61 m[2] = -fx;
|
/frameworks/native/opengl/tests/tritex/ |
tritex.cpp | 42 float fx = centerX - eyeX; local 47 float rlf = 1.0f / sqrtf(fx*fx + fy*fy + fz*fz); 48 fx *= rlf; 61 float sy = fz * upX - fx * upZ; 62 float sz = fx * upY - fy * upX; 66 float uy = sz * fx - sx * fz; 67 float uz = sx * fy - sy * fx; 72 m[2] = -fx;
|
/frameworks/av/media/libstagefright/ |
XINGSeeker.cpp | 52 float fx; local 54 fx = 0.0f; 56 fx = 256.0f; 70 fx = fa + (fb-fa)*(percent-a); 73 *pos = (int)((1.0f/256.0f)*fx*mSizeBytes) + mFirstFramePos;
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_aalinetemp.h | 40 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, fy, line->attrPlane[attr][c]) * invW [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_aalinetemp.h | 40 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, fy, line->attrPlane[attr][c]) * invW [all...] |
/frameworks/native/opengl/tests/gl_basic/ |
gl_basic.cpp | 45 float fx = centerX - eyeX; local 50 float rlf = 1.0f / sqrtf(fx*fx + fy*fy + fz*fz); 51 fx *= rlf; 64 float sy = fz * upX - fx * upZ; 65 float sz = fx * upY - fy * upX; 69 float uy = sz * fx - sx * fz; 70 float uz = sx * fy - sy * fx; 75 m[2] = -fx;
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_cbrtl.c | 40 float ft, fx; local 92 fx = x; 93 GET_FLOAT_WORD(hx, fx);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
BitmapMesh.java | 66 float fx = w * x / WIDTH; local 67 setXY(mVerts, index, fx, fy); 68 setXY(mOrig, index, fx, fy);
|
/external/chromium_org/third_party/skia/src/svg/ |
SkSVGRadialGradient.cpp | 16 SVG_ATTRIBUTE(fx),
|