]> granicus.if.org Git - libvpx/commitdiff
Remove extra function calls in check_initial_width
authorangiebird <angiebird@google.com>
Wed, 30 Oct 2019 21:40:53 +0000 (14:40 -0700)
committerangiebird <angiebird@google.com>
Wed, 30 Oct 2019 21:40:53 +0000 (14:40 -0700)
These function are already called in set_frame_size()

Change-Id: I71c1f906fa4deef7bc630dcff1506f5b57c6d045

vp9/encoder/vp9_encoder.c

index 3ef988cef3f2162a71e63e882c6ae9385981bd68..5ecc83229d998b079741143f2f79074b9cb91ea1 100644 (file)
@@ -5335,9 +5335,6 @@ static void check_initial_width(VP9_COMP *cpi,
 #endif
 
     alloc_raw_frame_buffers(cpi);
-    alloc_util_frame_buffers(cpi);
-
-    init_motion_estimation(cpi);  // TODO(agrange) This can be removed.
 
     cpi->initial_width = cm->width;
     cpi->initial_height = cm->height;