Home
last modified time | relevance | path

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

12345678

/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()
/external/llvm/test/CodeGen/AMDGPU/
Dllvm.amdgcn.fract.ll4 declare float @llvm.amdgcn.fract.f32(float) #0
5 declare double @llvm.amdgcn.fract.f64(double) #0
10 %fract = call float @llvm.amdgcn.fract.f32(float %src)
11 store float %fract, float addrspace(1)* %out
18 %fract = call double @llvm.amdgcn.fract.f64(double %src)
19 store double %fract, double addrspace(1)* %out
28 %fract = call float @llvm.amdgcn.fract.f32(float undef)
29 store float %fract, float addrspace(1)* %out
Dfract.ll20 %fract = fsub float %x, %floor.x
21 store float %fract, float addrspace(1)* %out
36 %fract = fsub float %x.neg, %floor.x.neg
37 store float %fract, float addrspace(1)* %out
53 %fract = fsub float %neg.abs.x, %floor.neg.abs.x
54 store float %fract, float addrspace(1)* %out
67 %fract = fsub float %x, %floor.x
69 store volatile float %fract, float addrspace(1)* %out
Dfract.f64.ll33 %fract = fsub double %x, %floor.x
34 store double %fract, double addrspace(1)* %out
61 %fract = fsub double %neg.x, %floor.neg.x
62 store double %fract, double addrspace(1)* %out
90 %fract = fsub double %neg.abs.x, %floor.neg.abs.x
91 store double %fract, double addrspace(1)* %out
104 %fract = fsub double %x, %floor.x
106 store volatile double %fract, double addrspace(1)* %out
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dllvm.amdgcn.fract.ll4 declare float @llvm.amdgcn.fract.f32(float) #0
5 declare double @llvm.amdgcn.fract.f64(double) #0
10 %fract = call float @llvm.amdgcn.fract.f32(float %src)
11 store float %fract, float addrspace(1)* %out
18 %fract = call double @llvm.amdgcn.fract.f64(double %src)
19 store double %fract, double addrspace(1)* %out
27 %fract = call float @llvm.amdgcn.fract.f32(float undef)
28 store float %fract, float addrspace(1)* %out
Dfract.ll20 %fract = fsub float %x, %floor.x
21 store float %fract, float addrspace(1)* %out
36 %fract = fsub float %x.neg, %floor.x.neg
37 store float %fract, float addrspace(1)* %out
53 %fract = fsub float %neg.abs.x, %floor.neg.abs.x
54 store float %fract, float addrspace(1)* %out
67 %fract = fsub float %x, %floor.x
69 store volatile float %fract, float addrspace(1)* %out
Dfract.f64.ll33 %fract = fsub double %x, %floor.x
34 store double %fract, double addrspace(1)* %out
61 %fract = fsub double %neg.x, %floor.neg.x
62 store double %fract, double addrspace(1)* %out
90 %fract = fsub double %neg.abs.x, %floor.neg.abs.x
91 store double %fract, double addrspace(1)* %out
104 %fract = fsub double %x, %floor.x
106 store volatile double %fract, double addrspace(1)* %out
/external/OpenCL-CTS/test_common/harness/
Dcompat.h388fract, se, exp ) sm ldexpf( (float)( 0x ## int ## fract ## UL ), se exp + ilogbf( (fl… argument
389fract, se, exp ) sm ldexp( (double)( 0x ## int ## fract ## ULL ), se exp + ilogb( (dou… argument
390fract, se, exp ) sm ldexpl( (long double)( 0x ## int ## fract ## ULL ), se exp + ilogbl( (long dou… argument
393 #define HEX_FLT( sm, int, fract, se, exp ) sm 0x ## int ## . ## fract ## p ## se ## exp ## F argument
394 #define HEX_DBL( sm, int, fract, se, exp ) sm 0x ## int ## . ## fract ## p ## se ## exp argument
395 #define HEX_LDBL( sm, int, fract, se, exp ) sm 0x ## int ## . ## fract ## p ## se ## exp ## L argument
/external/openssh/openbsd-compat/
Dfmt_scaled.c211 long long abval, fract = 0; in fmt_scaled() local
229 fract = (i == 0) ? 0 : abval % scale_factors[i]; in fmt_scaled()
232 fract /= scale_factors[i - 1]; in fmt_scaled()
237 fract = (10 * fract + 512) / 1024; in fmt_scaled()
239 if (fract == 10) { in fmt_scaled()
244 fract = 0; in fmt_scaled()
250 if (fract >= 5) { in fmt_scaled()
260 number, fract, scale_chars[unit]); in fmt_scaled()
/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_luma_mode_27_to_33.s154 vand q2,q1,q3 @dup_const_fract(fract = pos & (31))
177 vsub.u8 d30,d1,d31 @32-fract(dup_const_32_fract)
188 vsub.u8 d28,d1,d29 @(ii)32-fract(dup_const_32_fract)
202 vsub.u8 d26,d1,d27 @(iii)32-fract(dup_const_32_fract)
220 vsub.u8 d24,d1,d25 @(iv)32-fract(dup_const_32_fract)
237 vsub.u8 d30,d1,d31 @(v)32-fract(dup_const_32_fract)
254 vsub.u8 d28,d1,d29 @(vi)32-fract(dup_const_32_fract)
267 vsub.u8 d26,d1,d27 @(vii)32-fract(dup_const_32_fract)
283 vand q2,q1,q3 @dup_const_fract(fract = pos & (31))
296 vsub.u8 d24,d1,d25 @(viii)32-fract(dup_const_32_fract)
[all …]
Dihevc_intra_pred_chroma_mode_27_to_33.s151 vand q2,q1,q3 @dup_const_fract(fract = pos & (31))
175 vsub.u8 d30,d1,d31 @32-fract(dup_const_32_fract)
186 vsub.u8 d28,d1,d29 @(ii)32-fract(dup_const_32_fract)
200 vsub.u8 d26,d1,d27 @(iii)32-fract(dup_const_32_fract)
219 vsub.u8 d24,d1,d25 @(iv)32-fract(dup_const_32_fract)
236 vsub.u8 d30,d1,d31 @(v)32-fract(dup_const_32_fract)
253 vsub.u8 d28,d1,d29 @(vi)32-fract(dup_const_32_fract)
266 vsub.u8 d26,d1,d27 @(vii)32-fract(dup_const_32_fract)
282 vand q2,q1,q3 @dup_const_fract(fract = pos & (31))
296 vsub.u8 d24,d1,d25 @(viii)32-fract(dup_const_32_fract)
[all …]
Dihevc_intra_pred_filters_luma_mode_19_to_25.s266 vand q2,q1,q3 @dup_const_fract(fract = pos & (31))
287 vsub.u8 d30,d1,d31 @32-fract(dup_const_32_fract)
297 vsub.u8 d28,d1,d29 @(ii)32-fract(dup_const_32_fract)
311 vsub.u8 d26,d1,d27 @(iii)32-fract(dup_const_32_fract)
329 vsub.u8 d24,d1,d25 @(iv)32-fract(dup_const_32_fract)
344 vsub.u8 d30,d1,d31 @(v)32-fract(dup_const_32_fract)
360 vsub.u8 d28,d1,d29 @(vi)32-fract(dup_const_32_fract)
373 vsub.u8 d26,d1,d27 @(vii)32-fract(dup_const_32_fract)
389 vand q2,q1,q3 @dup_const_fract(fract = pos & (31))
402 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.s261 vand q2,q1,q3 @dup_const_fract(fract = pos & (31))
284 vsub.u8 d30,d1,d31 @32-fract(dup_const_32_fract)
294 vsub.u8 d28,d1,d29 @(ii)32-fract(dup_const_32_fract)
308 vsub.u8 d26,d1,d27 @(iii)32-fract(dup_const_32_fract)
327 vsub.u8 d24,d1,d25 @(iv)32-fract(dup_const_32_fract)
342 vsub.u8 d30,d1,d31 @(v)32-fract(dup_const_32_fract)
358 vsub.u8 d28,d1,d29 @(vi)32-fract(dup_const_32_fract)
374 vsub.u8 d26,d1,d27 @(vii)32-fract(dup_const_32_fract)
390 vand q2,q1,q3 @dup_const_fract(fract = pos & (31))
405 vsub.u8 d24,d1,d25 @(viii)32-fract(dup_const_32_fract)
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/glsl_tests/
Dfract.glsl6 ; The amdgcn.fract intrinsic can be used only if LLVM passes are able to move it.
8 ; FUNC-LABEL: {{^}}@fract:
16 #shader fs fract
20 gl_FragColor.x = fract(f);
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/
DSimpleBigDecimal.java194 BigInteger fract = bigInt.subtract(floorBigInt.shiftLeft(scale)); in toString() local
197 fract = ECConstants.ONE.shiftLeft(scale).subtract(fract); in toString()
200 if ((floorBigInt.signum() == -1) && (!(fract.equals(ECConstants.ZERO)))) in toString()
207 String fractStr = fract.toString(2); in toString()
/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/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/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/skqp/src/core/
DSkScalar.cpp33 SkScalar fract = (searchKey - leftKey) / (rightKey - leftKey); in SkScalarInterpFunc() local
34 return SkScalarInterp(values[right-1], values[right], fract); in SkScalarInterpFunc()

12345678