BUG=1029438
Unified · Split
| @@ -2171,6 +2171,8 @@ static void init_ref_frame_bufs(VP9_COMMON *cm) { · 2170 unmodified lines | ||
| 2171 | 2171 | } |
| 2172 | 2172 | } |
| 2173 | 2173 | |
| 2174 | +static void init_motion_estimation(VP9_COMP *cpi); | |
| 2175 | + | |
| 2174 | 2176 | static void update_initial_width(VP9_COMP *cpi, int use_highbitdepth, |
| 2175 | 2177 | int subsampling_x, int subsampling_y) { |
| 2176 | 2178 | VP9_COMMON *const cm = &cpi->common; |
| @@ -2190,7 +2192,8 @@ static void update_initial_width(VP9_COMP *cpi, int use_highbitdepth, · 13 unmodified lines | ||
| 2190 | 2192 | #if CONFIG_VP9_HIGHBITDEPTH |
| 2191 | 2193 | cm->use_highbitdepth = use_highbitdepth; |
| 2192 | 2194 | #endif |
| 2193 | − | |
| 2195 | + alloc_util_frame_buffers(cpi); | |
| 2196 | + init_motion_estimation(cpi); | |
| 2194 | 2197 | cpi->initial_width = cm->width; |
| 2195 | 2198 | cpi->initial_height = cm->height; |
| 2196 | 2199 | cpi->initial_mbs = cm->MBs; |