summaryrefslogtreecommitdiffstats
path: root/libvpx/vp9/common/vp9_reconintra.c
diff options
context:
space:
mode:
authorhkuang <hkuang@google.com>2014-04-09 14:20:00 -0700
committerhkuang <hkuang@google.com>2014-04-09 14:20:00 -0700
commit6ac915abcdb404a00d927fe6308a47fcf09d9519 (patch)
treee1b38724c6741b657c04a788d42226d5f69d5c3d /libvpx/vp9/common/vp9_reconintra.c
parentcf2f478820e07635bb013420f0498ab685190718 (diff)
downloadandroid_external_libvpx-6ac915abcdb404a00d927fe6308a47fcf09d9519.tar.gz
android_external_libvpx-6ac915abcdb404a00d927fe6308a47fcf09d9519.tar.bz2
android_external_libvpx-6ac915abcdb404a00d927fe6308a47fcf09d9519.zip
Roll latest libvpx to fix hang when doing adaptive playback.
VP9 decoder will hang when switching from frames with 2 tiles to 4 tiles on a 4 core device. libvpx hash:4fffefe189a9123d4b04482c26a1be5eb632b397 Bug: 13931133 Change-Id: I24a51fd572ca7e872bc440491e2c645a20e9a736
Diffstat (limited to 'libvpx/vp9/common/vp9_reconintra.c')
-rw-r--r--libvpx/vp9/common/vp9_reconintra.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvpx/vp9/common/vp9_reconintra.c b/libvpx/vp9/common/vp9_reconintra.c
index 915c1c1..44951b5 100644
--- a/libvpx/vp9/common/vp9_reconintra.c
+++ b/libvpx/vp9/common/vp9_reconintra.c
@@ -347,6 +347,8 @@ static void build_intra_predictors(const MACROBLOCKD *xd, const uint8_t *ref,
x0 = (-xd->mb_to_left_edge >> (3 + pd->subsampling_x)) + x;
y0 = (-xd->mb_to_top_edge >> (3 + pd->subsampling_y)) + y;
+ vpx_memset(left_col, 129, 64);
+
// left
if (left_available) {
if (xd->mb_to_bottom_edge < 0) {
@@ -366,8 +368,6 @@ static void build_intra_predictors(const MACROBLOCKD *xd, const uint8_t *ref,
for (i = 0; i < bs; ++i)
left_col[i] = ref[i * ref_stride - 1];
}
- } else {
- vpx_memset(left_col, 129, bs);
}
// TODO(hkuang) do not extend 2*bs pixels for all modes.