ref: 1533bd84f12e5b24b5c2e41d1729942c7aa218ad
parent: 30fc1a814de999e8f470b0e172d40dc3ba3c3ce6
parent: 0ebc986a33942d877cf7b227b3c8c4aedf3b29a2
author: Marco Paniconi <marpan@google.com>
date: Wed Mar 13 21:59:49 EDT 2019
Merge "vp9-rtc: Avoid TM intra on big blocks for screen"
--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -588,7 +588,10 @@
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)