Home
last modified time | relevance | path

Searched refs:integral (Results 1 - 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/freetype/src/psaux/
H A Dpsconv.c202 FT_Fixed integral = 0; in FT_LOCAL_DEF() local
231 integral = PS_Conv_ToInt( &p, limit ); in FT_LOCAL_DEF()
236 if ( integral > 0x7FFF ) in FT_LOCAL_DEF()
239 integral = (FT_Fixed)( (FT_UInt32)integral << 16 ); in FT_LOCAL_DEF()
265 if ( !integral && power_ten > 0 ) in FT_LOCAL_DEF()
298 if ( !integral && !decimal ) in FT_LOCAL_DEF()
308 if ( integral >= 0xCCCCCCCL ) in FT_LOCAL_DEF()
310 integral *= 10; in FT_LOCAL_DEF()
326 integral / in FT_LOCAL_DEF()
[all...]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/math/
H A DFixed1616.java25 public static int integral(int fixed) { in integral() method in Fixed1616
33 public static int fixed(int integral, int fractional) { in fixed() argument
34 return ((integral & 0xffff) << 16) | (fractional & 0xffff); in fixed()
47 sb.append(Fixed1616.integral(fixed)); in toString()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/math/
H A Dfixed1616.h34 static inline int32_t Fixed(int32_t integral, int32_t fractional) { in Fixed() argument
35 return ((integral & 0xffff) << 16) | (fractional & 0xffff); in Fixed()
/third_party/skia/src/core/
H A DSkBlurMF.cpp509 // we want the inset amounts to be integral, so we don't change any in filterRectsToNine()
967 std::unique_ptr<GrFragmentProcessor> integral = make_rect_integral_fp(context, sixSigma); in make_rect_blur() local
968 if (!integral) { in make_rect_blur()
972 // In the fast variant we think of the midpoint of the integral texture as aligning with the in make_rect_blur()
983 // lookup in the integral texture for each and multiply them. When the rect is less than 6 sigma in make_rect_blur()
989 // Effect that is a LUT for integral of normal distribution. The value at x:[0,6*sigma] is in make_rect_blur()
990 // the integral from -inf to (3*sigma - x). I.e. x is mapped from [0, 6*sigma] to in make_rect_blur()
992 uniform shader integral; in make_rect_blur()
1002 // The integral texture goes "backwards" (from 3*sigma to -3*sigma), So, the below in make_rect_blur()
1003 // computations align the left edge of the integral textur in make_rect_blur()
1142 eval_V(float top, int y, const uint8_t* integral, int integralSize, float sixSigma) eval_V() argument
1163 eval_H(int x, int y, const std::vector<float>& topVec, const float* kernel, int kernelSize, const uint8_t* integral, int integralSize, float sixSigma) eval_H() argument
1212 SkBitmap integral; create_mask_on_cpu() local
[all...]
H A DSkGpuBlurUtils.cpp813 // The texture we're producing represents the integral of a normal distribution over a in CreateIntegralTable()
833 float integral = 0.5f * (std::erf(x) + 1.f); in CreateIntegralTable() local
834 *table->getAddr8(i, 0) = SkToU8(sk_float_round2int(255.f * integral)); in CreateIntegralTable()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl3cClipDistance.cpp841 /* Calculate surface/line integral */ in checkResults()
842 glw::GLfloat integral = 0.f; in checkResults() local
845 glw::GLuint(sqrt(glw::GLfloat(results.size()))) + 1 /* line integral */ : in checkResults()
846 1 /* surface integral */); in checkResults()
848 glw::GLuint(sqrt(glw::GLfloat(results.size()))) /* line integral */ : in checkResults()
849 results.size() /* surface integral */); in checkResults()
853 integral += results[i_pixels]; in checkResults()
856 integral /= static_cast<glw::GLfloat>(base); in checkResults()
861 if (fabs(m_expected_integral[i_primitive_type * m_clip_function_count + clip_function] - integral) > in checkResults()
965 /* @brief Expected results of testing integral fo
[all...]
/third_party/skia/gm/
H A Dblurrect.cpp372 // integral of just the kernel from rect top to rect bottom and multiply by in prepareReferenceMasks()
376 auto integral = def_integral_approx(tdiff, bdiff); in prepareReferenceMasks()
380 accums[x] += integral * row[rowIdx]; in prepareReferenceMasks()
/third_party/mksh/
H A Dshf.c921 goto integral; in shf_vfprintf()
935 integral: in shf_vfprintf()
/third_party/ffmpeg/libavfilter/
H A DMakefile618 TESTPROGS = drawutils filtfmts formats integral

Completed in 11 milliseconds