Commit df2314cf authored by Jim Bankoski's avatar Jim Bankoski Committed by Gerrit Code Review
Browse files

don't copy partitions for key frames or altrefs

force us to go through slow partitioning for keyframes, altref and
overlays.

Change-Id: I1a286361bf74083e71973575a7296be46eb98742
parent f954490b
......@@ -1405,8 +1405,9 @@ static void encode_sb_row(VP9_COMP *cpi, int mi_row,
MODE_INFO *m = cm->mi + idx_str;
MODE_INFO *p = cm->prev_mi + idx_str;
if ((cpi->common.current_video_frame & 1) == 0 || cm->prev_mi == 0 ||
cpi->is_src_frame_alt_ref) {
if ((cpi->common.current_video_frame & 1) == 0 || cm->prev_mi == 0
|| cpi->common.show_frame == 0 || cpi->common.frame_type == KEY_FRAME
|| cpi->is_src_frame_alt_ref) {
rd_pick_partition(cpi, tp, mi_row, mi_col, BLOCK_SIZE_SB64X64,
&dummy_rate, &dummy_dist);
} 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