From: Marco Paniconi Date: Wed, 13 Mar 2019 22:55:18 +0000 (-0700) Subject: vp9-rtc: Avoid TM intra on big blocks for screen X-Git-Tag: v1.8.1~194^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0ebc986a33942d877cf7b227b3c8c4aedf3b29a2;p=platform%2Fupstream%2Flibvpx.git vp9-rtc: Avoid TM intra on big blocks for screen For screen content real-time mode: don't check TM intra for bsize >= BLOCK_32X32. Small speedup and avoid some artifacts seen in scrolling screen content. Change-Id: I72d7731eeb6ac9ee96e65af522c1a9aabb6dc4ef --- diff --git a/vp9/encoder/vp9_speed_features.c b/vp9/encoder/vp9_speed_features.c index 8c59662..253aae5 100644 --- a/vp9/encoder/vp9_speed_features.c +++ b/vp9/encoder/vp9_speed_features.c @@ -588,7 +588,10 @@ static void set_rt_speed_feature_framesize_independent( int i; if (content == VP9E_CONTENT_SCREEN) { for (i = 0; i < BLOCK_SIZES; ++i) - sf->intra_y_mode_bsize_mask[i] = INTRA_DC_TM_H_V; + if (i >= BLOCK_32X32) + sf->intra_y_mode_bsize_mask[i] = INTRA_DC_H_V; + else + sf->intra_y_mode_bsize_mask[i] = INTRA_DC_TM_H_V; } else { for (i = 0; i < BLOCK_SIZES; ++i) if (i > BLOCK_16X16)