Searched refs:prob (Results 1 - 25 of 43) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/xz/src/liblzma/rangecoder/
H A Drange_decoder.h97 /// rc_if_0(prob, seq) {
98 /// rc_update_0(prob);
101 /// rc_update_1(prob);
105 #define rc_if_0(prob, seq) \
107 rc_bound = (rc.range >> RC_BIT_MODEL_TOTAL_BITS) * (prob); \
113 #define rc_update_0(prob) \
116 prob += (RC_BIT_MODEL_TOTAL - (prob)) >> RC_MOVE_BITS; \
122 #define rc_update_1(prob) \
126 prob
[all...]
H A Drange_common.h39 #define bit_reset(prob) \
40 prob = RC_BIT_MODEL_TOTAL >> 1
H A Dprice.h29 rc_bit_price(const probability prob, const uint32_t bit) argument
31 return lzma_rc_prices[(prob ^ ((UINT32_C(0) - bit)
37 rc_bit_0_price(const probability prob) argument
39 return lzma_rc_prices[prob >> RC_MOVE_REDUCING_BITS];
44 rc_bit_1_price(const probability prob) argument
46 return lzma_rc_prices[(prob ^ (RC_BIT_MODEL_TOTAL - 1))
H A Drange_encoder.h67 rc_bit(lzma_range_encoder *rc, probability *prob, uint32_t bit) argument
70 rc->probs[rc->count] = prob;
167 probability prob = *rc->probs[rc->pos]; local
169 * prob;
170 prob += (RC_BIT_MODEL_TOTAL - prob) >> RC_MOVE_BITS;
171 *rc->probs[rc->pos] = prob;
176 probability prob = *rc->probs[rc->pos]; local
177 const uint32_t bound = prob * (rc->range
181 prob
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/tools/misc/xz/src/liblzma/rangecoder/
H A Drange_decoder.h97 /// rc_if_0(prob, seq) {
98 /// rc_update_0(prob);
101 /// rc_update_1(prob);
105 #define rc_if_0(prob, seq) \
107 rc_bound = (rc.range >> RC_BIT_MODEL_TOTAL_BITS) * (prob); \
113 #define rc_update_0(prob) \
116 prob += (RC_BIT_MODEL_TOTAL - (prob)) >> RC_MOVE_BITS; \
122 #define rc_update_1(prob) \
126 prob
[all...]
H A Drange_common.h39 #define bit_reset(prob) \
40 prob = RC_BIT_MODEL_TOTAL >> 1
H A Dprice.h29 rc_bit_price(const probability prob, const uint32_t bit) argument
31 return lzma_rc_prices[(prob ^ ((UINT32_C(0) - bit)
37 rc_bit_0_price(const probability prob) argument
39 return lzma_rc_prices[prob >> RC_MOVE_REDUCING_BITS];
44 rc_bit_1_price(const probability prob) argument
46 return lzma_rc_prices[(prob ^ (RC_BIT_MODEL_TOTAL - 1))
H A Drange_encoder.h67 rc_bit(lzma_range_encoder *rc, probability *prob, uint32_t bit) argument
70 rc->probs[rc->count] = prob;
167 probability prob = *rc->probs[rc->pos]; local
169 * prob;
170 prob += (RC_BIT_MODEL_TOTAL - prob) >> RC_MOVE_BITS;
171 *rc->probs[rc->pos] = prob;
176 probability prob = *rc->probs[rc->pos]; local
177 const uint32_t bound = prob * (rc->range
181 prob
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dlagarithrac.h50 uint32_t prob[258]; /**< Table of cumulative probability for each symbol. */ member in struct:lag_rac
82 if (l->low < range_scaled * l->prob[255]) {
84 if (l->low < range_scaled * l->prob[1]) {
90 while (l->low >= range_scaled * l->prob[val + 1])
94 l->range = range_scaled * (l->prob[val + 1] - l->prob[val]);
97 l->range -= range_scaled * l->prob[255];
103 l->low -= range_scaled * l->prob[val];
H A Dlagarithrac.c52 while (l->prob[j + 1] <= r)
H A Dlagarith.c141 unsigned prob, cumulative_target; local
145 rac->prob[0] = 0;
146 rac->prob[257] = UINT_MAX;
149 if (lag_decode_prob(gb, &rac->prob[i]) < 0) {
153 if ((uint64_t)cumul_prob + rac->prob[i] > UINT_MAX) {
157 cumul_prob += rac->prob[i];
158 if (!rac->prob[i]) {
159 if (lag_decode_prob(gb, &prob)) {
163 if (prob > 256 - i)
164 prob
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iproute2/tc/
H A Dtc_red.h4 extern int tc_red_eval_P(unsigned qmin, unsigned qmax, double prob);
H A Dtc_red.c28 Plog = log(prob/(qmax - qmin))
30 int tc_red_eval_P(unsigned qmin, unsigned qmax, double prob) argument
37 prob /= i;
40 if (prob > 1.0)
42 prob *= 2;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/x86/
H A Dvp56_arith.h29 static av_always_inline int vp56_rac_get_prob(VP56RangeCoder *c, uint8_t prob) argument
32 unsigned int low = 1 + (((c->high - 1) * prob) >> 8);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dlagarithrac.h50 uint32_t prob[258]; /**< Table of cumulative probability for each symbol. */ member in struct:lag_rac
83 if (l->low < range_scaled * l->prob[255]) {
85 if (l->low < range_scaled * l->prob[1]) {
100 while (l->low >= range_scaled * l->prob[val + 1])
104 l->range = range_scaled * (l->prob[val + 1] - l->prob[val]);
107 l->range -= range_scaled * l->prob[255];
110 l->low -= range_scaled * l->prob[val];
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/x86/
H A Dvp56_arith.h29 static av_always_inline int vp56_rac_get_prob(VP56RangeCoder *c, uint8_t prob) argument
33 unsigned int low = 1 + (((high - 1) * prob) >> 8);
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/archival/libunarchive/
H A Ddecompress_unlzma.c242 uint16_t *prob; local
285 prob =
287 if (rc_is_bit_0(rc, prob)) {
289 rc_update_bit_0(rc, prob);
290 prob = (p + LZMA_LITERAL + (LZMA_LIT_SIZE
306 prob_lit = prob + 0x100 + bit + mi;
317 prob_lit = prob + mi;
340 rc_update_bit_1(rc, prob);
341 prob = p + LZMA_IS_REP + state;
342 if (rc_is_bit_0(rc, prob)) {
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/tools/misc/lzma_src/C/
H A DLzmaDec.c162 CLzmaProb *prob; local
167 prob = probs + IsMatch + (state << kNumPosBitsMax) + posState;
168 IF_BIT_0(prob)
171 UPDATE_0(prob);
172 prob = probs + Literal;
174 prob += (LZMA_LIT_SIZE * (((processedPos & lpMask) << lc) +
180 do { GET_BIT(prob + symbol, symbol) } while (symbol < 0x100);
193 probLit = prob + offs + bit + symbol;
207 UPDATE_1(prob);
208 prob
506 CLzmaProb *prob; local
518 prob = probs + Literal; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/platforms/cell/spufs/
H A Dswitch.c90 struct spu_problem __iomem *prob = spu->problem; local
101 return (in_be32(&prob->spu_status_R) & isolate_state) ? 1 : 0;
210 struct spu_problem __iomem *prob = spu->problem; local
216 csa->prob.spu_runcntl_RW = in_be32(&prob->spu_runcntl_RW);
229 struct spu_problem __iomem *prob = spu->problem; local
234 if ((in_be32(&prob->spu_status_R) & SPU_STATUS_RUNNING) == 0) {
235 csa->prob.spu_status_R = in_be32(&prob->spu_status_R);
239 out_be32(&prob
303 struct spu_problem __iomem *prob = spu->problem; local
375 struct spu_problem __iomem *prob = spu->problem; local
386 struct spu_problem __iomem *prob = spu->problem; local
397 struct spu_problem __iomem *prob = spu->problem; local
510 struct spu_problem __iomem *prob = spu->problem; local
594 struct spu_problem __iomem *prob = spu->problem; local
604 struct spu_problem __iomem *prob = spu->problem; local
776 struct spu_problem __iomem *prob = spu->problem; local
823 struct spu_problem __iomem *prob = spu->problem; local
840 struct spu_problem __iomem *prob = spu->problem; local
858 struct spu_problem __iomem *prob = spu->problem; local
892 struct spu_problem __iomem *prob = spu->problem; local
905 struct spu_problem __iomem *prob = spu->problem; local
928 struct spu_problem __iomem *prob = spu->problem; local
947 struct spu_problem __iomem *prob = spu->problem; local
998 struct spu_problem __iomem *prob = spu->problem; local
1040 struct spu_problem __iomem *prob = spu->problem; local
1304 struct spu_problem __iomem *prob = spu->problem; local
1330 struct spu_problem __iomem *prob = spu->problem; local
1350 struct spu_problem __iomem *prob = spu->problem; local
1459 struct spu_problem __iomem *prob = spu->problem; local
1470 struct spu_problem __iomem *prob = spu->problem; local
1638 struct spu_problem __iomem *prob = spu->problem; local
1666 struct spu_problem __iomem *prob = spu->problem; local
1722 struct spu_problem __iomem *prob = spu->problem; local
1882 struct spu_problem __iomem *prob = spu->problem; local
1914 struct spu_problem __iomem *prob = spu->problem; local
[all...]
H A Dbacking_ops.c69 mbox_stat = ctx->csa.prob.mb_stat_R;
75 *data = ctx->csa.prob.pu_mb_R;
76 ctx->csa.prob.mb_stat_R &= ~(0x0000ff);
87 return ctx->csa.prob.mb_stat_R;
98 stat = ctx->csa.prob.mb_stat_R;
134 if (ctx->csa.prob.mb_stat_R & 0xff0000) {
140 ctx->csa.prob.mb_stat_R &= ~(0xff0000);
158 if ((ctx->csa.prob.mb_stat_R) & 0x00ff00) {
160 int avail = (ctx->csa.prob.mb_stat_R & 0x00ff00) >> 8;
169 ctx->csa.prob
334 struct spu_problem_collapsed *prob = &ctx->csa.prob; local
[all...]
H A Dhw_ops.c41 struct spu_problem __iomem *prob = spu->problem; local
46 mbox_stat = in_be32(&prob->mb_stat_R);
48 *data = in_be32(&prob->pu_mb_R);
100 struct spu_problem __iomem *prob = spu->problem; local
105 if (in_be32(&prob->mb_stat_R) & 0xff0000) {
121 struct spu_problem __iomem *prob = spu->problem; local
125 if (in_be32(&prob->mb_stat_R) & 0x00ff00) {
127 out_be32(&prob->spu_mb_W, data);
264 struct spu_problem __iomem *prob = ctx->spu->problem; local
269 if (in_be32(&prob
293 struct spu_problem __iomem *prob = ctx->spu->problem; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/lib/
H A Ddecompress_unlzma.c349 int pos_state, uint16_t *prob,
352 rc_update_bit_0(rc, prob);
353 prob = (p + LZMA_LITERAL +
367 prob_lit = prob + 0x100 + bit + mi;
378 uint16_t *prob_lit = prob + mi;
392 int pos_state, uint16_t *prob) {
398 rc_update_bit_1(rc, prob);
399 prob = p + LZMA_IS_REP + cst->state;
400 if (rc_is_bit_0(rc, prob)) {
401 rc_update_bit_0(rc, prob);
347 process_bit0(struct writer *wr, struct rc *rc, struct cstate *cst, uint16_t *p, int pos_state, uint16_t *prob, int lc, uint32_t literal_pos_mask) argument
390 process_bit1(struct writer *wr, struct rc *rc, struct cstate *cst, uint16_t *p, int pos_state, uint16_t *prob) argument
628 uint16_t *prob = p + LZMA_IS_MATCH + local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iproute2/examples/diffserv/
H A Dafcbq80 $prob = $drop*0.02;
85 "probability $prob ".
90 "probability $prob \n";
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/mac80211/
H A Drc80211_minstrel_debugfs.c61 unsigned int i, tp, prob, eprob; local
70 p += sprintf(p, "rate throughput ewma prob this prob "
82 prob = mr->cur_prob / 18;
89 prob / 10, prob % 10,
H A Drc80211_minstrel_ht_debugfs.c23 unsigned int i, j, tp, prob, eprob; local
40 p += sprintf(p, "type rate throughput ewma prob this prob "
70 prob = MINSTREL_TRUNC(mr->cur_prob * 1000);
77 prob / 10, prob % 10,

Completed in 117 milliseconds

12