Commit f67e5eec authored by Yaowu Xu's avatar Yaowu Xu Committed by Gerrit Code Review
Browse files

Merge "Disable upsampled references for resolutions above 1080p." into nextgenv2

parents fb77385f a9e96d40
......@@ -69,6 +69,11 @@ static void set_good_speed_feature_framesize_dependent(AV1_COMP *cpi,
int speed) {
AV1_COMMON *const cm = &cpi->common;
// Limit memory usage for high resolutions
if (AOMMIN(cm->width, cm->height) > 1080) {
sf->use_upsampled_references = 0;
}
if (speed >= 1) {
if (AOMMIN(cm->width, cm->height) >= 720) {
sf->disable_split_mask =
......
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