Speed change is marginal.
Showing the changes to test (1 of 2 files). Show all
Unified · Split
| @@ -85,7 +85,7 @@ class SADTestBase : public ::testing::TestWithParam<ParamType> { · 84 unmodified lines | |||
| 85 | #endif // CONFIG_VP9_HIGHBITDEPTH | 85 | #endif // CONFIG_VP9_HIGHBITDEPTH |
| 86 | } | 86 | } |
| 87 | mask_ = (1 << bit_depth_) - 1; | 87 | mask_ = (1 << bit_depth_) - 1; |
| 88 | source_stride_ = (params_.width + 31) & ~31; | 88 | source_stride_ = (params_.width + 63) & ~63; |
| 89 | reference_stride_ = params_.width * 2; | 89 | reference_stride_ = params_.width * 2; |
| 90 | rnd_.Reset(ACMRandom::DeterministicSeed()); | 90 | rnd_.Reset(ACMRandom::DeterministicSeed()); |
| 91 | } | 91 | } |
| @@ -109,7 +109,7 @@ class SADTestBase : public ::testing::TestWithParam<ParamType> { · 17 unmodified lines | |||
| 109 | 109 | ||
| 110 | protected: | 110 | protected: |
| 111 | // Handle blocks up to 4 blocks 64x64 with stride up to 128 | 111 | // Handle blocks up to 4 blocks 64x64 with stride up to 128 |
| 112 | static const int kDataAlignment = 16; | 112 | static const int kDataAlignment = 32; |
| 113 | static const int kDataBlockSize = 64 * 128; | 113 | static const int kDataBlockSize = 64 * 128; |
| 114 | static const int kDataBufferSize = 4 * kDataBlockSize; | 114 | static const int kDataBufferSize = 4 * kDataBlockSize; |
| 115 | 115 | ||