/external/dng_sdk/source/ |
H A D | dng_resample.h | 149 const real32 *Weights32 (uint32 fract) const 154 if (fract >= kResampleSubsampleCount) 161 return fWeights32->Buffer_real32 () + fract * fWeightStep; 165 const int16 *Weights16 (uint32 fract) const 170 if (fract >= kResampleSubsampleCount) 177 return fWeights16->Buffer_int16 () + fract * fWeightStep; 238 const real32 *Weights32 (dng_point fract) const 243 if (fract.v < 0 || fract.h < 0 244 || fract [all...] |
H A D | dng_abort_sniffer.h | 137 /// \param fract Percentage of total processing this task is expected to 141 real64 fract); 148 /// \param fract percentage of processing completed on current task. 151 virtual void UpdateProgress (real64 fract); 174 /// \param fract Percentage of total processing this task is expected 179 real64 fract = 0.0) 185 fSniffer->StartTask (name, fract); 203 /// \param fract Percentage of processing completed on current task, 206 void UpdateProgress (real64 fract) argument 209 fSniffer->UpdateProgress (fract); [all...] |
H A D | dng_1d_table.h | 92 real32 fract = y - z; local 94 return fTable [index ] * (1.0f - fract) + 95 fTable [index + 1] * ( fract);
|
H A D | dng_1d_table.cpp | 168 real64 fract = 0.0; local 173 table16 [j] = (uint16) (base + slope * fract); 175 fract += step; 177 if (fract > 1.0) 181 fract -= 1.0;
|
H A D | dng_resample.cpp | 221 real64 fract = sample * (1.0 / (real64) kResampleSubsampleCount); local 236 real64 x = (k - fract) * scale; 277 w16 [fRadius - (fract >= 0.5 ? 0 : 1)] += (int16) (16384 - t16);
|
/external/openssh/openbsd-compat/ |
H A D | fmt_scaled.c | 211 long long abval, fract = 0; local 229 fract = (i == 0) ? 0 : abval % scale_factors[i]; 232 fract /= scale_factors[i - 1]; 237 fract = (10 * fract + 512) / 1024; 239 if (fract == 10) { 244 fract = 0; 250 if (fract >= 5) { 260 number, fract, scale_chars[unit]);
|
/external/ppp/pppd/plugins/pppoatm/ |
H A D | text2qos.c | 30 unsigned int rate,fract; local 38 power = fract = 0; 41 fract = fract*10+*end-48; 54 while (power && fract) 56 fract /= 10; 60 fract *= 10; 63 rate += fract;
|
/external/skia/src/core/ |
H A D | SkScalar.cpp | 33 SkScalar fract = (searchKey - leftKey) / (rightKey - leftKey); local 34 return SkScalarInterp(values[right-1], values[right], fract);
|
/external/deqp/framework/delibs/debase/ |
H A D | deMath.c | 117 double fract = frexp(x, &tmpExp); local 119 return fract * 2.0; 132 double fract = modf(a, &integer); local 133 if (fabs(fract) == 0.5)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
H A D | SimpleBigDecimal.java | 193 BigInteger fract = bigInt.subtract(floorBigInt.shiftLeft(scale)); 196 fract = ECConstants.ONE.shiftLeft(scale).subtract(fract); 199 if ((floorBigInt.signum() == -1) && (!(fract.equals(ECConstants.ZERO)))) 206 String fractStr = fract.toString(2);
|
/external/libhevc/common/arm/ |
H A D | ihevc_intra_pred_chroma_mode_27_to_33.s | 151 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_frac [all...] |
H A D | ihevc_intra_pred_luma_mode_27_to_33.s | 154 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_frac [all...] |
H A D | ihevc_intra_pred_filters_luma_mode_19_to_25.s | 266 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_frac [all...] |
H A D | ihevc_intra_pred_filters_chroma_mode_19_to_25.s | 261 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_frac [all...] |
H A D | ihevc_intra_pred_filters_neon_intr.c | 2108 WORD32 pos, fract = 100, fract_prev; local 2136 fract_prev = fract; 2139 fract = pos & (31); 2141 if(fract_prev < fract) 2147 dup_const_fract = vdup_n_u8((uint8_t)fract); 2148 dup_const_32_fract = vdup_n_u8((uint8_t)(32 - fract)); 2224 fract_prev = fract; 2226 fract = pos & (31); 2227 if(fract_prev < fract) 2232 dup_fract = vdup_n_u8((uint8_t)fract); 2321 WORD32 pos, fract = 1000, fract_prev; local 2582 WORD32 inv_ang, inv_ang_sum, pos, fract = 1000, fract_prev;; local 2802 WORD32 pos, fract = 0, fract_prev; local [all...] |
H A D | ihevc_intra_pred_filters_luma_mode_11_to_17.s | 307 vand d6, d6, d29 @fract values in d1/ idx values in d0 316 vsub.s8 d7, d28, d6 @32-fract 471 vand d6, d29, d26 @fract values in d1/ idx values in d0 482 vsub.s8 d7, d28, d6 @32-fract 635 vand d6, d6, d29 @fract values in d1/ idx values in d0 636 vsub.s8 d7, d28, d6 @32-fract
|
H A D | ihevc_intra_pred_luma_mode_3_to_9.s | 195 vand d6, d6, d29 @fract values in d1/ idx values in d0 206 vsub.s8 d7, d28, d6 @32-fract 362 vand d6, d29, d26 @fract values in d1/ idx values in d0 373 vsub.s8 d7, d28, d6 @32-fract 516 vand d6, d6, d29 @fract values in d1/ idx values in d0 517 vsub.s8 d7, d28, d6 @32-fract
|
H A D | ihevc_intra_pred_chroma_mode_3_to_9.s | 188 vand d6, d6, d29 @fract values in d1/ idx values in d0 202 vsub.s8 d7, d28, d6 @32-fract 367 vand d6, d29, d26 @fract values in d1/ idx values in d0 381 vsub.s8 d7, d28, d6 @32-fract
|
/external/libhevc/common/ |
H A D | ihevc_chroma_intra_pred_filters.c | 1140 WORD32 inv_ang, inv_ang_sum, pos, fract; local 1178 fract = pos & (31); 1185 pu1_dst[(row * dst_strd) + col] = (UWORD8)(((32 - fract) 1187 + fract * ref_main[ref_main_idx_u + 2] + 16) >> 5); 1188 pu1_dst[(row * dst_strd) + (col + 1)] = (UWORD8)(((32 - fract) 1190 + fract * ref_main[ref_main_idx_v + 2] + 16) >> 5); 1246 WORD32 pos, fract; local 1258 fract = pos & (31); 1266 pu1_dst[col + (row * dst_strd)] = (((32 - fract) 1268 + fract * pu1_re [all...] |
H A D | ihevc_intra_pred_filters.c | 1283 WORD32 pos, fract; local 1295 fract = pos & (31); 1301 pu1_dst[col + (row * dst_strd)] = (((32 - fract) 1303 + fract * pu1_ref[ref_main_idx - 1] + 16) >> 5); 1364 WORD32 pos, fract; local 1401 fract = pos & (31); 1407 pu1_dst[col + (dst_strd * row)] = (UWORD8)(((32 - fract) 1409 + fract * ref_main[ref_main_idx + 1] + 16) >> 5); 1467 WORD32 inv_ang, inv_ang_sum, pos, fract; local 1499 fract 1563 WORD32 two_nt, pos, fract; local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | PluralSamples.java | 212 Integer fract = getDifferentCategory(ints, keyword); 213 if (fract >= TENS[LIMIT_FRACTION_SAMPLES-1]) { // make sure that we always get the value 214 toAddTo.add(new FixedDecimal(base + "." + fract)); 218 // with visible fractions = 3, and fract = 1, then we should get x.10, 0.01 219 // with visible fractions = 3, and fract = 15, then we should get x.15, x.15 220 if (fract >= TENS[i]) { 223 toAddTo.add(new FixedDecimal(base + fract/(double)TENS[i], visibleFractions));
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | PluralSamples.java | 210 Integer fract = getDifferentCategory(ints, keyword); 211 if (fract >= TENS[LIMIT_FRACTION_SAMPLES-1]) { // make sure that we always get the value 212 toAddTo.add(new FixedDecimal(base + "." + fract)); 216 // with visible fractions = 3, and fract = 1, then we should get x.10, 0.01 217 // with visible fractions = 3, and fract = 15, then we should get x.15, x.15 218 if (fract >= TENS[i]) { 221 toAddTo.add(new FixedDecimal(base + fract/(double)TENS[i], visibleFractions));
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fShaderAlgorithmTests.cpp | 173 << " mediump float fract = H - float(sextant);" 174 << " mediump float vsf = v * sv * fract;" 196 float fract = H - float(sextant); 197 float vsf = v * sv * fract;
|
/external/mesa3d/src/compiler/nir/ |
H A D | nir_lower_double_ops.c | 395 /* If fract(src) == 0.5, then we will have to decide the rounding direction. 415 * If fract(src) != 0.5, then we round as floor(src + 0.5) 417 * If fract(src) == 0.5, then we have to check the modulo: 428 nir_ssa_def *fract = nir_ffract(b, src); local 430 nir_fne(b, fract, nir_imm_double(b, 0.5)),
|
/external/vulkan-validation-layers/libs/glm/detail/ |
H A D | func_common.hpp | 125 /// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/fract.xml">GLSL fract man page</a> 128 GLM_FUNC_DECL genType fract(genType const & x);
|