Home
last modified time | relevance | path

Searched refs:invScale (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/src/core/
DSkPoint3.cpp63 double invScale; in normalize() local
65 invScale = magSq; in normalize()
73 invScale = xx * xx + yy * yy + zz * zz; in normalize()
76 double scale = 1 / sqrt(invScale); in normalize()
DSkRasterPipeline.h141 float invScale; // cache of 1/scale member
/third_party/skia/tests/
DApplyGammaTest.cpp62 float invScale = 0; in check_gamma() local
65 invScale = 255.0f / alpha; in check_gamma()
69 float srcComponent = ((src & (0xff << (c * 8))) >> (c * 8)) * invScale; in check_gamma()
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_resample.cpp109 real64 invScale = (real64) srcCount / in Initialize() local
117 real64 y = x * invScale - 0.5 + (real64) srcOrigin; in Initialize()
/third_party/skia/src/shaders/
DSkImageShader.cpp437 limit_x->invScale = 1.0f / pm.width(); in doStages()
439 limit_y->invScale = 1.0f / pm.height(); in doStages()
/third_party/skia/src/opts/
DSkRasterPipeline_opts.h2304 return v - floor_(v*ctx->invScale)*ctx->scale; in exclusive_repeat()
2308 auto invLimit = ctx->invScale; in exclusive_mirror()