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 | static void update_initial_width(VP9_COMP *cpi, int use_highbitdepth, | 2176 | static void update_initial_width(VP9_COMP *cpi, int use_highbitdepth, |
| 2175 | int subsampling_x, int subsampling_y) { | 2177 | int subsampling_x, int subsampling_y) { |
| 2176 | VP9_COMMON *const cm = &cpi->common; | 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 | #if CONFIG_VP9_HIGHBITDEPTH | 2192 | #if CONFIG_VP9_HIGHBITDEPTH |
| 2191 | cm->use_highbitdepth = use_highbitdepth; | 2193 | cm->use_highbitdepth = use_highbitdepth; |
| 2192 | #endif | 2194 | #endif |
| 2193 | 2195 | alloc_util_frame_buffers(cpi); | |
| 2196 | init_motion_estimation(cpi); | ||
| 2194 | cpi->initial_width = cm->width; | 2197 | cpi->initial_width = cm->width; |
| 2195 | cpi->initial_height = cm->height; | 2198 | cpi->initial_height = cm->height; |
| 2196 | cpi->initial_mbs = cm->MBs; | 2199 | cpi->initial_mbs = cm->MBs; |