Commit edd3f9c4 authored by Yaowu Xu's avatar Yaowu Xu Committed by Gerrit Code Review
Browse files

Merge "Fix update_delta_q_probs compile warning" into nextgenv2

parents efd57252 be44c5f4
......@@ -524,9 +524,14 @@ static void write_delta_qindex(const AV1_COMMON *cm, int delta_qindex,
static void update_delta_q_probs(AV1_COMMON *cm, aom_writer *w,
FRAME_COUNTS *counts) {
int k;
#if CONFIG_TILE_GROUPS
const int probwt = cm->num_tg;
#else
const int probwt = 1;
#endif
for (k = 0; k < DELTA_Q_CONTEXTS; ++k) {
av1_cond_prob_diff_update(w, &cm->fc->delta_q_prob[k], counts->delta_q[k]);
av1_cond_prob_diff_update(w, &cm->fc->delta_q_prob[k], counts->delta_q[k],
probwt);
}
}
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment