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
85#endif // CONFIG_VP9_HIGHBITDEPTH85#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 128111 // 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

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