From: hkuang Date: Thu, 10 Apr 2014 20:54:21 +0000 (-0700) Subject: Fix the VP9 encoding unit test failure on ARM. X-Git-Tag: v1.4.0~1817^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=31c7a9b1746fde987fb6bc2b887a23796a619978;p=libvpx Fix the VP9 encoding unit test failure on ARM. The cause is because VP9 encoding use vp8_vpxyv12_extendframeborders_neon on arm which only extend boarder size 32. But VP9's border size is 160 Change-Id: I1ff7e945344a658af862beb1197925e677e8ff57 --- diff --git a/vp9/encoder/vp9_onyx_if.c b/vp9/encoder/vp9_onyx_if.c index 0ac9d5f05..ec03381fb 100644 --- a/vp9/encoder/vp9_onyx_if.c +++ b/vp9/encoder/vp9_onyx_if.c @@ -1787,7 +1787,9 @@ static void scale_and_extend_frame_nonnormative(YV12_BUFFER_CONFIG *src_fb, dsts[i], out_h_uv, out_w_uv, dst_strides[i]); } } - vp8_yv12_extend_frame_borders(dst_fb); + // TODO(hkuang): Call C version explicitly + // as neon version only expand border size 32. + vp8_yv12_extend_frame_borders_c(dst_fb); } static void scale_and_extend_frame(YV12_BUFFER_CONFIG *src_fb, @@ -1828,7 +1830,9 @@ static void scale_and_extend_frame(YV12_BUFFER_CONFIG *src_fb, } } - vp8_yv12_extend_frame_borders(dst_fb); + // TODO(hkuang): Call C version explicitly + // as neon version only expand border size 32. + vp8_yv12_extend_frame_borders_c(dst_fb); } static int find_fp_qindex() {