Home
last modified time | relevance | path

Searched refs:fract (Results 1 – 25 of 177) sorted by relevance

12345678

/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_resample.h149 const real32 *Weights32 (uint32 fract) const in Weights32() argument
154 if (fract >= kResampleSubsampleCount) in Weights32()
161 return fWeights32->Buffer_real32 () + fract * fWeightStep; in Weights32()
165 const int16 *Weights16 (uint32 fract) const in Weights16() argument
170 if (fract >= kResampleSubsampleCount) in Weights16()
177 return fWeights16->Buffer_int16 () + fract * fWeightStep; in Weights16()
238 const real32 *Weights32 (dng_point fract) const in Weights32() argument
243 if (fract.v < 0 || fract.h < 0 in Weights32()
244 || fract.v >= static_cast<int32>(kResampleSubsampleCount2D) in Weights32()
245 || fract.h >= static_cast<int32>(kResampleSubsampleCount2D)) in Weights32()
[all …]
Ddng_abort_sniffer.h141 real64 fract);
151 virtual void UpdateProgress (real64 fract);
179 real64 fract = 0.0)
185 fSniffer->StartTask (name, fract); in fSniffer()
206 void UpdateProgress (real64 fract) in UpdateProgress() argument
209 fSniffer->UpdateProgress (fract); in UpdateProgress()
Ddng_1d_table.cpp168 real64 fract = 0.0; in Expand16() local
173 table16 [j] = (uint16) (base + slope * fract); in Expand16()
175 fract += step; in Expand16()
177 if (fract > 1.0) in Expand16()
181 fract -= 1.0; in Expand16()
/third_party/cmsis/CMSIS/DSP/Source/ControllerFunctions/
Darm_sin_cos_f32.c79 float32_t fract, in; /* Temporary input, output variables */ in arm_sin_cos_f32() local
102 fract = findex - (float32_t) indexS; in arm_sin_cos_f32()
110 temp = (1.0f - fract) * f1 + fract * f2; in arm_sin_cos_f32()
116 temp = fract * temp + (3 * Df - (d2 + 2 * d1) * Dn); in arm_sin_cos_f32()
117 temp = fract * temp + d1 * Dn; in arm_sin_cos_f32()
120 *pCosVal = fract * temp + f1; in arm_sin_cos_f32()
128 temp = (1.0f - fract) * f1 + fract * f2; in arm_sin_cos_f32()
132 temp = fract * temp + (3 * Df - (d2 + 2 * d1) * Dn); in arm_sin_cos_f32()
133 temp = fract * temp + d1 * Dn; in arm_sin_cos_f32()
136 *pSinVal = fract * temp + f1; in arm_sin_cos_f32()
Darm_sin_cos_q31.c56 q31_t fract; /* Temporary input, output variables */ in arm_sin_cos_q31() local
67 fract = (theta - (indexS << CONTROLLER_Q31_SHIFT)) << 8; in arm_sin_cos_q31()
80 temp = (q63_t)fract * (temp >> 31); in arm_sin_cos_q31()
82 temp = (q63_t)fract * (temp >> 31); in arm_sin_cos_q31()
84 temp = (q63_t)fract * (temp >> 31); in arm_sin_cos_q31()
98 temp = (q63_t)fract * (temp >> 31); in arm_sin_cos_q31()
100 temp = (q63_t)fract * (temp >> 31); in arm_sin_cos_q31()
102 temp = (q63_t)fract * (temp >> 31); in arm_sin_cos_q31()
/third_party/boost/libs/math/tools/
Dibeta_data.cpp85 …T fract = boost::math::tools::continued_fraction_a(f, boost::math::policies::digits<T, boost::math… in get_ibeta_fraction1() local
86 T denom = (a * (fract + 1)); in get_ibeta_fraction1()
103 T fract = get_ibeta_fraction1(b, a, 1-x); in ibeta_fraction1() local
104 if(fract/bet > 0.75) in ibeta_fraction1()
106 fract = get_ibeta_fraction1(a, b, x); in ibeta_fraction1()
107 return std::make_pair(fract, bet - fract); in ibeta_fraction1()
109 return std::make_pair(bet - fract, fract); in ibeta_fraction1()
111 T fract = get_ibeta_fraction1(a, b, x); in ibeta_fraction1() local
112 if(fract/bet > 0.75) in ibeta_fraction1()
114 fract = get_ibeta_fraction1(b, a, 1-x); in ibeta_fraction1()
[all …]
/third_party/skia/resources/sksl/intrinsics/
DFract.sksl6 return (fract(inputVal.x) == expected.x &&
7 fract(inputVal.xy) == expected.xy &&
8 fract(inputVal.xyz) == expected.xyz &&
9 fract(inputVal.xyzw) == expected.xyzw &&
10 fract(constVal.x) == expected.x &&
11 fract(constVal.xy) == expected.xy &&
12 fract(constVal.xyz) == expected.xyz &&
13 fract(constVal.xyzw) == expected.xyzw) ? colorGreen : colorRed;
/third_party/boost/boost/math/special_functions/
Dbeta.hpp720 …T fract = boost::math::tools::continued_fraction_b(f, boost::math::policies::get_epsilon<T, Policy… in ibeta_fraction2() local
721 BOOST_MATH_INSTRUMENT_VARIABLE(fract); in ibeta_fraction2()
723 return result / fract; in ibeta_fraction2()
1006 T fract; in ibeta_imp() local
1121fract = ibeta_series(a, b, x, T(0), lanczos_type(), normalised, p_derivative, y, pol); in ibeta_imp()
1122 BOOST_MATH_INSTRUMENT_VARIABLE(fract); in ibeta_imp()
1126 fract = -(normalised ? 1 : boost::math::beta(a, b, pol)); in ibeta_imp()
1128fract = -ibeta_series(a, b, x, fract, lanczos_type(), normalised, p_derivative, y, pol); in ibeta_imp()
1129 BOOST_MATH_INSTRUMENT_VARIABLE(fract); in ibeta_imp()
1141fract = ibeta_series(a, b, x, T(0), lanczos_type(), normalised, p_derivative, y, pol); in ibeta_imp()
[all …]
/third_party/skia/third_party/externals/tint/test/intrinsics/gen/modf/
D180fed.wgsl.expected.glsl7 float fract;
12 float fract = modf(param_0, whole);
13 modf_result result = {fract, whole};
56 float fract;
61 float fract = modf(param_0, whole);
62 modf_result result = {fract, whole};
95 float fract;
100 float fract = modf(param_0, whole);
101 modf_result result = {fract, whole};
Df5f20d.wgsl.expected.glsl7 vec2 fract;
12 float2 fract = modf(param_0, whole);
13 modf_result_vec2 result = {fract, whole};
56 vec2 fract;
61 float2 fract = modf(param_0, whole);
62 modf_result_vec2 result = {fract, whole};
95 vec2 fract;
100 float2 fract = modf(param_0, whole);
101 modf_result_vec2 result = {fract, whole};
D9b75f7.wgsl.expected.glsl7 vec3 fract;
12 float3 fract = modf(param_0, whole);
13 modf_result_vec3 result = {fract, whole};
56 vec3 fract;
61 float3 fract = modf(param_0, whole);
62 modf_result_vec3 result = {fract, whole};
95 vec3 fract;
100 float3 fract = modf(param_0, whole);
101 modf_result_vec3 result = {fract, whole};
Dec2dbc.wgsl.expected.glsl7 vec4 fract;
12 float4 fract = modf(param_0, whole);
13 modf_result_vec4 result = {fract, whole};
56 vec4 fract;
61 float4 fract = modf(param_0, whole);
62 modf_result_vec4 result = {fract, whole};
95 vec4 fract;
100 float4 fract = modf(param_0, whole);
101 modf_result_vec4 result = {fract, whole};
/third_party/skia/third_party/externals/tint/test/intrinsics/
Dmodf.wgsl.expected.hlsl2 float fract;
7 float fract = modf(param_0, whole);
8 modf_result result = {fract, whole};
15 const float fract = res.fract;
Dmodf.wgsl.expected.msl6 float fract;
11 float fract = modf(param_0, whole);
12 return {fract, whole};
17 float const fract = res.fract;
Dmodf.wgsl.expected.glsl7 float fract;
12 float fract = modf(param_0, whole);
13 modf_result result = {fract, whole};
21 float tint_symbol_1 = res.fract;
/third_party/cmsis/CMSIS/DSP/Source/FastMathFunctions/
Darm_sin_q31.c55 q31_t fract; /* Temporary values for fractional values */ in arm_sin_q31() local
66 fract = (x - (index << FAST_MATH_Q31_SHIFT)) << 9; in arm_sin_q31()
73 sinVal = (q63_t) (0x80000000 - fract) * a >> 32; in arm_sin_q31()
74 sinVal = (q31_t) ((((q63_t) sinVal << 32) + ((q63_t) fract * b)) >> 32); in arm_sin_q31()
Darm_sin_q15.c55 q15_t fract; /* Temporary values for fractional values */ in arm_sin_q15() local
67 fract = (x - (index << FAST_MATH_Q15_SHIFT)) << 9; in arm_sin_q15()
74 sinVal = (q31_t) (0x8000 - fract) * a >> 16; in arm_sin_q15()
75 sinVal = (q15_t) ((((q31_t) sinVal << 16) + ((q31_t) fract * b)) >> 16); in arm_sin_q15()
Darm_cos_q15.c55 q15_t fract; /* Temporary values for fractional values */ in arm_cos_q15() local
68 fract = (x - (index << FAST_MATH_Q15_SHIFT)) << 9; in arm_cos_q15()
75 cosVal = (q31_t) (0x8000 - fract) * a >> 16; in arm_cos_q15()
76 cosVal = (q15_t) ((((q31_t) cosVal << 16) + ((q31_t) fract * b)) >> 16); in arm_cos_q15()
Darm_cos_q31.c55 q31_t fract; /* Temporary values for fractional values */ in arm_cos_q31() local
68 fract = (x - (index << FAST_MATH_Q31_SHIFT)) << 9; in arm_cos_q31()
75 cosVal = (q63_t) (0x80000000 - fract) * a >> 32; in arm_cos_q31()
76 cosVal = (q31_t) ((((q63_t) cosVal << 32) + ((q63_t) fract * b)) >> 32); in arm_cos_q31()
Darm_cos_f32.c73 float32_t cosVal, fract, in; /* Temporary input, output variables */ in arm_cos_f32() local
106 fract = findex - (float32_t) index; in arm_cos_f32()
113 cosVal = (1.0f - fract) * a + fract * b; in arm_cos_f32()
Darm_sin_f32.c74 float32_t sinVal, fract, in; /* Temporary input, output variables */ in arm_sin_f32() local
107 fract = findex - (float32_t) index; in arm_sin_f32()
114 sinVal = (1.0f - fract) * a + fract * b; in arm_sin_f32()
/third_party/skia/tests/sksl/intrinsics/
DFract.glsl8 …return ((((((fract(inputVal.x) == expected.x && fract(inputVal.xy) == expected.xy) && fract(inputV…
DFract.metal18fract(_uniforms.inputVal.x) == _uniforms.expected.x && all(fract(_uniforms.inputVal.xy) == _unifor…
/third_party/skia/third_party/externals/tint/test/bug/chromium/
D1236161.wgsl.expected.msl6 float fract;
11 float fract = modf(param_0, whole);
12 return {fract, whole};
D1236161.wgsl.expected.hlsl2 float fract;
7 float fract = modf(param_0, whole);
8 modf_result result = {fract, whole};

12345678