Commit 6bae20ca authored by Alex Converse's avatar Alex Converse Committed by Gerrit Code Review
Browse files

Merge "Replace some vpxbool calls with entropy coder agnostic calls." into nextgenv2

parents afaefc89 aee00911
......@@ -780,7 +780,7 @@ static void read_ref_frames(VP10_COMMON *const cm, MACROBLOCKD *const xd,
ref_frame[!idx] = cm->comp_fwd_ref[bit];
const int ctx1 = vp10_get_pred_context_comp_bwdref_p(cm, xd);
const int bit1 = vpx_read(r, fc->comp_bwdref_prob[ctx1][0]);
const int bit1 = vp10_read(r, fc->comp_bwdref_prob[ctx1][0]);
if (counts)
ref_frame[idx] = cm->comp_bwd_ref[bit1];
......@@ -860,7 +860,7 @@ static void read_ref_frames(VP10_COMMON *const cm, MACROBLOCKD *const xd,
if (bit1) {
const int ctx2 = vp10_get_pred_context_single_ref_p3(xd);
const int bit2 = vpx_read(r, fc->single_ref_prob[ctx2][2]);
const int bit2 = vp10_read(r, fc->single_ref_prob[ctx2][2]);
if (counts)
ref_frame[0] = bit2 ? ALTREF_FRAME : BWDREF_FRAME;
......@@ -857,7 +857,7 @@ static void write_ref_frames(const VP10_COMMON *cm, const MACROBLOCKD *xd,
vpx_write(w, bit_bwd, vp10_get_pred_prob_comp_bwdref_p(cm, xd));
vp10_write(w, bit_bwd, vp10_get_pred_prob_comp_bwdref_p(cm, xd));
} else {
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