diff options
author | hkuang <hkuang@google.com> | 2014-04-10 13:54:21 -0700 |
---|---|---|
committer | hkuang <hkuang@google.com> | 2014-04-10 17:37:48 -0700 |
commit | 31c7a9b1746fde987fb6bc2b887a23796a619978 (patch) | |
tree | 7d07d9cb6995ac8b7349715c85d2462b5f913c6a | |
parent | 35c18baa266550c7c07bd4330d82db9fc7962ec5 (diff) | |
download | libvpx-31c7a9b1746fde987fb6bc2b887a23796a619978.tar libvpx-31c7a9b1746fde987fb6bc2b887a23796a619978.tar.gz libvpx-31c7a9b1746fde987fb6bc2b887a23796a619978.tar.bz2 libvpx-31c7a9b1746fde987fb6bc2b887a23796a619978.zip |
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
-rw-r--r-- | vp9/encoder/vp9_onyx_if.c | 8 |
1 files changed, 6 insertions, 2 deletions
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() { |