/external/lz4/tests/ |
D | datagencli.c | 80 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()
|
D | frametest.c | 124 static void FUZ_fillCompressibleNoiseBuffer(void* buffer, size_t bufferSize, double proba, U32* see… in FUZ_fillCompressibleNoiseBuffer() argument 128 U32 P32 = (U32)(32768 * proba); in FUZ_fillCompressibleNoiseBuffer() 751 int proba = FUZ_COMPRESSIBILITY_DEFAULT; in main() local 845 proba=0; in main() 847 proba *= 10; in main() 848 proba += *argument - '0'; in main() 851 if (proba<0) proba=0; in main() 852 if (proba>100) proba=100; in main() 871 if (proba!=FUZ_COMPRESSIBILITY_DEFAULT) DISPLAY("Compressibility : %i%%\n", proba); in main() 875 if (testNb==0) result = basicTests(seed, ((double)proba) / 100); in main() [all …]
|
D | fuzzer.c | 122 static void FUZ_fillCompressibleNoiseBuffer(void* buffer, size_t bufferSize, double proba, U32* see… in FUZ_fillCompressibleNoiseBuffer() argument 126 U32 const P32 = (U32)(32768 * proba); in FUZ_fillCompressibleNoiseBuffer() 992 int proba = FUZ_COMPRESSIBILITY_DEFAULT; in main() local 1080 proba=0; in main() 1082 proba *= 10; in main() 1083 proba += *argument - '0'; in main() 1086 if (proba<0) proba=0; in main() 1087 if (proba>100) proba=100; in main() 1104 if (proba!=FUZ_COMPRESSIBILITY_DEFAULT) printf("Compressibility : %i%%\n", proba); in main() 1110 { int const result = FUZ_test(seed, nbTests, testNb, ((double)proba) / 100, duration); in main()
|
/external/webp/src/enc/ |
D | frame_enc.c | 95 VP8EncProba* const proba = &enc->proba_; in ResetStats() local 96 VP8CalculateLevelCosts(proba); in ResetStats() 97 proba->nb_skip_ = 0; in ResetStats() 111 VP8EncProba* const proba = &enc->proba_; in FinalizeSkipProba() local 113 const int nb_events = proba->nb_skip_; in FinalizeSkipProba() 115 proba->skip_proba_ = CalcSkipProba(nb_events, nb_mbs); in FinalizeSkipProba() 116 proba->use_skip_proba_ = (proba->skip_proba_ < SKIP_PROBA_THRESHOLD); in FinalizeSkipProba() 118 if (proba->use_skip_proba_) { in FinalizeSkipProba() 119 size += nb_events * VP8BitCost(1, proba->skip_proba_) in FinalizeSkipProba() 120 + (nb_mbs - nb_events) * VP8BitCost(0, proba->skip_proba_); in FinalizeSkipProba() [all …]
|
D | cost_enc.h | 59 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);
|
D | cost_enc.c | 60 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()
|
D | token_enc.c | 104 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()
|
D | syntax_enc.c | 190 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/ |
D | tree_dec.c | 280 void VP8ResetProba(VP8Proba* const proba) { in VP8ResetProba() argument 281 memset(proba->segments_, 255u, sizeof(proba->segments_)); in VP8ResetProba() 507 VP8Proba* const proba = &dec->proba_; in VP8ParseProba() local 515 proba->bands_[t][b].probas_[c][p] = v; in VP8ParseProba() 520 proba->bands_ptr_[t][b] = &proba->bands_[t][kBands[b]]; in VP8ParseProba()
|
D | vp8i_dec.h | 276 void VP8ResetProba(VP8Proba* const proba);
|
D | vp8_dec.c | 161 VP8SegmentHeader* hdr, VP8Proba* proba) { in ParseSegmentHeader() argument 180 proba->segments_[s] = VP8Get(br) ? VP8GetValue(br, 8) : 255u; in ParseSegmentHeader()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | bitstream.c | 195 const unsigned char *proba = b->prob; in vp8_pack_tokens() local 202 split = 1 + (((range - 1) * proba[i >> 1]) >> 8); in vp8_pack_tokens()
|
/external/ltp/testcases/kernel/syscalls/epoll2/man/ |
D | epoll.txt | 42 the EPOLLET flag, the call to epoll_wait(2) done in step 5 will proba-
|