Commit 49705df3 authored by Jingning Han's avatar Jingning Han

Condidtionally drop projection from the alt2 frame

Change-Id: I3ac81379669678254672f125df281980b687e16e
parent dd4f0fa5
...@@ -1931,7 +1931,10 @@ void av1_setup_motion_field(AV1_COMMON *cm) { ...@@ -1931,7 +1931,10 @@ void av1_setup_motion_field(AV1_COMMON *cm) {
} }
motion_field_projection(cm, ALTREF_FRAME); motion_field_projection(cm, ALTREF_FRAME);
motion_field_projection(cm, ALTREF2_FRAME);
if (alt2_frame_index > cur_frame_index)
motion_field_projection(cm, ALTREF2_FRAME);
motion_field_projection(cm, BWDREF_FRAME); motion_field_projection(cm, BWDREF_FRAME);
} }
#endif // CONFIG_MFMV #endif // CONFIG_MFMV
......
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