ref: 2806ea91f5ba28baea31fd7858a54e5f5289590b
parent: 832e4f3c6dbab566cd2b20a81910fa12b0635ceb
parent: b957439c872638de9484edcac85e604d8c2d3a3c
author: Jingning Han <[email protected]>
date: Mon Jul 14 13:25:43 EDT 2014
Merge "Fix a potential invalid memory access in non-RD coding flow"
--- a/test/cpu_speed_test.cc
+++ b/test/cpu_speed_test.cc
@@ -139,5 +139,5 @@
CpuSpeedTest,
::testing::Values(::libvpx_test::kTwoPassGood, ::libvpx_test::kOnePassGood,
::libvpx_test::kRealTime),
- ::testing::Range(0, 8));
+ ::testing::Range(0, 9));
} // namespace
--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -679,7 +679,7 @@
int rate2 = 0;
int64_t dist2 = 0;
- const int dst_stride = pd->dst.stride;
+ const int dst_stride = cpi->sf.reuse_inter_pred_sby ? bw : pd->dst.stride;
const int src_stride = p->src.stride;
int block_idx = 0;
--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -296,6 +296,7 @@
}
if (speed >= 8) {
int i;
+ sf->max_intra_bsize = BLOCK_32X32;
for (i = 0; i < BLOCK_SIZES; ++i)
sf->inter_mode_mask[i] = INTER_NEAREST;
}