ref: d2a5e26359bec7fd4137e9cd005ff39375afb41c
parent: 2ba45e82912cadbf8a0931ea2e819772e7cb4730
author: Jerome Jiang <[email protected]>
date: Mon Dec 2 07:20:17 EST 2019
Fix SVC regression in webrtc tests. BUG=1029438 Change-Id: I4495fc7bb45e77e9d91059a5c6c4695d8da1bf34
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -2171,6 +2171,8 @@
}
}
+static void init_motion_estimation(VP9_COMP *cpi);
+
static void update_initial_width(VP9_COMP *cpi, int use_highbitdepth,
int subsampling_x, int subsampling_y) {
VP9_COMMON *const cm = &cpi->common;
@@ -2190,7 +2192,8 @@
#if CONFIG_VP9_HIGHBITDEPTH
cm->use_highbitdepth = use_highbitdepth;
#endif
-
+ alloc_util_frame_buffers(cpi);
+ init_motion_estimation(cpi);
cpi->initial_width = cm->width;
cpi->initial_height = cm->height;
cpi->initial_mbs = cm->MBs;