Home
last modified time | relevance | path

Searched refs:proba (Results 1 – 22 of 22) sorted by relevance

/external/lz4/tests/
Ddatagencli.c80 double proba = (double)COMPRESSIBILITY_DEFAULT / 100; in main() local
130 proba=0.0; in main()
133 proba *= 10; in main()
134 proba += *argument - '0'; in main()
137 if (proba>100.) proba=100.; in main()
138 proba /= 100.; in main()
166 … if (proba!=COMPRESSIBILITY_DEFAULT) DISPLAYLEVEL(3, "Compressibility : %i%%\n", (U32)(proba*100)); in main()
168 RDG_genOut(size, proba, litProba, seed); in main()
Dframetest.c128 static void FUZ_fillCompressibleNoiseBuffer(void* buffer, size_t bufferSize, double proba, U32* see… in FUZ_fillCompressibleNoiseBuffer() argument
132 U32 P32 = (U32)(32768 * proba); in FUZ_fillCompressibleNoiseBuffer()
1118 int proba = FUZ_COMPRESSIBILITY_DEFAULT; in main() local
1212 proba=0; in main()
1214 proba *= 10; in main()
1215 proba += *argument - '0'; in main()
1218 if (proba<0) proba=0; in main()
1219 if (proba>100) proba=100; in main()
1238 if (proba!=FUZ_COMPRESSIBILITY_DEFAULT) DISPLAY("Compressibility : %i%%\n", proba); in main()
1242 if (testNb==0) result = basicTests(seed, ((double)proba) / 100); in main()
[all …]
Dfuzzer.c146 static void FUZ_fillCompressibleNoiseBuffer(void* buffer, size_t bufferSize, double proba, U32* see… in FUZ_fillCompressibleNoiseBuffer() argument
150 U32 const P32 = (U32)(32768 * proba); in FUZ_fillCompressibleNoiseBuffer()
1533 int proba = FUZ_COMPRESSIBILITY_DEFAULT; in main() local
1621 proba=0; in main()
1623 proba *= 10; in main()
1624 proba += *argument - '0'; in main()
1627 if (proba<0) proba=0; in main()
1628 if (proba>100) proba=100; in main()
1645 if (proba!=FUZ_COMPRESSIBILITY_DEFAULT) printf("Compressibility : %i%%\n", proba); in main()
1651 { int const result = FUZ_test(seed, nbTests, testNb, ((double)proba) / 100, duration); in main()
/external/webp/src/enc/
Dframe_enc.c98 VP8EncProba* const proba = &enc->proba_; in ResetStats() local
99 VP8CalculateLevelCosts(proba); in ResetStats()
100 proba->nb_skip_ = 0; in ResetStats()
114 VP8EncProba* const proba = &enc->proba_; in FinalizeSkipProba() local
116 const int nb_events = proba->nb_skip_; in FinalizeSkipProba()
118 proba->skip_proba_ = CalcSkipProba(nb_events, nb_mbs); in FinalizeSkipProba()
119 proba->use_skip_proba_ = (proba->skip_proba_ < SKIP_PROBA_THRESHOLD); in FinalizeSkipProba()
121 if (proba->use_skip_proba_) { in FinalizeSkipProba()
122 size += nb_events * VP8BitCost(1, proba->skip_proba_) in FinalizeSkipProba()
123 + (nb_mbs - nb_events) * VP8BitCost(0, proba->skip_proba_); in FinalizeSkipProba()
[all …]
Dcost_enc.h59 static WEBP_INLINE int VP8BitCost(int bit, uint8_t proba) { in VP8BitCost() argument
60 return !bit ? VP8EntropyCost[proba] : VP8EntropyCost[255 - proba]; in VP8BitCost()
65 void VP8CalculateLevelCosts(VP8EncProba* const proba);
Dcost_enc.c60 void VP8CalculateLevelCosts(VP8EncProba* const proba) { in VP8CalculateLevelCosts() argument
63 if (!proba->dirty_) return; // nothing to do. in VP8CalculateLevelCosts()
69 const uint8_t* const p = proba->coeffs_[ctype][band][ctx]; in VP8CalculateLevelCosts()
70 uint16_t* const table = proba->level_cost_[ctype][band][ctx]; in VP8CalculateLevelCosts()
84 proba->remapped_costs_[ctype][n][ctx] = in VP8CalculateLevelCosts()
85 proba->level_cost_[ctype][VP8EncBands[n]][ctx]; in VP8CalculateLevelCosts()
89 proba->dirty_ = 0; in VP8CalculateLevelCosts()
Dtoken_enc.c104 uint32_t bit, uint32_t proba) { in AddConstantToken() argument
105 assert(proba < 256); in AddConstantToken()
109 b->tokens_[slot] = (bit << 15) | FIXED_PROBA_BIT | proba; in AddConstantToken()
Dsyntax_enc.c190 const VP8EncProba* const proba = &enc->proba_; in PutSegmentHeader() local
208 if (VP8PutBitUniform(bw, (proba->segments_[s] != 255u))) { in PutSegmentHeader()
209 VP8PutBits(bw, proba->segments_[s], 8); in PutSegmentHeader()
/external/webp/src/dec/
Dtree_dec.c284 void VP8ResetProba(VP8Proba* const proba) { in VP8ResetProba() argument
285 memset(proba->segments_, 255u, sizeof(proba->segments_)); in VP8ResetProba()
515 VP8Proba* const proba = &dec->proba_; in VP8ParseProba() local
525 proba->bands_[t][b].probas_[c][p] = v; in VP8ParseProba()
530 proba->bands_ptr_[t][b] = &proba->bands_[t][kBands[b]]; in VP8ParseProba()
Dvp8i_dec.h275 void VP8ResetProba(VP8Proba* const proba);
Dvp8_dec.c161 VP8SegmentHeader* hdr, VP8Proba* proba) { in ParseSegmentHeader() argument
182 proba->segments_[s] = VP8Get(br, "global-header") ? in ParseSegmentHeader()
/external/zstd/tests/
Dzbufftest.c500 int proba = FUZ_COMPRESSIBILITY_DEFAULT; in main() local
580 proba=0; in main()
582 proba *= 10; in main()
583 proba += *argument - '0'; in main()
586 if (proba<0) proba=0; in main()
587 if (proba>100) proba=100; in main()
604 if (proba!=FUZ_COMPRESSIBILITY_DEFAULT) DISPLAY("Compressibility : %i%%\n", proba); in main()
609 …result = basicUnitTests(0, ((double)proba) / 100, customNULL); /* constant seed for predictabilit… in main()
612 …result = basicUnitTests(0, ((double)proba) / 100, customMem); /* use custom memory allocation fun… in main()
616 result = fuzzerTests(seed, nbTests, testNb, ((double)proba) / 100); in main()
Dzstreamtest.c2450 int proba = FUZ_COMPRESSIBILITY_DEFAULT; in main() local
2539 proba=0; in main()
2541 proba *= 10; in main()
2542 proba += *argument - '0'; in main()
2545 if (proba<0) proba=0; in main()
2546 if (proba>100) proba=100; in main()
2564 if (proba!=FUZ_COMPRESSIBILITY_DEFAULT) DISPLAY("Compressibility : %i%%\n", proba); in main()
2569 result = basicUnitTests(0, ((double)proba) / 100); /* constant seed for predictability */ in main()
2576 result = fuzzerTests(seed, nbTests, testNb, ((double)proba) / 100, bigTests); in main()
2579 result = fuzzerTests_newAPI(seed, nbTests, testNb, ((double)proba) / 100, bigTests); in main()
DplayTests.sh33 proba="$2"
36 proba=""
45 println "roundTripTest: datagen $1 $proba | zstd -v$cLevel | zstd -d$dLevel"
46 datagen $1 $proba | $MD5SUM > tmp1
47 datagen $1 $proba | zstd --ultra -v$cLevel | zstd -d$dLevel | $MD5SUM > tmp2
Dfuzzer.c3677 int proba = FUZ_compressibility_default; in main() local
3751 proba = (int)readU32FromChar(&argument); in main()
3752 if (proba>100) proba = 100; in main()
3769 if (proba!=FUZ_compressibility_default) DISPLAY("Compressibility : %i%%\n", proba); in main()
3771 probfloat = ((double)proba) / 100; in main()
3788 result = fuzzerTests(seed, nbTests, testNb, maxDuration, ((double)proba) / 100, bigTests); in main()
/external/zstd/lib/compress/
Dfse_compress.c465 short proba = (short)((count[s]*step) >> scale); in FSE_normalizeCount() local
466 if (proba<8) { in FSE_normalizeCount()
467 U64 restToBeat = vStep * rtbTable[proba]; in FSE_normalizeCount()
468 proba += (count[s]*step) - ((U64)proba<<scale) > restToBeat; in FSE_normalizeCount()
470 if (proba > largestP) { largestP=proba; largest=s; } in FSE_normalizeCount()
471 normalizedCounter[s] = proba; in FSE_normalizeCount()
472 stillToDistribute -= proba; in FSE_normalizeCount()
/external/tensorflow/tensorflow/python/keras/wrappers/
Dscikit_learn_test.py68 proba = clf.predict_proba(x_test, batch_size=BATCH_SIZE)
69 assert proba.shape == (TEST_SAMPLES, NUM_CLASSES)
70 assert np.allclose(np.sum(proba, axis=1), np.ones(TEST_SAMPLES))
/external/tensorflow/tensorflow/python/keras/engine/
Dsequential.py468 proba = self.predict(x, batch_size=batch_size, verbose=verbose)
469 if proba.shape[-1] > 1:
470 return proba.argmax(axis=-1)
472 return (proba > 0.5).astype('int32')
/external/zstd/doc/educational_decoder/
Dzstd_decompress.c2253 const i16 proba = (i16)val - 1; in FSE_decode_header() local
2259 remaining -= proba < 0 ? -proba : proba; in FSE_decode_header()
2261 frequencies[symb] = proba; in FSE_decode_header()
2268 if (proba == 0) { in FSE_decode_header()
/external/libvpx/libvpx/vp8/encoder/
Dbitstream.c188 const unsigned char *proba = b->prob; in vp8_pack_tokens() local
195 split = 1 + (((range - 1) * proba[i >> 1]) >> 8); in vp8_pack_tokens()
/external/ltp/testcases/kernel/syscalls/epoll2/man/
Depoll.txt42 the EPOLLET flag, the call to epoll_wait(2) done in step 5 will proba-
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Dinternal_raw_IPA-old.txt155855 proba %7157