Commit 2830fd9f authored by Jingning Han's avatar Jingning Han

Check error resilient flag for use_ref_frame_mvs

BUG=aomedia:1209

Change-Id: If4ba99d6784c55768af57cac2b197db62ea2317e
parent 7ed89449
......@@ -5912,8 +5912,9 @@ static void encode_frame_to_data_rate(AV1_COMP *cpi, size_t *size,
cm->cur_frame->intra_only = cm->frame_type == KEY_FRAME || cm->intra_only;
#endif // CONFIG_TEMPMV_SIGNALING || CONFIG_FWD_KF
#if CONFIG_TEMPMV_SIGNALING
cm->use_ref_frame_mvs =
!cpi->oxcf.disable_tempmv && !cm->cur_frame->intra_only;
cm->use_ref_frame_mvs = !cpi->oxcf.disable_tempmv &&
!cm->cur_frame->intra_only &&
frame_might_use_prev_frame_mvs(cm);
cm->use_prev_frame_mvs = cm->use_ref_frame_mvs;
#endif // CONFIG_TEMPMV_SIGNALING
......
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