Commit ff9395eb authored by Marco's avatar Marco

vp9: Speed >= 8: Modify condition for low-resoln.

No change on RTC metrics.

Change-Id: I5abc573cb56572188d900645d13ba479f55a1ea0
parent b5055002
......@@ -578,7 +578,7 @@ static void set_rt_speed_feature_framesize_independent(
if (content == VP9E_CONTENT_SCREEN)
sf->mv.subpel_force_stop = 3;
else if (cm->width > 352 && cm->height > 288)
else if (cm->width * cm->height > 352 * 288)
sf->mv.subpel_force_stop = 2;
if (content == VP9E_CONTENT_SCREEN) sf->lpf_pick = LPF_PICK_MINIMAL_LPF;
......@@ -602,7 +602,7 @@ static void set_rt_speed_feature_framesize_independent(
}
// Since the short_circuit_low_temp_var is used, reduce the
// adaptive_rd_thresh level.
if (cm->width > 352 && cm->height > 288)
if (cm->width * cm->height > 352 * 288)
sf->adaptive_rd_thresh = 1;
else
sf->adaptive_rd_thresh = 2;
......
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