Merge "Fix update_delta_q_probs compile warning" into nextgenv2
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user