Commit 9311ef18 authored by Marco's avatar Marco
Browse files

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

Small/neutral change in metrics or speed for ytlive.
Some improvement in quality on frames with big content change.

Change-Id: Ib3b0703a5f28ea6710e90324436e27598ab7384d
parent e095bcce
......@@ -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