ref: 2678aefc4820162aecf17348a6cfde4b3650383f
parent: 51aad61c8c37062ba413b6a4c7fd3b0e109d6d96
author: JackyChen <jackychen@google.com>
date: Wed Jul 6 06:57:15 EDT 2016
vp9: Choose the scheme for modeling rd for 32x32 based on skin color. For real time CBR mode, use model_rd_for_sb_y for 32x32 if the sb is a skin sb to avoid visual regression on the slowly moving face. Refer to the cl: https://chromium-review.googlesource.com/#/c/356020/ Change-Id: I42c36666b2b474ce5ee274239d52ae8ab400fd46
--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -1744,8 +1744,8 @@
#if CONFIG_VP9_HIGHBITDEPTH
const int large_block = bsize > BLOCK_32X32;
#else
- const int large_block = (this_mode == NEWMV && ref_frame == LAST_FRAME) ?
- bsize > BLOCK_32X32 : bsize >= BLOCK_32X32;
+ const int large_block =
+ x->sb_is_skin ? bsize > BLOCK_32X32 : bsize >= BLOCK_32X32;
#endif
mi->interp_filter = (filter_ref == SWITCHABLE) ? EIGHTTAP : filter_ref;
vp9_build_inter_predictors_sby(xd, mi_row, mi_col, bsize);