prob 307 libavcodec/cbs_vp9.c uint8_t prob; \ prob 310 libavcodec/cbs_vp9.c xf(8, name.prob, prob, subs, __VA_ARGS__); \ prob 312 libavcodec/cbs_vp9.c prob = 255; \ prob 313 libavcodec/cbs_vp9.c current->name = prob; \ prob 376 libavcodec/cbs_vp9.c xf(8, name.prob, current->name, subs, __VA_ARGS__); \ prob 208 libavcodec/cbs_vp9_syntax_template.c prob(segmentation_tree_probs[i], 1, i); prob 212 libavcodec/cbs_vp9_syntax_template.c prob(segmentation_pred_prob[i], 1, i); prob 343 libavcodec/dstdec.c int prob, residual, v; prob 355 libavcodec/dstdec.c prob = s->probs.coeff[pelem][FFMIN(index, s->probs.length[pelem] - 1)]; prob 357 libavcodec/dstdec.c prob = 128; prob 360 libavcodec/dstdec.c ac_get(ac, gb, prob, &residual); prob 125 libavcodec/dxva2_vp9.c pp->stVP9Segments.tree_probs[i] = h->h.segmentation.prob[i]; prob 138 libavcodec/lagarith.c unsigned prob, cumulative_target; prob 143 libavcodec/lagarith.c rac->prob[0] = 0; prob 144 libavcodec/lagarith.c rac->prob[257] = UINT_MAX; prob 147 libavcodec/lagarith.c if (lag_decode_prob(gb, &rac->prob[i]) < 0) { prob 151 libavcodec/lagarith.c if ((uint64_t)cumul_prob + rac->prob[i] > UINT_MAX) { prob 155 libavcodec/lagarith.c cumul_prob += rac->prob[i]; prob 156 libavcodec/lagarith.c if (!rac->prob[i]) { prob 157 libavcodec/lagarith.c if (lag_decode_prob(gb, &prob)) { prob 161 libavcodec/lagarith.c if (prob > 256 - i) prob 162 libavcodec/lagarith.c prob = 256 - i; prob 163 libavcodec/lagarith.c for (j = 0; j < prob; j++) prob 164 libavcodec/lagarith.c rac->prob[++i] = 0; prob 185 libavcodec/lagarith.c rac->prob[i] = softfloat_mul(rac->prob[i], mul); prob 186 libavcodec/lagarith.c scaled_cumul_prob += rac->prob[i]; prob 193 libavcodec/lagarith.c rac->prob[i] = softfloat_mul(rac->prob[i], mul); prob 194 libavcodec/lagarith.c scaled_cumul_prob += rac->prob[i]; prob 211 libavcodec/lagarith.c if (rac->prob[i]) { prob 212 libavcodec/lagarith.c rac->prob[i]++; prob 236 libavcodec/lagarith.c rac->prob[i] += rac->prob[i - 1]; prob 53 libavcodec/lagarithrac.c while (l->prob[j + 1] <= r) prob 53 libavcodec/lagarithrac.h uint32_t prob[258]; /**< Table of cumulative probability for each symbol. */ prob 87 libavcodec/lagarithrac.h if (l->low < range_scaled * l->prob[255]) { prob 89 libavcodec/lagarithrac.h if (l->low < range_scaled * l->prob[1]) { prob 95 libavcodec/lagarithrac.h while (l->low >= range_scaled * l->prob[val + 1]) prob 99 libavcodec/lagarithrac.h l->range = range_scaled * (l->prob[val + 1] - l->prob[val]); prob 102 libavcodec/lagarithrac.h l->range -= range_scaled * l->prob[255]; prob 108 libavcodec/lagarithrac.h l->low -= range_scaled * l->prob[val]; prob 50 libavcodec/magicyuvenc.c int64_t prob; ///< number of occurences of this value in input prob 283 libavcodec/magicyuvenc.c counts[src[i]].prob++; prob 300 libavcodec/magicyuvenc.c return a_val.prob - b_val.prob; prob 334 libavcodec/magicyuvenc.c prob_table[i].prob < prob 337 libavcodec/magicyuvenc.c to->probability[to->nitems - 1] = prob_table[i].prob; prob 374 libavcodec/magicyuvenc.c counts[i].prob++; prob 42 libavcodec/mjpegenc_huffman.c return a_val.prob - b_val.prob; prob 113 libavcodec/mjpegenc_huffman.c prob_table[i].prob < prob 116 libavcodec/mjpegenc_huffman.c to->probability[to->nitems - 1] = prob_table[i].prob; prob 178 libavcodec/mjpegenc_huffman.c val_counts[j].prob = s->val_count[i]; prob 183 libavcodec/mjpegenc_huffman.c val_counts[j].prob = 0; prob 53 libavcodec/mjpegenc_huffman.h int prob; ///< number of occurences of this value in input prob 71 libavcodec/mss1.c int prob = range * val; prob 73 libavcodec/mss1.c c->high = ((prob + range) >> bits) + c->low - 1; prob 74 libavcodec/mss1.c c->low += prob >> bits; prob 85 libavcodec/mss1.c int prob = range * val; prob 87 libavcodec/mss1.c c->high = (prob + range) / mod_val + c->low - 1; prob 88 libavcodec/mss1.c c->low += prob / mod_val; prob 365 libavcodec/mss3.c unsigned prob, prob2, helper; prob 367 libavcodec/mss3.c prob = 0; prob 377 libavcodec/mss3.c prob = helper; prob 384 libavcodec/mss3.c c->low -= prob; prob 385 libavcodec/mss3.c c->range = prob2 - prob; prob 399 libavcodec/mss3.c unsigned prob, prob2, helper; prob 419 libavcodec/mss3.c prob = m->freqs[val] * c->range; prob 423 libavcodec/mss3.c c->low -= prob; prob 424 libavcodec/mss3.c c->range = prob2 - prob; prob 43 libavcodec/mvha.c uint32_t prob[256]; prob 92 libavcodec/mvha.c nodes[i].count = s->prob[i]; prob 207 libavcodec/mvha.c int prob; prob 213 libavcodec/mvha.c prob = get_bits(gb, 12); prob 215 libavcodec/mvha.c prob = get_bits(gb, 3); prob 218 libavcodec/mvha.c if (prob) { prob 220 libavcodec/mvha.c s->prob[i] = prob; prob 114 libavcodec/nvdec_vp9.c ppc->mb_segment_tree_probs[i] = h->h.segmentation.prob[i]; prob 39 libavcodec/tests/mjpegenc_huffman.c int actual_length = 0, i, j, k, prob, length; prob 45 libavcodec/tests/mjpegenc_huffman.c val_counts[i] = (PTable){.value = i, .prob = probs[i]}; prob 57 libavcodec/tests/mjpegenc_huffman.c prob = val_counts[j].prob; prob 60 libavcodec/tests/mjpegenc_huffman.c if (prob) { prob 61 libavcodec/tests/mjpegenc_huffman.c actual_length += prob * length; prob 121 libavcodec/tests/mjpegenc_huffman.c {.value = 0, .prob = 1}, prob 122 libavcodec/tests/mjpegenc_huffman.c {.value = 1, .prob = 2}, prob 123 libavcodec/tests/mjpegenc_huffman.c {.value = 2, .prob = 5}, prob 124 libavcodec/tests/mjpegenc_huffman.c {.value = 3, .prob = 10}, prob 125 libavcodec/tests/mjpegenc_huffman.c {.value = 4, .prob = 21}, prob 41 libavcodec/vaapi_vp8.c VAProbabilityDataBufferVP8 prob; prob 77 libavcodec/vaapi_vp8.c .prob_skip_false = s->prob->mbskip, prob 78 libavcodec/vaapi_vp8.c .prob_intra = s->prob->intra, prob 79 libavcodec/vaapi_vp8.c .prob_last = s->prob->last, prob 80 libavcodec/vaapi_vp8.c .prob_gf = s->prob->golden, prob 84 libavcodec/vaapi_vp8.c pp.mb_segment_tree_probs[i] = s->prob->segmentid[i]; prob 113 libavcodec/vaapi_vp8.c pp.y_mode_probs[i] = s->prob->pred16x16[i]; prob 115 libavcodec/vaapi_vp8.c pp.uv_mode_probs[i] = s->prob->pred8x8c[i]; prob 119 libavcodec/vaapi_vp8.c pp.mv_probs[i][j] = s->prob->mvc[i][j]; prob 139 libavcodec/vaapi_vp8.c memcpy(prob.dct_coeff_probs[i][j][k], prob 140 libavcodec/vaapi_vp8.c s->prob->token[i][coeff_pos][k], 11); prob 147 libavcodec/vaapi_vp8.c &prob, sizeof(prob)); prob 93 libavcodec/vaapi_vp9.c pic_param.mb_segment_tree_probs[i] = h->h.segmentation.prob[i]; prob 113 libavcodec/vdpau_vp9.c info->mbSegmentTreeProbs[i] = h->h.segmentation.prob[i]; prob 269 libavcodec/vp56.h static av_always_inline int vp56_rac_get_prob(VP56RangeCoder *c, uint8_t prob) prob 272 libavcodec/vp56.h unsigned int low = 1 + (((c->high - 1) * prob) >> 8); prob 285 libavcodec/vp56.h static av_always_inline int vp56_rac_get_prob_branchy(VP56RangeCoder *c, int prob) prob 288 libavcodec/vp56.h unsigned low = 1 + (((c->high - 1) * prob) >> 8); prob 407 libavcodec/vp56.h static av_always_inline int vp8_rac_get_coeff(VP56RangeCoder *c, const uint8_t *prob) prob 412 libavcodec/vp56.h v = (v<<1) + vp56_rac_get_prob(c, *prob++); prob 413 libavcodec/vp56.h } while (*prob); prob 278 libavcodec/vp8.c s->prob->segmentid[i] = vp8_rac_get(c) ? vp8_rac_get_uint(c, 8) : 255; prob 423 libavcodec/vp8.c memcpy(s->prob->token[i][j], vp8_token_default_probs[i][vp8_coeff_band[j]], prob 424 libavcodec/vp8.c sizeof(s->prob->token[i][j])); prob 437 libavcodec/vp8.c int prob = vp8_rac_get_uint(c, 8); prob 439 libavcodec/vp8.c s->prob->token[i][vp8_coeff_band_indexes[j][m]][k][l] = prob; prob 454 libavcodec/vp8.c s->prob->pred16x16[i] = vp8_rac_get_uint(c, 8); prob 457 libavcodec/vp8.c s->prob->pred8x8c[i] = vp8_rac_get_uint(c, 8); prob 463 libavcodec/vp8.c s->prob->mvc[i][j] = vp8_rac_get_nn(c); prob 591 libavcodec/vp8.c memcpy(s->prob->pred16x16, vp8_pred16x16_prob_inter, prob 592 libavcodec/vp8.c sizeof(s->prob->pred16x16)); prob 593 libavcodec/vp8.c memcpy(s->prob->pred8x8c, vp8_pred8x8c_prob_inter, prob 594 libavcodec/vp8.c sizeof(s->prob->pred8x8c)); prob 596 libavcodec/vp8.c memcpy(s->prob->mvc[i], vp7_mv_default_prob[i], prob 600 libavcodec/vp8.c memcpy(s->prob[0].scan, ff_zigzag_scan, sizeof(s->prob[0].scan)); prob 655 libavcodec/vp8.c s->prob[1] = s->prob[0]; prob 676 libavcodec/vp8.c s->prob[0].scan[i] = ff_zigzag_scan[vp8_rac_get_uint(c, 4)]; prob 691 libavcodec/vp8.c s->prob->intra = vp8_rac_get_uint(c, 8); prob 692 libavcodec/vp8.c s->prob->last = vp8_rac_get_uint(c, 8); prob 759 libavcodec/vp8.c memcpy(s->prob->pred16x16, vp8_pred16x16_prob_inter, prob 760 libavcodec/vp8.c sizeof(s->prob->pred16x16)); prob 761 libavcodec/vp8.c memcpy(s->prob->pred8x8c, vp8_pred8x8c_prob_inter, prob 762 libavcodec/vp8.c sizeof(s->prob->pred8x8c)); prob 763 libavcodec/vp8.c memcpy(s->prob->mvc, vp8_mv_default_prob, prob 764 libavcodec/vp8.c sizeof(s->prob->mvc)); prob 819 libavcodec/vp8.c s->prob[1] = s->prob[0]; prob 826 libavcodec/vp8.c s->prob->mbskip = vp8_rac_get_uint(c, 8); prob 829 libavcodec/vp8.c s->prob->intra = vp8_rac_get_uint(c, 8); prob 830 libavcodec/vp8.c s->prob->last = vp8_rac_get_uint(c, 8); prob 831 libavcodec/vp8.c s->prob->golden = vp8_rac_get_uint(c, 8); prob 967 libavcodec/vp8.c read_mv_component(c, s->prob->mvc[0], is_vp7); prob 969 libavcodec/vp8.c read_mv_component(c, s->prob->mvc[1], is_vp7); prob 1085 libavcodec/vp8.c mb->mv.y += vp7_read_mv_component(c, s->prob->mvc[0]); prob 1086 libavcodec/vp8.c mb->mv.x += vp7_read_mv_component(c, s->prob->mvc[1]); prob 1185 libavcodec/vp8.c mb->mv.y += vp8_read_mv_component(c, s->prob->mvc[0]); prob 1186 libavcodec/vp8.c mb->mv.x += vp8_read_mv_component(c, s->prob->mvc[1]); prob 1264 libavcodec/vp8.c int bit = vp56_rac_get_prob(c, s->prob->segmentid[0]); prob 1265 libavcodec/vp8.c *segment = vp56_rac_get_prob(c, s->prob->segmentid[1+bit]) + 2*bit; prob 1270 libavcodec/vp8.c mb->skip = s->mbskip_enabled ? vp56_rac_get_prob(c, s->prob->mbskip) : 0; prob 1291 libavcodec/vp8.c } else if (vp56_rac_get_prob_branchy(c, s->prob->intra)) { prob 1293 libavcodec/vp8.c if (vp56_rac_get_prob_branchy(c, s->prob->last)) prob 1295 libavcodec/vp8.c (!is_vp7 && vp56_rac_get_prob(c, s->prob->golden)) ? VP56_FRAME_GOLDEN2 /* altref */ prob 1308 libavcodec/vp8.c mb->mode = vp8_rac_get_tree(c, vp8_pred16x16_tree_inter, s->prob->pred16x16); prob 1314 libavcodec/vp8.c s->prob->pred8x8c); prob 1479 libavcodec/vp8.c nnz = decode_block_coeffs(c, td->block_dc, s->prob->token[1], 0, prob 1506 libavcodec/vp8.c s->prob->token[luma_ctx], prob 1509 libavcodec/vp8.c s->prob[0].scan, is_vp7); prob 1525 libavcodec/vp8.c s->prob->token[2], 0, nnz_pred, prob 1527 libavcodec/vp8.c s->prob[0].scan, is_vp7); prob 2792 libavcodec/vp8.c s->prob[0] = s->prob[1]; prob 2873 libavcodec/vp8.c memcpy(s->prob[0].scan, ff_zigzag_scan, sizeof(s->prob[0].scan)); prob 2913 libavcodec/vp8.c s->prob[0] = s_src->prob[!s_src->update_probabilities]; prob 280 libavcodec/vp8.h } prob[2]; prob 695 libavcodec/vp9.c s->s.h.segmentation.prob[i] = get_bits1(&s->gb) ? prob 903 libavcodec/vp9.c s->prob.p = s->prob_ctx[c].p; prob 916 libavcodec/vp9.c s->prob.p.tx8p[i] = update_prob(&s->c, s->prob.p.tx8p[i]); prob 920 libavcodec/vp9.c s->prob.p.tx16p[i][j] = prob 921 libavcodec/vp9.c update_prob(&s->c, s->prob.p.tx16p[i][j]); prob 925 libavcodec/vp9.c s->prob.p.tx32p[i][j] = prob 926 libavcodec/vp9.c update_prob(&s->c, s->prob.p.tx32p[i][j]); prob 938 libavcodec/vp9.c uint8_t *p = s->prob.coef[i][j][k][l][m]; prob 955 libavcodec/vp9.c uint8_t *p = s->prob.coef[i][j][k][l][m]; prob 970 libavcodec/vp9.c s->prob.p.skip[i] = update_prob(&s->c, s->prob.p.skip[i]); prob 975 libavcodec/vp9.c s->prob.p.mv_mode[i][j] = prob 976 libavcodec/vp9.c update_prob(&s->c, s->prob.p.mv_mode[i][j]); prob 982 libavcodec/vp9.c s->prob.p.filter[i][j] = prob 983 libavcodec/vp9.c update_prob(&s->c, s->prob.p.filter[i][j]); prob 987 libavcodec/vp9.c s->prob.p.intra[i] = update_prob(&s->c, s->prob.p.intra[i]); prob 996 libavcodec/vp9.c s->prob.p.comp[i] = prob 997 libavcodec/vp9.c update_prob(&s->c, s->prob.p.comp[i]); prob 1005 libavcodec/vp9.c s->prob.p.single_ref[i][0] = prob 1006 libavcodec/vp9.c update_prob(&s->c, s->prob.p.single_ref[i][0]); prob 1008 libavcodec/vp9.c s->prob.p.single_ref[i][1] = prob 1009 libavcodec/vp9.c update_prob(&s->c, s->prob.p.single_ref[i][1]); prob 1016 libavcodec/vp9.c s->prob.p.comp_ref[i] = prob 1017 libavcodec/vp9.c update_prob(&s->c, s->prob.p.comp_ref[i]); prob 1023 libavcodec/vp9.c s->prob.p.y_mode[i][j] = prob 1024 libavcodec/vp9.c update_prob(&s->c, s->prob.p.y_mode[i][j]); prob 1030 libavcodec/vp9.c s->prob.p.partition[3 - i][j][k] = prob 1032 libavcodec/vp9.c s->prob.p.partition[3 - i][j][k]); prob 1037 libavcodec/vp9.c s->prob.p.mv_joint[i] = (vp8_rac_get_uint(&s->c, 7) << 1) | 1; prob 1041 libavcodec/vp9.c s->prob.p.mv_comp[i].sign = prob 1046 libavcodec/vp9.c s->prob.p.mv_comp[i].classes[j] = prob 1050 libavcodec/vp9.c s->prob.p.mv_comp[i].class0 = prob 1055 libavcodec/vp9.c s->prob.p.mv_comp[i].bits[j] = prob 1063 libavcodec/vp9.c s->prob.p.mv_comp[i].class0_fp[j][k] = prob 1068 libavcodec/vp9.c s->prob.p.mv_comp[i].fp[j] = prob 1075 libavcodec/vp9.c s->prob.p.mv_comp[i].class0_hp = prob 1079 libavcodec/vp9.c s->prob.p.mv_comp[i].hp = prob 1095 libavcodec/vp9.c s->prob.p.partition[bl][c]; prob 1671 libavcodec/vp9.c s->prob.coef[i][j][k][l][m], 3); prob 1675 libavcodec/vp9.c s->prob_ctx[s->s.h.framectxid].p = s->prob.p; prob 105 libavcodec/vp9block.c vp8_rac_get_tree(td->c, ff_vp9_segmentation_tree, s->s.h.segmentation.prob); prob 132 libavcodec/vp9block.c s->s.h.segmentation.prob); prob 147 libavcodec/vp9block.c b->skip = vp56_rac_get_prob(td->c, s->prob.p.skip[c]); prob 165 libavcodec/vp9block.c bit = vp56_rac_get_prob(td->c, s->prob.p.intra[c]); prob 190 libavcodec/vp9block.c b->tx = vp56_rac_get_prob(td->c, s->prob.p.tx32p[c][0]); prob 192 libavcodec/vp9block.c b->tx += vp56_rac_get_prob(td->c, s->prob.p.tx32p[c][1]); prob 194 libavcodec/vp9block.c b->tx += vp56_rac_get_prob(td->c, s->prob.p.tx32p[c][2]); prob 199 libavcodec/vp9block.c b->tx = vp56_rac_get_prob(td->c, s->prob.p.tx16p[c][0]); prob 201 libavcodec/vp9block.c b->tx += vp56_rac_get_prob(td->c, s->prob.p.tx16p[c][1]); prob 205 libavcodec/vp9block.c b->tx = vp56_rac_get_prob(td->c, s->prob.p.tx8p[c]); prob 274 libavcodec/vp9block.c s->prob.p.y_mode[0]); prob 278 libavcodec/vp9block.c s->prob.p.y_mode[0]); prob 285 libavcodec/vp9block.c s->prob.p.y_mode[0]); prob 289 libavcodec/vp9block.c s->prob.p.y_mode[0]); prob 305 libavcodec/vp9block.c s->prob.p.y_mode[sz]); prob 312 libavcodec/vp9block.c s->prob.p.uv_mode[b->mode[3]]); prob 370 libavcodec/vp9block.c b->comp = vp56_rac_get_prob(td->c, s->prob.p.comp[c]); prob 442 libavcodec/vp9block.c bit = vp56_rac_get_prob(td->c, s->prob.p.comp_ref[c]); prob 482 libavcodec/vp9block.c bit = vp56_rac_get_prob(td->c, s->prob.p.single_ref[c][0]); prob 569 libavcodec/vp9block.c bit = vp56_rac_get_prob(td->c, s->prob.p.single_ref[c][1]); prob 593 libavcodec/vp9block.c s->prob.p.mv_mode[c]); prob 618 libavcodec/vp9block.c s->prob.p.filter[c]); prob 629 libavcodec/vp9block.c s->prob.p.mv_mode[c]); prob 635 libavcodec/vp9block.c s->prob.p.mv_mode[c]); prob 646 libavcodec/vp9block.c s->prob.p.mv_mode[c]); prob 652 libavcodec/vp9block.c s->prob.p.mv_mode[c]); prob 969 libavcodec/vp9block.c uint8_t (*p)[6][11] = s->prob.coef[b->tx][0 /* y */][!b->intra]; prob 1096 libavcodec/vp9block.c p = s->prob.coef[b->uvtx][1 /* uv */][!b->intra]; prob 132 libavcodec/vp9dec.h } prob; prob 239 libavcodec/vp9mvs.c int bit, sign = vp56_rac_get_prob(td->c, s->prob.p.mv_comp[idx].sign); prob 241 libavcodec/vp9mvs.c s->prob.p.mv_comp[idx].classes); prob 249 libavcodec/vp9mvs.c bit = vp56_rac_get_prob(td->c, s->prob.p.mv_comp[idx].bits[m]); prob 255 libavcodec/vp9mvs.c s->prob.p.mv_comp[idx].fp); prob 259 libavcodec/vp9mvs.c bit = vp56_rac_get_prob(td->c, s->prob.p.mv_comp[idx].hp); prob 270 libavcodec/vp9mvs.c n = vp56_rac_get_prob(td->c, s->prob.p.mv_comp[idx].class0); prob 273 libavcodec/vp9mvs.c s->prob.p.mv_comp[idx].class0_fp[n]); prob 277 libavcodec/vp9mvs.c bit = vp56_rac_get_prob(td->c, s->prob.p.mv_comp[idx].class0_hp); prob 323 libavcodec/vp9mvs.c s->prob.p.mv_joint); prob 354 libavcodec/vp9mvs.c s->prob.p.mv_joint); prob 71 libavcodec/vp9prob.c memcpy(p->skip, s->prob.p.skip, sizeof(p->skip)); prob 72 libavcodec/vp9prob.c memcpy(p->tx32p, s->prob.p.tx32p, sizeof(p->tx32p)); prob 73 libavcodec/vp9prob.c memcpy(p->tx16p, s->prob.p.tx16p, sizeof(p->tx16p)); prob 74 libavcodec/vp9prob.c memcpy(p->tx8p, s->prob.p.tx8p, sizeof(p->tx8p)); prob 134 libavcodec/vp9shared.h uint8_t prob[7]; prob 29 libavcodec/x86/vp56_arith.h static av_always_inline int vp56_rac_get_prob(VP56RangeCoder *c, uint8_t prob) prob 32 libavcodec/x86/vp56_arith.h unsigned int low = 1 + (((c->high - 1) * prob) >> 8);