Commit ba33d4ce authored by Zoe Liu's avatar Zoe Liu
Browse files

Remove unused code for comp ref setup

Change-Id: I40232b965ba28b4dcef7ebfe8697679f6b0ffc96
parent c67d98c6
......@@ -3941,15 +3941,6 @@ void av1_encode_frame(AV1_COMP *cpi) {
#endif
cpi->allow_comp_inter_inter = av1_is_compound_reference_allowed(cm);
if (cpi->allow_comp_inter_inter) {
cm->comp_fwd_ref[0] = LAST_FRAME;
cm->comp_fwd_ref[1] = LAST2_FRAME;
cm->comp_fwd_ref[2] = LAST3_FRAME;
cm->comp_fwd_ref[3] = GOLDEN_FRAME;
cm->comp_bwd_ref[0] = BWDREF_FRAME;
cm->comp_bwd_ref[1] = ALTREF2_FRAME;
cm->comp_bwd_ref[2] = ALTREF_FRAME;
}
if (cpi->sf.frame_parameter_update) {
int i;
......
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