Address comments related to sf reuse_best_prediction_for_part_ab Modified the comments related to usage of 'use_mb_mode_cache' for better readability. In rd_pick_filter_intra_sby(), modified the condition to check 'use_filter_intra' as boolean. BUG=aomedia:2959 Change-Id: I4d5229d992758b199ec1609175081dee2757cf80
diff --git a/av1/encoder/intra_mode_search.c b/av1/encoder/intra_mode_search.c index 875e99e..0fddd65 100644 --- a/av1/encoder/intra_mode_search.c +++ b/av1/encoder/intra_mode_search.c
@@ -143,7 +143,7 @@ // Skip the evaluation of filter-intra if cached MB_MODE_INFO does not have // filter-intra as winner. if (x->use_mb_mode_cache && - x->mb_mode_cache->filter_intra_mode_info.use_filter_intra == 0) + !x->mb_mode_cache->filter_intra_mode_info.use_filter_intra) return 0; for (mode = 0; mode < FILTER_INTRA_MODES; ++mode) { @@ -151,8 +151,8 @@ RD_STATS tokenonly_rd_stats; mbmi->filter_intra_mode_info.filter_intra_mode = mode; - // Skip the evaluation of modes, which are not matching with the winner mode - // in x->mb_mode_cache. + // Skip the evaluation of modes that do not match with the winner mode in + // x->mb_mode_cache. if (x->use_mb_mode_cache && mode != x->mb_mode_cache->filter_intra_mode_info.filter_intra_mode) continue; @@ -1154,8 +1154,8 @@ continue; mbmi->angle_delta[PLANE_TYPE_Y] = 0; - // Skip the evaluation of modes, which are not matching with the winner mode - // in x->mb_mode_cache. + // Skip the evaluation of modes that do not match with the winner mode in + // x->mb_mode_cache. if (x->use_mb_mode_cache && mbmi->mode != x->mb_mode_cache->mode) continue; is_directional_mode = av1_is_directional_mode(mbmi->mode);