Commit 7af6c6c9 authored by Marco Paniconi's avatar Marco Paniconi Committed by Gerrit Code Review
Browse files

Merge "Speed >=5 real-time: add TM intra mode for high_source_sad."

parents d2fb834e 9311ef18
......@@ -507,12 +507,16 @@ static void set_rt_speed_feature_framesize_independent(
for (i = 0; i < BLOCK_SIZES; ++i)
sf->intra_y_mode_bsize_mask[i] = INTRA_DC_TM_H_V;
} else {
for (i = 0; i < BLOCK_SIZES; ++i)
if (i > BLOCK_16X16)
for (i = 0; i < BLOCK_SIZES; ++i) {
if (i > BLOCK_16X16) {
sf->intra_y_mode_bsize_mask[i] = INTRA_DC;
else
// Use H and V intra mode for block sizes <= 16X16.
sf->intra_y_mode_bsize_mask[i] = INTRA_DC_H_V;
} else {
if (cpi->rc.high_source_sad)
sf->intra_y_mode_bsize_mask[i] = INTRA_DC_TM_H_V;
else
sf->intra_y_mode_bsize_mask[i] = INTRA_DC_H_V;
}
}
}
}
if (content == VP9E_CONTENT_SCREEN) {
......
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