Home
last modified time | relevance | path

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

1234

/external/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()
Ddng_1d_table.h92 real32 fract = y - z; in Interpolate() local
94 return fTable [index ] * (1.0f - fract) + in Interpolate()
95 fTable [index + 1] * ( fract); in Interpolate()
Ddng_render.cpp407 real32 fract = y - (real32) index; in Evaluate() local
409 return kTable [index ] * (1.0f - fract) + in Evaluate()
410 kTable [index + 1] * ( fract); in Evaluate()
687 real32 fract = y - (real32) index; in EvaluateInverse() local
689 return kTable [index ] * (1.0f - fract) + in EvaluateInverse()
690 kTable [index + 1] * ( fract); in EvaluateInverse()
/external/llvm/test/CodeGen/AMDGPU/
Dllvm.AMDGPU.fract.ll7 declare float @llvm.AMDGPU.fract.f32(float) nounwind readnone
20 %fract = call float @llvm.AMDGPU.fract.f32(float %val) nounwind readnone
21 store float %fract, float addrspace(1)* %out, align 4
33 %fract = call float @llvm.AMDIL.fraction.f32(float %val) nounwind readnone
34 store float %fract, float addrspace(1)* %out, align 4
47 %fract = call float @llvm.AMDGPU.fract.f32(float %neg) nounwind readnone
48 store float %fract, float addrspace(1)* %out, align 4
62 %fract = call float @llvm.AMDGPU.fract.f32(float %neg) nounwind readnone
63 store float %fract, float addrspace(1)* %out, align 4
Dllvm.AMDGPU.fract.f64.ll6 declare double @llvm.AMDGPU.fract.f64(double) nounwind readnone
20 %fract = call double @llvm.AMDGPU.fract.f64(double %val) nounwind readnone
21 store double %fract, double addrspace(1)* %out, align 4
38 %fract = call double @llvm.AMDGPU.fract.f64(double %neg) nounwind readnone
39 store double %fract, double addrspace(1)* %out, align 4
57 %fract = call double @llvm.AMDGPU.fract.f64(double %neg) nounwind readnone
58 store double %fract, double addrspace(1)* %out, align 4
/external/mesa3d/src/glsl/builtins/ir/
Dfract.ir1 ((function fract
5 ((return (expression float fract (var_ref x)))))
10 ((return (expression vec2 fract (var_ref x)))))
15 ((return (expression vec3 fract (var_ref x)))))
20 ((return (expression vec4 fract (var_ref x)))))
/external/ppp/pppd/plugins/pppoatm/
Dtext2qos.c30 unsigned int rate,fract; in __t2q_get_rate() local
38 power = fract = 0; in __t2q_get_rate()
41 fract = fract*10+*end-48; in __t2q_get_rate()
54 while (power && fract) in __t2q_get_rate()
56 fract /= 10; in __t2q_get_rate()
60 fract *= 10; in __t2q_get_rate()
63 rate += fract; in __t2q_get_rate()
/external/libhevc/common/arm/
Dihevc_intra_pred_chroma_mode_27_to_33.s147 vand q2,q1,q3 @dup_const_fract(fract = pos & (31))
171 vsub.u8 d30,d1,d31 @32-fract(dup_const_32_fract)
182 vsub.u8 d28,d1,d29 @(ii)32-fract(dup_const_32_fract)
196 vsub.u8 d26,d1,d27 @(iii)32-fract(dup_const_32_fract)
215 vsub.u8 d24,d1,d25 @(iv)32-fract(dup_const_32_fract)
232 vsub.u8 d30,d1,d31 @(v)32-fract(dup_const_32_fract)
249 vsub.u8 d28,d1,d29 @(vi)32-fract(dup_const_32_fract)
262 vsub.u8 d26,d1,d27 @(vii)32-fract(dup_const_32_fract)
278 vand q2,q1,q3 @dup_const_fract(fract = pos & (31))
292 vsub.u8 d24,d1,d25 @(viii)32-fract(dup_const_32_fract)
[all …]
Dihevc_intra_pred_luma_mode_27_to_33.s151 vand q2,q1,q3 @dup_const_fract(fract = pos & (31))
174 vsub.u8 d30,d1,d31 @32-fract(dup_const_32_fract)
185 vsub.u8 d28,d1,d29 @(ii)32-fract(dup_const_32_fract)
199 vsub.u8 d26,d1,d27 @(iii)32-fract(dup_const_32_fract)
217 vsub.u8 d24,d1,d25 @(iv)32-fract(dup_const_32_fract)
234 vsub.u8 d30,d1,d31 @(v)32-fract(dup_const_32_fract)
251 vsub.u8 d28,d1,d29 @(vi)32-fract(dup_const_32_fract)
264 vsub.u8 d26,d1,d27 @(vii)32-fract(dup_const_32_fract)
280 vand q2,q1,q3 @dup_const_fract(fract = pos & (31))
293 vsub.u8 d24,d1,d25 @(viii)32-fract(dup_const_32_fract)
[all …]
Dihevc_intra_pred_filters_luma_mode_19_to_25.s262 vand q2,q1,q3 @dup_const_fract(fract = pos & (31))
283 vsub.u8 d30,d1,d31 @32-fract(dup_const_32_fract)
293 vsub.u8 d28,d1,d29 @(ii)32-fract(dup_const_32_fract)
307 vsub.u8 d26,d1,d27 @(iii)32-fract(dup_const_32_fract)
325 vsub.u8 d24,d1,d25 @(iv)32-fract(dup_const_32_fract)
340 vsub.u8 d30,d1,d31 @(v)32-fract(dup_const_32_fract)
356 vsub.u8 d28,d1,d29 @(vi)32-fract(dup_const_32_fract)
369 vsub.u8 d26,d1,d27 @(vii)32-fract(dup_const_32_fract)
385 vand q2,q1,q3 @dup_const_fract(fract = pos & (31))
398 vsub.u8 d24,d1,d25 @(viii)32-fract(dup_const_32_fract)
[all …]
Dihevc_intra_pred_filters_neon_intr.c2108 WORD32 pos, fract = 100, fract_prev; in ihevc_intra_pred_luma_mode_3_to_9_neonintr() local
2136 fract_prev = fract; in ihevc_intra_pred_luma_mode_3_to_9_neonintr()
2139 fract = pos & (31); in ihevc_intra_pred_luma_mode_3_to_9_neonintr()
2141 if(fract_prev < fract) in ihevc_intra_pred_luma_mode_3_to_9_neonintr()
2147 dup_const_fract = vdup_n_u8((uint8_t)fract); in ihevc_intra_pred_luma_mode_3_to_9_neonintr()
2148 dup_const_32_fract = vdup_n_u8((uint8_t)(32 - fract)); in ihevc_intra_pred_luma_mode_3_to_9_neonintr()
2224 fract_prev = fract; in ihevc_intra_pred_luma_mode_3_to_9_neonintr()
2226 fract = pos & (31); in ihevc_intra_pred_luma_mode_3_to_9_neonintr()
2227 if(fract_prev < fract) in ihevc_intra_pred_luma_mode_3_to_9_neonintr()
2232 dup_fract = vdup_n_u8((uint8_t)fract); in ihevc_intra_pred_luma_mode_3_to_9_neonintr()
[all …]
Dihevc_intra_pred_filters_chroma_mode_19_to_25.s257 vand q2,q1,q3 @dup_const_fract(fract = pos & (31))
280 vsub.u8 d30,d1,d31 @32-fract(dup_const_32_fract)
290 vsub.u8 d28,d1,d29 @(ii)32-fract(dup_const_32_fract)
304 vsub.u8 d26,d1,d27 @(iii)32-fract(dup_const_32_fract)
323 vsub.u8 d24,d1,d25 @(iv)32-fract(dup_const_32_fract)
338 vsub.u8 d30,d1,d31 @(v)32-fract(dup_const_32_fract)
354 vsub.u8 d28,d1,d29 @(vi)32-fract(dup_const_32_fract)
370 vsub.u8 d26,d1,d27 @(vii)32-fract(dup_const_32_fract)
386 vand q2,q1,q3 @dup_const_fract(fract = pos & (31))
401 vsub.u8 d24,d1,d25 @(viii)32-fract(dup_const_32_fract)
[all …]
/external/libhevc/common/
Dihevc_intra_pred_filters.c1283 WORD32 pos, fract; in ihevc_intra_pred_luma_mode_3_to_9() local
1295 fract = pos & (31); in ihevc_intra_pred_luma_mode_3_to_9()
1301 pu1_dst[col + (row * dst_strd)] = (((32 - fract) in ihevc_intra_pred_luma_mode_3_to_9()
1303 + fract * pu1_ref[ref_main_idx - 1] + 16) >> 5); in ihevc_intra_pred_luma_mode_3_to_9()
1364 WORD32 pos, fract; in ihevc_intra_pred_luma_mode_11_to_17() local
1401 fract = pos & (31); in ihevc_intra_pred_luma_mode_11_to_17()
1407 pu1_dst[col + (dst_strd * row)] = (UWORD8)(((32 - fract) in ihevc_intra_pred_luma_mode_11_to_17()
1409 + fract * ref_main[ref_main_idx + 1] + 16) >> 5); in ihevc_intra_pred_luma_mode_11_to_17()
1467 WORD32 inv_ang, inv_ang_sum, pos, fract; in ihevc_intra_pred_luma_mode_19_to_25() local
1499 fract = pos & (31); in ihevc_intra_pred_luma_mode_19_to_25()
[all …]
Dihevc_chroma_intra_pred_filters.c1140 WORD32 inv_ang, inv_ang_sum, pos, fract; in ihevc_intra_pred_chroma_mode_19_to_25() local
1178 fract = pos & (31); in ihevc_intra_pred_chroma_mode_19_to_25()
1185 pu1_dst[(row * dst_strd) + col] = (UWORD8)(((32 - fract) in ihevc_intra_pred_chroma_mode_19_to_25()
1187 + fract * ref_main[ref_main_idx_u + 2] + 16) >> 5); in ihevc_intra_pred_chroma_mode_19_to_25()
1188 pu1_dst[(row * dst_strd) + (col + 1)] = (UWORD8)(((32 - fract) in ihevc_intra_pred_chroma_mode_19_to_25()
1190 + fract * ref_main[ref_main_idx_v + 2] + 16) >> 5); in ihevc_intra_pred_chroma_mode_19_to_25()
1246 WORD32 pos, fract; in ihevc_intra_pred_chroma_mode_27_to_33() local
1258 fract = pos & (31); in ihevc_intra_pred_chroma_mode_27_to_33()
1266 pu1_dst[col + (row * dst_strd)] = (((32 - fract) in ihevc_intra_pred_chroma_mode_27_to_33()
1268 + fract * pu1_ref[ref_main_idx_u + 2] + 16) >> 5); in ihevc_intra_pred_chroma_mode_27_to_33()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DSimpleBigDecimal.java193 BigInteger fract = bigInt.subtract(floorBigInt.shiftLeft(scale)); in toString() local
196 fract = ECConstants.ONE.shiftLeft(scale).subtract(fract); in toString()
199 if ((floorBigInt.signum() == -1) && (!(fract.equals(ECConstants.ZERO)))) in toString()
206 String fractStr = fract.toString(2); in toString()
/external/deqp/framework/delibs/debase/
DdeMath.c117 double fract = frexp(x, &tmpExp); in deFractExp() local
119 return fract * 2.0; in deFractExp()
132 double fract = modf(a, &integer); in deRoundEven() local
133 if (fabs(fract) == 0.5) in deRoundEven()
/external/vulkan-validation-layers/libs/glm/gtc/
Dnoise.inl45 …detail::tvec3<T, P> pXYZ = floor(fract(detail::tvec3<T, P>(j) * detail::tvec3<T, P>(ip)) * T(7)) *…
58 …detail::tvec4<T, P> Pf = glm::fract(detail::tvec4<T, P>(Position.x, Position.y, Position.x, Positi…
67 detail::tvec4<T, P> gx = static_cast<T>(2) * glm::fract(i / T(41)) - T(1);
102 detail::tvec3<T, P> Pf0 = fract(Position); // Fractional part for interpolation
114 detail::tvec4<T, P> gy0 = fract(floor(gx0) * T(1.0 / 7.0)) - T(0.5);
115 gx0 = fract(gx0);
122 detail::tvec4<T, P> gy1 = fract(floor(gx1) * T(1.0 / 7.0)) - T(0.5);
123 gx1 = fract(gx1);
173 detail::tvec3<T, P> Pf0 = fract(P); // Fractional part for interpolation
185 detail::tvec4<T, P> gy0 = fract(floor(gx0) / T(7)) - T(0.5);
[all …]
/external/skia/src/core/
DSkScalar.cpp34 SkScalar fract = (searchKey - leftKey) / (rightKey - leftKey); in SkScalarInterpFunc() local
35 return SkScalarInterp(values[right-1], values[right], fract); in SkScalarInterpFunc()
/external/autotest/client/site_tests/graphics_dEQP/expectations/skylake/
DdEQP-GLES2.functional.hasty.Fail.bz2 ... GLES2.functional.shaders.operator.common_functions.fract.lowp_vec3_fragment 5dEQP-GLES2.functional.shaders ...
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralSamples.java208 Integer fract = getDifferentCategory(ints, keyword); in fractions() local
209 if (fract >= TENS[LIMIT_FRACTION_SAMPLES-1]) { // make sure that we always get the value in fractions()
210 toAddTo.add(new FixedDecimal(base + "." + fract)); in fractions()
216 if (fract >= TENS[i]) { in fractions()
219 … toAddTo.add(new FixedDecimal(base + fract/(double)TENS[i], visibleFractions)); in fractions()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralSamples.java210 Integer fract = getDifferentCategory(ints, keyword); in fractions() local
211 if (fract >= TENS[LIMIT_FRACTION_SAMPLES-1]) { // make sure that we always get the value in fractions()
212 toAddTo.add(new FixedDecimal(base + "." + fract)); in fractions()
218 if (fract >= TENS[i]) { in fractions()
221 … toAddTo.add(new FixedDecimal(base + fract/(double)TENS[i], visibleFractions)); in fractions()
/external/deqp/modules/gles2/functional/
Des2fShaderAlgorithmTests.cpp196 float fract = H - float(sextant); in init()
197 float vsf = v * sv * fract; in init()
/external/mesa3d/src/glsl/builtins/profiles/
D100.glsl111 float fract(float x);
112 vec2 fract(vec2 x);
113 vec3 fract(vec3 x);
114 vec4 fract(vec4 x);

1234