Commit 18f77adf authored by Thomas Daede's avatar Thomas Daede
Browse files

Additionally limit upscaled references to <= 720 for profile!=0.

The previous limit was <=1080p, which was sufficient to keep RAM
usage below 3GB for the 8 bit path, but turns out to be insufficient
for the 10 bit path.

Change-Id: I7a19261928a4e1a71f5f297125651113a2465d3d
parent 19234cc2
......@@ -457,6 +457,9 @@ void av1_set_speed_features_framesize_dependent(AV1_COMP *cpi) {
if (AOMMIN(cm->width, cm->height) > 1080) {
sf->use_upsampled_references = 0;
}
if ((AOMMIN(cm->width, cm->height) > 720) && (oxcf->profile != PROFILE_0)) {
sf->use_upsampled_references = 0;
}
if (oxcf->mode == REALTIME) {
set_rt_speed_feature_framesize_dependent(cpi, sf, oxcf->speed);
......
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