Use the VP9 version of extend_borders
authorJohann <johannkoenig@google.com>
Tue, 24 Jun 2014 19:27:08 +0000 (12:27 -0700)
committerJohann <johannkoenig@google.com>
Tue, 24 Jun 2014 19:27:08 +0000 (12:27 -0700)
Change-Id: Ie16f12b4763a45465e130fb39cbb727c08529ac8

vp9/encoder/vp9_encoder.c

index be29201..1962040 100644 (file)
@@ -1364,9 +1364,7 @@ static void scale_and_extend_frame_nonnormative(const YV12_BUFFER_CONFIG *src,
     vp9_resize_plane(srcs[i], src_heights[i], src_widths[i], src_strides[i],
                      dsts[i], dst_heights[i], dst_widths[i], dst_strides[i]);
 
-  // TODO(hkuang): Call C version explicitly
-  // as neon version only expand border size 32.
-  vp8_yv12_extend_frame_borders_c(dst);
+  vp9_extend_frame_borders(dst);
 }
 
 static void scale_and_extend_frame(const YV12_BUFFER_CONFIG *src,
@@ -1406,9 +1404,7 @@ static void scale_and_extend_frame(const YV12_BUFFER_CONFIG *src,
     }
   }
 
-  // TODO(hkuang): Call C version explicitly
-  // as neon version only expand border size 32.
-  vp8_yv12_extend_frame_borders_c(dst);
+  vp9_extend_frame_borders(dst);
 }
 
 #define WRITE_RECON_BUFFER 0