Home
last modified time | relevance | path

Searched refs:prob (Results 1 – 16 of 16) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_detokenize.c77 #define ADJUST_COEF(prob, bits_count) \ argument
79 val += (vp9_read(r, prob) << bits_count); \
93 const vp9_prob *prob; in decode_coefs() local
108 prob = coef_probs[band][ctx]; in decode_coefs()
111 if (!vp9_read(r, prob[EOB_CONTEXT_NODE])) { in decode_coefs()
116 while (!vp9_read(r, prob[ZERO_CONTEXT_NODE])) { in decode_coefs()
125 prob = coef_probs[band][ctx]; in decode_coefs()
129 if (!vp9_read(r, prob[ONE_CONTEXT_NODE])) { in decode_coefs()
136 prob = vp9_pareto8_full[prob[PIVOT_NODE] - 1]; in decode_coefs()
138 if (!vp9_read(r, prob[LOW_VAL_CONTEXT_NODE])) { in decode_coefs()
[all …]
Dvp9_reader.h47 static int vp9_read(vp9_reader *r, int prob) { in vp9_read() argument
53 unsigned int split = (r->range * prob + (256 - prob)) >> CHAR_BIT; in vp9_read()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_cost.h22 #define vp9_cost_zero(prob) (vp9_prob_cost[prob]) argument
24 #define vp9_cost_one(prob) vp9_cost_zero(vp9_complement(prob)) argument
26 #define vp9_cost_bit(prob, bit) vp9_cost_zero((bit) ? vp9_complement(prob) \ argument
27 : (prob))
Dvp9_cost.c39 const vp9_prob prob = probs[i / 2]; in cost() local
43 const int cc = c + vp9_cost_bit(prob, b); in cost()
Dvp9_bitstream.c165 const unsigned char *pb = b->prob; in pack_mb_tokens()
759 const int prob = seg->tree_probs[i]; in encode_segmentation() local
760 const int update = prob != MAX_PROB; in encode_segmentation()
763 vp9_wb_write_literal(wb, prob, 8); in encode_segmentation()
770 const int prob = seg->pred_probs[i]; in encode_segmentation() local
771 const int update = prob != MAX_PROB; in encode_segmentation()
774 vp9_wb_write_literal(wb, prob, 8); in encode_segmentation()
Dvp9_tokenize.c149 cost += treed_cost(p->tree, p->prob, extra >> 1, length); in vp9_tokenize_initialize()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dencodemv.c29 const vp8_prob *p = mvc->prob; in encode_mvcomponent()
102 const vp8_prob *p = mvc->prob; in cost_mvcomponent()
156 mvcost [0] [i] = cost0 + vp8_cost_zero(mvc[0].prob[MVPsign]); in vp8_build_component_cost_table()
157 mvcost [0] [-i] = cost0 + vp8_cost_one(mvc[0].prob[MVPsign]); in vp8_build_component_cost_table()
172 mvcost [1] [i] = cost1 + vp8_cost_zero(mvc[1].prob[MVPsign]); in vp8_build_component_cost_table()
173 mvcost [1] [-i] = cost1 + vp8_cost_one(mvc[1].prob[MVPsign]); in vp8_build_component_cost_table()
233 vp8_prob *Pcur = cur_mvc->prob; in write_component_probs()
234 const vp8_prob *default_mvc = default_mvc_->prob; in write_component_probs()
235 const vp8_prob *Pupdate = update_mvc->prob; in write_component_probs()
Dvp8_asm_enc_offsets.c66 DEFINE(vp8_extra_bit_struct_prob, offsetof(vp8_extra_bit_struct, prob));
Dfirstpass.c910 static double bitcost( double prob ) in bitcost() argument
912 if (prob > 0.000122) in bitcost()
913 return -log(prob) / log(2.0); in bitcost()
Dbitstream.c248 const unsigned char *proba = b->prob; in vp8_pack_tokens_c()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
Ddetokenize.c89 static int GetCoeffs(BOOL_DECODER *br, ProbaArray prob, in GetCoeffs() argument
92 const uint8_t* p = prob[n][ctx]; in GetCoeffs()
102 p = prob[kBands[n]][0]; in GetCoeffs()
109 p = prob[kBands[n]][1]; in GetCoeffs()
152 p = prob[kBands[n]][2]; in GetCoeffs()
Ddecodemv.c124 const vp8_prob *up = vp8_mv_update_probs[i].prob; in read_mvcontexts()
221 const vp8_prob * prob; in get_sub_mv_ref_prob() local
223 prob = vp8_sub_mv_ref_prob3[(aez << 2) | in get_sub_mv_ref_prob()
227 return prob; in get_sub_mv_ref_prob()
261 const vp8_prob *prob; in decode_split_mv() local
286 prob = get_sub_mv_ref_prob(leftmv.as_int, abovemv.as_int); in decode_split_mv()
288 if( vp8_read(bc, prob[0]) ) in decode_split_mv()
290 if( vp8_read(bc, prob[1]) ) in decode_split_mv()
293 if( vp8_read(bc, prob[2]) ) in decode_split_mv()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_prob.h76 const vp9_prob prob = get_binary_prob(ct[0], ct[1]); in merge_probs() local
79 return weighted_prob(pre_prob, prob, factor); in merge_probs()
Dvp9_entropy.h51 const vp9_prob *prob; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dentropymv.h43 vp8_prob prob[MVPcount]; /* often come in row, col pairs */ member
Dentropy.h47 const vp8_prob *prob; member