History

Update sad4d x86 functions

Speed change is marginal.

Linfeng Zhang committed 8 years ago

Commit 39de45d1 parent debd86e2 files · +93 −127Browse files

Showing the changes to test (1 of 2 files). Show all

Unified · Split

test/sad_test.cc+2−2
@@ -85,7 +85,7 @@ class SADTestBase : public ::testing::TestWithParam<ParamType> { · 84 unmodified lines
8585 #endif // CONFIG_VP9_HIGHBITDEPTH
8686 }
8787 mask_ = (1 << bit_depth_) - 1;
88− source_stride_ = (params_.width + 31) & ~31;
88+ source_stride_ = (params_.width + 63) & ~63;
8989 reference_stride_ = params_.width * 2;
9090 rnd_.Reset(ACMRandom::DeterministicSeed());
9191 }
@@ -109,7 +109,7 @@ class SADTestBase : public ::testing::TestWithParam<ParamType> { · 17 unmodified lines
109109
110110 protected:
111111 // Handle blocks up to 4 blocks 64x64 with stride up to 128
112− static const int kDataAlignment = 16;
112+ static const int kDataAlignment = 32;
113113 static const int kDataBlockSize = 64 * 128;
114114 static const int kDataBufferSize = 4 * kDataBlockSize;
115115

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t