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
This commit is contained in:
parent
35c18baa26
commit
31c7a9b174
@ -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]);
|
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,
|
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() {
|
static int find_fp_qindex() {
|
||||||
|
Loading…
Reference in New Issue
Block a user