Home
last modified time | relevance | path

Searched refs:fac (Results 1 – 25 of 59) sorted by relevance

123

/external/libvpx/libvpx/vp9/encoder/
Dvp9_skin_detection.c53 const int fac = y_bsize / 8; in vp9_compute_skin_sb() local
62 for (i = mi_row; i < mi_row_limit; i += fac) { in vp9_compute_skin_sb()
64 for (j = mi_col; j < mi_col_limit; j += fac) { in vp9_compute_skin_sb()
96 for (i = mi_row; i < mi_row_limit; i += fac) { in vp9_compute_skin_sb()
97 for (j = mi_col; j < mi_col_limit; j += fac) { in vp9_compute_skin_sb()
103 if ((i == mi_row && (j == mi_col || j == mi_col_limit - fac)) || in vp9_compute_skin_sb()
104 (i == mi_row_limit - fac && (j == mi_col || j == mi_col_limit - fac))) in vp9_compute_skin_sb()
107 if (i == mi_row || i == mi_row_limit - fac || j == mi_col || in vp9_compute_skin_sb()
108 j == mi_col_limit - fac) in vp9_compute_skin_sb()
111 for (mi = -fac; mi <= fac; mi += fac) { in vp9_compute_skin_sb()
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DArchiveStreamFactoryTest.java138 ArchiveStreamFactory fac = new ArchiveStreamFactory(); in testEncodingCtor() local
139 assertNull(fac.getEntryEncoding()); in testEncodingCtor()
140 fac = new ArchiveStreamFactory(null); in testEncodingCtor()
141 assertNull(fac.getEntryEncoding()); in testEncodingCtor()
142 fac = new ArchiveStreamFactory("UTF-8"); in testEncodingCtor()
143 assertEquals("UTF-8", fac.getEntryEncoding()); in testEncodingCtor()
149 ArchiveStreamFactory fac = new ArchiveStreamFactory(); in testEncodingDeprecated() local
150 assertNull(fac.getEntryEncoding()); in testEncodingDeprecated()
151 fac.setEntryEncoding("UTF-8"); in testEncodingDeprecated()
152 assertEquals("UTF-8", fac.getEntryEncoding()); in testEncodingDeprecated()
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/
DDetectCompressorTestCase.java211 CompressorStreamFactory fac = new CompressorStreamFactory(true, in getStreamFor() local
216 return fac.createCompressorInputStream(is); in getStreamFor()
231 CompressorStreamFactory fac = new CompressorStreamFactory(); in testOverride() local
232 assertFalse(fac.getDecompressConcatenated()); in testOverride()
233 fac.setDecompressConcatenated(true); in testOverride()
234 assertTrue(fac.getDecompressConcatenated()); in testOverride()
236 fac = new CompressorStreamFactory(false); in testOverride()
237 assertFalse(fac.getDecompressConcatenated()); in testOverride()
239 fac.setDecompressConcatenated(true); in testOverride()
245 fac = new CompressorStreamFactory(true); in testOverride()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/go/llvm/
Dexecutionengine_test.go29 fac := AddFunction(mod, "fac", fac_type)
30 fac.SetFunctionCallConv(CCallConv)
31 n := fac.Param(0)
33 entry := AddBasicBlock(fac, "entry")
34 iftrue := AddBasicBlock(fac, "iftrue")
35 iffalse := AddBasicBlock(fac, "iffalse")
36 end := AddBasicBlock(fac, "end")
52 call_fac := builder.CreateCall(fac, call_fac_args, "calltmp")
92 exec_res := engine.RunFunction(fac, exec_args)
/external/llvm/bindings/go/llvm/
Dexecutionengine_test.go29 fac := AddFunction(mod, "fac", fac_type)
30 fac.SetFunctionCallConv(CCallConv)
31 n := fac.Param(0)
33 entry := AddBasicBlock(fac, "entry")
34 iftrue := AddBasicBlock(fac, "iftrue")
35 iffalse := AddBasicBlock(fac, "iffalse")
36 end := AddBasicBlock(fac, "end")
52 call_fac := builder.CreateCall(fac, call_fac_args, "calltmp")
92 exec_res := engine.RunFunction(fac, exec_args)
/external/oauth/core/src/main/java/net/oauth/signature/
DRSA_SHA1.java152 CertificateFactory fac = CertificateFactory.getInstance("X509"); in getPublicKeyFromPemCert() local
154 X509Certificate cert = (X509Certificate)fac.generateCertificate(in); in getPublicKeyFromPemCert()
160 CertificateFactory fac = CertificateFactory.getInstance("X509"); in getPublicKeyFromDerCert() local
162 X509Certificate cert = (X509Certificate)fac.generateCertificate(in); in getPublicKeyFromDerCert()
168 KeyFactory fac = KeyFactory.getInstance("RSA"); in getPublicKeyFromDer() local
170 return fac.generatePublic(pubKeySpec); in getPublicKeyFromDer()
180 KeyFactory fac = KeyFactory.getInstance("RSA"); in getPrivateKeyFromDer() local
182 return fac.generatePrivate(privKeySpec); in getPrivateKeyFromDer()
/external/fec/
Dsim.c10 double fac,rsq,v1,v2; in normal_rand() local
27 fac = sqrt(-2.0*log(rsq)/rsq); in normal_rand()
28 gset = v1*fac; in normal_rand()
30 return mean + std_dev*v2*fac; in normal_rand()
/external/apache-commons-bcel/src/examples/Mini/
Dfac.mini3 FUN fac (n) = IF n == 0 THEN 1
4 ELSE n * fac(n - 1)
10 WRITE(fac(n))
/external/toybox/toys/pending/
Dsyslogd.c103 char *fac = tk, *lvl; in resolve_config() local
108 tk = strchr(fac, '.'); in resolve_config()
114 char *nfac = strchr(fac, ','); in resolve_config()
117 if (*fac == '*') { in resolve_config()
119 if (fac[1]) return -1; in resolve_config()
121 if ((i = logger_lookup(0, fac)) == -1) return -1; in resolve_config()
124 if (nfac) fac = nfac + 1; in resolve_config()
323 int olen = len, fac, lvl; in logmsg() local
342 fac = LOG_FAC(pri); in logmsg()
361 if (!((tf->facility[lvl] & (1 << fac)) || (tf->level[fac] & (1<<lvl)))) { in logmsg()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/
Deval.pass.cpp25 double fac(double x) in fac() function
38 r += fac(a+b-1)/(fac(j) * fac(a + b - 1 - j)) * std::pow(x, j) * in I()
Deval_param.pass.cpp25 double fac(double x) in fac() function
38 r += fac(a+b-1)/(fac(j) * fac(a + b - 1 - j)) * std::pow(x, j) * in I()
/external/aac/libSACdec/src/
Dsac_dec_conceal.cpp163 FIXP_DBL fac = fDivNorm(info->cntStateFrames + 1, in SpatialDecConcealment_Apply() local
169 fMultI(fac, defaultValue - idxPrev[band]) + idxPrev[band]; in SpatialDecConcealment_Apply()
184 FIXP_DBL fac = fDivNorm(info->cntValidFrames + 1, in SpatialDecConcealment_Apply() local
190 fMultI(fac, cmpIdxData[numParamSets - 1][band] - defaultValue) + in SpatialDecConcealment_Apply()
/external/python/cpython3/Lib/test/
Dtest_ast.py649 def _check_arguments(self, fac, check): argument
663 return fac(args)
690 def fac(args): function
692 self._check_arguments(fac, self.stmt)
850 def fac(args): function
852 self._check_arguments(fac, self.expr)
871 def _check_comprehension(self, fac): argument
872 self.expr(fac([]), "comprehension with no generators")
875 self.expr(fac([g]), "must have Store context")
878 self.expr(fac([g]), "must have Load context")
[all …]
/external/libxaac/decoder/
Dixheaacd_sbrdec_lpfuncs.c981 FLOAT32 fac = 0.0f; in ixheaacd_generate_hf() local
1025 fac = 1.0f / str_auto_corr.det; in ixheaacd_generate_hf()
1030 fac; in ixheaacd_generate_hf()
1035 fac; in ixheaacd_generate_hf()
1041 fac = 1.0f / str_auto_corr.phi_1_1; in ixheaacd_generate_hf()
1045 fac; in ixheaacd_generate_hf()
1049 fac; in ixheaacd_generate_hf()
1184 fac = 1.0f / str_auto_corr.det; in ixheaacd_generate_hf()
1189 fac; in ixheaacd_generate_hf()
1194 fac; in ixheaacd_generate_hf()
[all …]
Dixheaacd_avq_dec.c185 WORD32 i, j, a[8], w[8], base, fac, fac_b, target; in ixheaacd_gosset_rank_of_permutation() local
209 fac = fac_b * ixheaacd_factorial_7[i]; in ixheaacd_gosset_rank_of_permutation()
212 target -= w[++j] * fac; in ixheaacd_gosset_rank_of_permutation()
216 target += w[j] * fac; in ixheaacd_gosset_rank_of_permutation()
Dixheaacd_arith_dec.c1995 WORD32 fac = 0, length = 0; in ixheaacd_apply_scfs_and_nf() local
2017 fac = (WORD32)(factors[sfb_offset + sfb] - SF_OFFSET); in ixheaacd_apply_scfs_and_nf()
2035 if (band_quantized_to_zero && noise_filling) fac += (noise_offset - 16); in ixheaacd_apply_scfs_and_nf()
2039 exp = fac >> 2; in ixheaacd_apply_scfs_and_nf()
2040 frac = fac & 3; in ixheaacd_apply_scfs_and_nf()
2044 if (fac < 0) in ixheaacd_apply_scfs_and_nf()
Dixheaacd_acelp_info.h27 WORD32 fac[NUM_FRAMES * FAC_LENGTH]; member
/external/aac/libSBRenc/src/
Dton_corr.cpp160 FIXP_DBL alphar[2], alphai[2], fac; in FDKsbrEnc_CalculateTonalityQuotas() local
238 fac = fMultDiv2(ac->r00r, ac->r11r) >> 1; in FDKsbrEnc_CalculateTonalityQuotas()
252 fac = fMultDiv2(ac->r00r, fMult(ac->det, ac->r11r)) >> in FDKsbrEnc_CalculateTonalityQuotas()
256 if (fac == FL2FXCONST_DBL(0.0f)) { in FDKsbrEnc_CalculateTonalityQuotas()
272 denom = (fac >> 1) + in FDKsbrEnc_CalculateTonalityQuotas()
273 (fMultDiv2(fac, RELAXATION_FRACT) >> RELAXATION_SHIFT) - num; in FDKsbrEnc_CalculateTonalityQuotas()
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/
DGraggBulirschStoerIntegrator.java718 double fac = stepControl2 / FastMath.pow(error / stepControl1, exp); in integrate() local
720 fac = FastMath.max(pow / stepControl4, FastMath.min(1 / pow, fac)); in integrate()
721 optimalStep[k] = FastMath.abs(filterStep(stepSize * fac, forward, true)); in integrate()
/external/aac/libAACdec/src/
Dusacdec_lpc.cpp302 INT a[8], w[8], B, fac, fac_B, target; in re8_decode_rank_of_permutation() local
351 fac = fac_B * fdk_dec_tab_factorial[i]; /* fac = 1..5040 */ in re8_decode_rank_of_permutation()
354 target -= w[++j] * fac; in re8_decode_rank_of_permutation()
358 target += w[j] * fac; /* target = fac_B*B*rank */ in re8_decode_rank_of_permutation()
Dusacdec_acelp.cpp406 FIXP_DBL fac, L_tmp, gc_thres; in noise_enhancer() local
429 fac = (FX_SGL2FX_DBL(stab_fac) >> (SF_PFAC + 1)) - in noise_enhancer()
432 FDK_ASSERT(fac >= (FIXP_DBL)0); in noise_enhancer()
435 gain_code = fMult(fac, L_tmp) - in noise_enhancer()
436 fMult(FL2FXCONST_DBL(-1.0f / (1 << (SF_PFAC + SF_STAB))) + fac, in noise_enhancer()
Dusacdec_lpd.cpp414 FIXP_DBL max, fac; in CLpd_AdaptLowFreqDeemph() local
451 fac = FL2FX_DBL(0.1f) >> 1; in CLpd_AdaptLowFreqDeemph()
480 if (tmp > fac) { in CLpd_AdaptLowFreqDeemph()
481 fac = tmp; in CLpd_AdaptLowFreqDeemph()
489 x0 = fMultDiv2(x0, fac); in CLpd_AdaptLowFreqDeemph()
490 x1 = fMultDiv2(x1, fac); in CLpd_AdaptLowFreqDeemph()
498 *alfd_gains++ = fac; in CLpd_AdaptLowFreqDeemph()
/external/dnsmasq/src/
Doption.c1540 int fac = 1; in one_opt() local
1545 fac *= 24; in one_opt()
1549 fac *= 60; in one_opt()
1553 fac *= 60; in one_opt()
1560 new->lease_time = atoi(a[leasepos]) * fac; in one_opt()
1632 int fac = 1; in one_opt() local
1640 fac *= 24; in one_opt()
1644 fac *= 60; in one_opt()
1648 fac *= 60; in one_opt()
1675 new->lease_time = atoi(a[j]) * fac; in one_opt()
/external/clang/test/SemaCXX/
Dcxx1y-deduced-return-type.cpp75 auto fac(int n) { in fac() function
78 return n * fac(n-1); // ok in fac()
/external/tensorflow/tensorflow/python/training/
Dlearning_rate_decay_test.py369 fac = 1.0
373 fac *= m_mul
376 decay = fac * 0.5 * (1.0 + math.cos(math.pi * completed_fraction))

123