Home
last modified time | relevance | path

Searched refs:oldp (Results 1 – 4 of 4) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_subexp.c76 static int prob_diff_update_cost(vp9_prob newp, vp9_prob oldp) { in prob_diff_update_cost() argument
77 int delp = remap_prob(newp, oldp); in prob_diff_update_cost()
109 void vp9_write_prob_diff_update(vp9_writer *w, vp9_prob newp, vp9_prob oldp) { in vp9_write_prob_diff_update() argument
110 const int delp = remap_prob(newp, oldp); in vp9_write_prob_diff_update()
121 vp9_prob oldp, vp9_prob *bestp, in vp9_prob_diff_update_savings_search() argument
123 const int old_b = cost_branch256(ct, oldp); in vp9_prob_diff_update_savings_search()
125 vp9_prob newp, bestnewp = oldp; in vp9_prob_diff_update_savings_search()
126 const int step = *bestp > oldp ? -1 : 1; in vp9_prob_diff_update_savings_search()
128 for (newp = *bestp; newp != oldp; newp += step) { in vp9_prob_diff_update_savings_search()
130 const int update_b = prob_diff_update_cost(newp, oldp) + vp9_cost_upd256; in vp9_prob_diff_update_savings_search()
[all …]
Dvp9_subexp.h23 vp9_prob newp, vp9_prob oldp);
25 void vp9_cond_prob_diff_update(vp9_writer *w, vp9_prob *oldp,
29 vp9_prob oldp, vp9_prob *bestp,
34 const vp9_prob *oldp,
Dvp9_bitstream.c534 const vp9_prob oldp = old_frame_coef_probs[i][j][k][l][t]; in update_coef_probs_common() local
543 frame_branch_ct[i][j][k][l][t], oldp, &newp, upd); in update_coef_probs_common()
544 if (s > 0 && newp != oldp) in update_coef_probs_common()
571 vp9_prob *oldp = old_frame_coef_probs[i][j][k][l] + t; in update_coef_probs_common() local
582 *oldp, &newp, upd); in update_coef_probs_common()
583 if (s > 0 && newp != *oldp) in update_coef_probs_common()
588 vp9_write_prob_diff_update(bc, newp, *oldp); in update_coef_probs_common()
589 *oldp = newp; in update_coef_probs_common()
616 vp9_prob *oldp = old_frame_coef_probs[i][j][k][l] + t; in update_coef_probs_common() local
630 *oldp, &newp, upd); in update_coef_probs_common()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dbitstream.c841 const vp8_prob oldp, const vp8_prob newp, in prob_update_savings() argument
844 const int old_b = vp8_cost_branch(ct, oldp); in prob_update_savings()
897 const vp8_prob oldp = cpi->common.fc.coef_probs [i][j][k][t]; in independent_coef_context_savings() local
899 const int s = prob_update_savings(ct, oldp, newp, upd); in independent_coef_context_savings()
902 (cpi->common.frame_type == KEY_FRAME && newp != oldp)) in independent_coef_context_savings()
958 const vp8_prob oldp = cpi->common.fc.coef_probs [i][j][k][t]; in default_coef_context_savings() local
960 const int s = prob_update_savings(ct, oldp, newp, upd); in default_coef_context_savings()
1105 const vp8_prob oldp = cpi->common.fc.coef_probs[i][j] in vp8_update_coef_probs() local
1110 prob_update_savings(ct, oldp, newp, upd); in vp8_update_coef_probs()