Commit 0b90540e authored by Urvang Joshi's avatar Urvang Joshi
Browse files

FRAME_SUPERRES bugfix

encode_width was used where encode_height should have been used.

Change-Id: I722c8e80f95366e9d07aacddc729fe30d3f5af48
parent 3bc237eb
......@@ -4002,7 +4002,7 @@ static void setup_frame_size(AV1_COMP *cpi) {
cm->superres_upscaled_width = encode_width;
cm->superres_upscaled_height = encode_height;
cm->superres_scale_numerator =
av1_calculate_next_superres_scale(cpi, encode_width, encode_width);
av1_calculate_next_superres_scale(cpi, encode_width, encode_height);
av1_calculate_scaled_size(&encode_width, &encode_height,
cm->superres_scale_numerator);
#endif // CONFIG_FRAME_SUPERRES
......
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